Could not download https://pkg.julialang.org/registries and cannot precompile `CUDA.jl` + addrspaceptr not defined

Hi Julia users!

As the new version came out and having a LOT of problems installing/precompiling CUDA.jl, CUDAnative.jl, CuArrays.jl, I decided to freshly reinstall Julia 1.5.2. However, I see the specified error message:

   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.2 (2020-09-23)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.5) pkg> add IJulia InstantiateFromURL
 Installing known registries into `C:\Users\jaepil\.julia`
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Types.jl:951
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Types.jl:951

It seems the server is down and it shows 502 Bad Gateway. Since using "https://github.com/JuliaRegistries/General.git" does not update CUDA.jl (v0.1.0), I can’t seem to use CUDA. So…

  1. How can I fix could not download https://pkg.julialang.org/registries?
  2. How can I update CUDA.jl and its companion packages to get it running?

Thank you :slight_smile:

For those future readers who are having similar questions:

  1. could not download https://pkg.julialang.org/registries is returned when the server is down.
  2. CUDAnative.jl, CUDAapi.jl are deprecated.

So when will the server go alive? Are there any notice about down time of the server?

I see that it is on and off. So I reran the whole process hoping it does not close. Eventually it worked.

Hi! I found this work for me for the same problem. So I started to update / upgrade my powershell from 2 into powershell 5:) (I use windows)