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

**URL:** <https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342>\
**Category:** General Usage\
**Created:** [December 30, 2022, 11:37pm UTC](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342 "2022-12-30T23:37:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [December 30, 2022, 11:37pm UTC](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342/1 "2022-12-30T23:37:43Z")

</div>

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

```julia
(@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.

```julia
$ 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:

```julia
$ 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 * * *

```

---

<div class="post-metadata">

**Author:** ![proudindiv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/proudindiv/32/5000_2.png) [@proudindiv](https://discourse.julialang.org/u/proudindiv)\
**Post date:** [December 30, 2022, 11:51pm UTC](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342/2 "2022-12-30T23:51:26Z")

</div>

I’m getting the same thing:

```julia
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`

```

---

<div class="post-metadata">

**Author:** ![caleb-allen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/caleb-allen/32/14054_2.png) [@caleb-allen](https://discourse.julialang.org/u/caleb-allen)\
**Post date:** [December 31, 2022, 1:26am UTC](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342/3 "2022-12-31T01:26:41Z")

</div>

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](https://pkg.julialang.org/registries)

[Restore history, add `C` command. Fixes #27, #28 · caleb-allen/VimBindings.jl@08ed480 · GitHub](https://github.com/caleb-allen/VimBindings.jl/actions/runs/3809959766)

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [December 31, 2022, 9:10am UTC](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342/4 "2022-12-31T09:10:17Z")

</div>

The error persists 😕

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

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [December 31, 2022, 10:24am UTC](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342/5 "2022-12-31T10:24:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![proudindiv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/proudindiv/32/5000_2.png) [@proudindiv](https://discourse.julialang.org/u/proudindiv)\
**Post date:** [December 31, 2022, 5:38pm UTC](https://discourse.julialang.org/t/requesterror-http-2-502-while-requesting-https-pkg-julialang-org-registries/92342/6 "2022-12-31T17:38:42Z")

</div>

> [@proudindiv](#):
>
> `Registry.jl`

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