RequestError: HTTP/2 502 while requesting https://pkg.julialang.org/registries

The general registry suddenly seems to be down. (This is Nightly Julia, but the same thing happens with 1.8.)

(@v1.10) pkg> up
┌ Warning: could not download https://pkg.julialang.org/registries
│   exception = RequestError: HTTP/2 502 while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry ~/tmp/julia-a8adb3938b/share/julia/stdlib/v1.10/Pkg/src/Registry/Registry.jl:69
    Updating registry at `~/.julia/registries/General.toml`
  No Changes to `~/.julia/environments/v1.10/Project.toml`
  No Changes to `~/.julia/environments/v1.10/Manifest.toml`

ICMP works fine, though.

$ ping pkg.julialang.org
PING dualstack.k3.shared.global.fastly.net (199.232.18.217) 56(84) bytes of data.
64 bytes from 199.232.18.217 (199.232.18.217): icmp_seq=1 ttl=55 time=21.7 ms
64 bytes from 199.232.18.217 (199.232.18.217): icmp_seq=2 ttl=55 time=20.3 ms
64 bytes from 199.232.18.217 (199.232.18.217): icmp_seq=3 ttl=55 time=21.0 ms
64 bytes from 199.232.18.217 (199.232.18.217): icmp_seq=4 ttl=55 time=19.8 ms

I forgot what this result implies, maybe someone else knows:

$ traceroute pkg.julialang.org
traceroute to pkg.julialang.org (199.232.18.217), 30 hops max, 60 byte packets
 1  _gateway (192.168.70.3)  2.368 ms  2.314 ms  2.288 ms
 2  192.168.0.1 (192.168.0.1)  5.205 ms  5.333 ms  5.436 ms
 3  cpe-94-253-152-1.zg.cable.xnet.hr (94.253.152.1)  10.440 ms  10.423 ms  17.285 ms
 4  dh70-61.xnet.hr (83.139.70.61)  17.654 ms  20.114 ms  20.095 ms
 5  195.3.114.229 (195.3.114.229)  27.028 ms  27.012 ms  26.995 ms
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
2 Likes

I’m getting the same thing:

Activating project at `~/local/notebooks/FREDMD`
┌ Warning: could not download https://pkg.julialang.org/registries
│   exception = HTTP/2 502 while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry /cache/build/default-aws-shared0-3/julialang/julia-release-1-dot-8/usr/share/julia/stdlib/v1.8/Pkg/src/Registry/Registry.jl:68
    Updating registry at `~/.julia/registries/General.toml`
  No Changes to `~/local/notebooks/FREDMD/Project.toml`
  No Changes to `~/local/notebooks/FREDMD/Manifest.toml`
1 Like

I’m also seeing this on a CI run for a library I work on

I can also see in my browser that this URL is returning a 502 https://pkg.julialang.org/registries

Restore history, add `C` command. Fixes #27, #28 · caleb-allen/VimBindings.jl@08ed480 · GitHub

1 Like

The error persists :confused:

Switching from WiFi to 4G doesn’t fix this, which suggests this affects everyone in my region in Europe, I guess.

https://status.julialang.org/ agrees that there is a major problem with package servers globally.

5 Likes

It just started working for me, thanks to whoever resolved the issue.

4 Likes