Downloads.jl: Error: curl_easy_setopt: 48

On one of the supercomputers that I use I get:

(@v1.6) pkg> add BenchmarkTools
  Installing known registries into `/p/project/chku27/hku273/.julia`
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
       Added registry `General` to `/p/project/chku27/hku273/.julia/registries/General`
   Resolving package versions...
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
   Installed BenchmarkTools ─ v0.6.0
   Installed Parsers ──────── v1.1.0
   Installed JSON ─────────── v0.21.1
    Updating `/p/project/chku27/hku273/.julia/environments/v1.6/Project.toml`
  [6e4b80f9] + BenchmarkTools v0.6.0
    Updating `/p/project/chku27/hku273/.julia/environments/v1.6/Manifest.toml`
  [6e4b80f9] + BenchmarkTools v0.6.0
  [682c06a0] + JSON v0.21.1
  [69de0a69] + Parsers v1.1.0
  Progress [========================================>]  3/3
3 dependencies successfully precompiled in 6 seconds (9 already precompiled)

(@v1.6) pkg>

It works in the end but it doesn’t look good :slight_smile: Should I file an issue over at Downloads.jl?

4 Likes

I face the same issue when I am trying to add a package in the HPC. The difference is that in my case it doesn’t work. Is there a solution?

same issue on an M1 Max

2 Likes

Same issue when I upgraded my MacOS from 11 to 12.0.1.

This is not the same issue, this is https://github.com/JuliaLang/Downloads.jl/issues/149 (which should be fixed on Julia master).

1 Like

Sorry, I also got the error

┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36

Which seems the same as the title. Sorry for not looking into the details.

Me, three…

MacOs Monterey, M1 chip

https://stackoverflow.com/questions/69931160/error-curl-easy-setopt-48-downloads-curl

1 Like

Thanks. That’s great.

  • Lewis

same as in macbook pro m1

see the link above