# After 1.7.3, could not download registries (getaddrinfo() thread failed to start)

**URL:** https://discourse.julialang.org/t/after-1-7-3-could-not-download-registries-getaddrinfo-thread-failed-to-start/81731
**Category:** General Usage
**Created:** [May 25, 2022, 10:27pm UTC](https://discourse.julialang.org/t/after-1-7-3-could-not-download-registries-getaddrinfo-thread-failed-to-start/81731 "2022-05-25T22:27:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Audrius-St](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/audrius-st/32/24175_2.png) [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)
#### Post date: [May 25, 2022, 10:27pm UTC](https://discourse.julialang.org/t/after-1-7-3-could-not-download-registries-getaddrinfo-thread-failed-to-start/81731/1 "2022-05-25T22:27:06Z")

</div>

Upgraded to Julia 1.7.3.  
Thanks to all involved for the new release.

Afterwards

```julia
julia> using Pkg
julia> Pkg.update()
    Updating registry at `C:\Users\Audrius-St\.julia\registries\General.toml`
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = getaddrinfo() thread failed to start while requesting https://pkg.julialang.org/registries

```

No idea if this is related to the new release, but have not encountered this error message previously.

> julia\> using Downloads
> 
> julia\> request(“[https://pkg.julialang.org/registries](https://pkg.julialang.org/registries)”)  
> ERROR: getaddrinfo() thread failed to start while requesting [https://pkg.julialang.org/registries](https://pkg.julialang.org/registries)  
> Stacktrace:  
> [1] (::Downloads.var"#9#18"{Base.DevNull, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool})(easy::Downloads.Curl.Easy)  
> @ Downloads C:\Users\Audrius-St\AppData\Local\Programs\Julia-1.7.3\share\julia\stdlib\v1.7\Downloads\src\Downloads.jl:387  
> [2] with\_handle(f::Downloads.var"#9#18"{Base.DevNull, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool}, handle::Downloads.Curl.Easy)  
> @ Downloads.Curl C:\Users\Audrius-St\AppData\Local\Programs\Julia-1.7.3\share\julia\stdlib\v1.7\Downloads\src\Curl\Curl.jl:88  
> [3] #8  
> @ C:\Users\Audrius-St\AppData\Local\Programs\Julia-1.7.3\share\julia\stdlib\v1.7\Downloads\src\Downloads.jl:328 [inlined]  
> [4] arg\_write(f::Downloads.var"#8#17"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool}, arg::Base.DevNull)  
> @ ArgTools C:\Users\Audrius-St\AppData\Local\Programs\Julia-1.7.3\share\julia\stdlib\v1.7\ArgTools\src\ArgTools.jl:112  
> [5] #7  
> @ C:\Users\Audrius-St\AppData\Local\Programs\Julia-1.7.3\share\julia\stdlib\v1.7\Downloads\src\Downloads.jl:327 [inlined]  
> [6] arg\_read  
> @ C:\Users\Audrius-St\AppData\Local\Programs\Julia-1.7.3\share\julia\stdlib\v1.7\ArgTools\src\ArgTools.jl:61 [inlined]  
> [7] request(url::String; input::Nothing, output::Nothing, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, debug::Nothing, throw::Bool, downloader::Nothing)  
> @ Downloads C:\Users\Audrius-St\AppData\Local\Programs\Julia-1.7.3\share\julia\stdlib\v1.7\Downloads\src\Downloads.jl:326  
> [8] request(url::String)  
> @ Downloads C:\Users\Audrius-St\AppData\Local\Programs\Julia-1.7.3\share\julia\stdlib\v1.7\Downloads\src\Downloads.jl:306  
> [9] top-level scope  
> @ REPL[4]:1

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [May 26, 2022, 5:47am UTC](https://discourse.julialang.org/t/after-1-7-3-could-not-download-registries-getaddrinfo-thread-failed-to-start/81731/2 "2022-05-26T05:47:59Z")

</div>

> [@Audrius-St](#):
>
> No idea if this is related to the new release, but have not encountered this error message previously.

There was a bump to the Downloads standard library version that was intended to fix certain threading problems. It is possible some regression sneaked in. Could you please open an issue with as many details as possible.

---

<div class="post-metadata">

### Author: ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)
#### Post date: [May 26, 2022, 2:28pm UTC](https://discourse.julialang.org/t/after-1-7-3-could-not-download-registries-getaddrinfo-thread-failed-to-start/81731/3 "2022-05-26T14:28:37Z")

</div>

That looks like an issue with libuv, which internally uses a dedicated thread for DNS lookups in order to avoid blocking since getaddrinfo is one of the few C APIs that has no non-blocking alternative. Looks like libuv is unable to start that thread for some reason. That inability could be related to the Downloads bump, but it’s hard to see how.

---

<div class="post-metadata">

### Author: ![Audrius-St](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/audrius-st/32/24175_2.png) [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)
#### Post date: [May 26, 2022, 4:50pm UTC](https://discourse.julialang.org/t/after-1-7-3-could-not-download-registries-getaddrinfo-thread-failed-to-start/81731/4 "2022-05-26T16:50:04Z")

</div>

As this issue persists, have opened an issue as requested.

[https://github.com/JuliaLang/julia/issues/45465](https://github.com/JuliaLang/julia/issues/45465)
