Unable to download remote sources with OSC


osc co home:licehunter:branches:Application:Geo postgis
cd home:licehunter:branches:Application:Geo/postgis
osc build


Building postgis.spec for openSUSE_Leap_15.2/x86_64
Run source service: /usr/lib/obs/service/download_files --outdir /home/licehunter/Development/osc/home:licehunter:branches:Application:Geo/postgis/tmpgp5dewmq.download_files.service
ERROR: Failed to download "https://download.osgeo.org/postgis/source/postgis-3.1.1.tar.gz"
Aborting: service call failed:  /usr/lib/obs/service/download_files --outdir /home/licehunter/Development/osc/home:licehunter:branches:Application:Geo/postgis/tmpgp5dewmq.download_files.service
Source service run failed!

Why?

OBS build servers aren’t connected to the internet, so it is impossible to download anything and process it during build. You need to download the tarball on your machine and add it to your package with ‘osc add’.

Hi, thanks. This was on my local machine though, which is connected to the internet.