Just a note: alpinelinux.org is offline !
dl-cdn.alpinelinux.org works, but has problems actually downloading anything.
I use dl-4.alpinelinux.org as a mirror, but it's not the best solution for us.
This should now be resolved. https://status.fastly.com/incidents/0523znjnppc4
https://pkgs.alpinelinux.org/ seems offline, too
UPDATE: download working now.
_I was_ I'm still having issues downloading from dl-cdn.alpinelinux.org. Docker was hanging at the initial alpine fetch (fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz), but then I restarted my docker machine, and now the download errors actually show:
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/main: temporary error (try again later)
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz: temporary error (try again later)
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/community: temporary error (try again later)
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz: temporary error (try again later)
Of course, visiting these URLs via browser download them without an issue.
Same issue
I'm sitting behind a proxy, and have added proxy exports in /etc/default/dock
now stuck at
fetch http://dl-cdn.alpinelinux.org/alpine/v3.3/main/x86_64/APKINDEX.tar.gz
I have same problem:
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.5/community: temporary error (try again later)
And:
nslookup dl-cdn.alpinelinux.org
nslookup: can't resolve '(null)': Name does not resolve
Same problem since two days ago.
Alpine 3.4
Running as root (inside a docker container)
/ # apk --no-cache add gnupg
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz: temporary error (try again later)
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz: temporary error (try again later)
ERROR: unsatisfiable constraints:
gnupg (missing):
required by: world[gnupg]
Using the dl-4 mirror results in the same problem
# apk --no-cache add gnupg
fetch http://dl-4.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-4.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz: temporary error (try again later)
fetch http://dl-4.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-4.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz: temporary error (try again later)
ERROR: unsatisfiable constraints:
gnupg (missing):
required by: world[gnupg]
@gittycat can you nslookup dl-cdn.alpinelinux.org?
@ncopa
/ # nslookup dl-cdn.alpinelinux.org
nslookup: can't resolve '(null)': Name does not resolve
nslookup dl-cdn.alpinelinux.org nslookup: can't resolve '(null)': Name does not resolve
This means DNS resolution is not working. Your network setup is broken somehow.
@ncopa It is indeed the problem. The container didn't have an internet facing network interface. Thanks a lot for your help.
I fixed it in my docker container using --network=host
This issue is occurring for me as well. It appears intermittent. I sometimes get a 503 when running a wget on http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz or http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz sometimes I can pull the file down on my local. This is failing in a jenkins job for a docker setup. Getting fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz: temporary error (try again later)
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz: temporary error (try again later) and then if I wait a few minutes it might work. I also went to http://dl-cdn.alpinelinux.org/alpine and then when I open version# into a new tab, sometimes the link opens and other times 503 timeout errors.

I'm getting this too:
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.5/main: temporary error (try again later)
WARNING: Ignoring APKINDEX.c51f8f92.tar.gz: No such file or directory
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.5/community: temporary error (try again later)
WARNING: Ignoring APKINDEX.d09172fd.tar.gz: No such file or directory
ERROR: unsatisfiable constraints:
drill (missing):
required by: world[drill]
Just a repo glitch?
Hitting it manually with browser gives:
Error 503 first byte timeout
first byte timeout
Guru Mediation:
Details: cache-lcy1134-LCY 1489612432 1346296102
yes, temporary glitch in the fastly service. https://status.fastly.com
thinks, this helps a lot!!^^
I'm hitting this too.
Hangs on fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
Most helpful comment
This means DNS resolution is not working. Your network setup is broken somehow.