I am on a Windows 10 laptop and have just installed Julia 1.8.4. When I try to install a package (through Pkg.add() and through “pkg>”, I get the following error:
Warning: could not download https://pkg.julialang.org port 443 after 17922 ms: Connection refused while requesting https://pkg.julialang.org/registries
@Pkg.Registry C:\workdir\usr\share\julia\stdlib\v1.8\Pkg\src\Registry\Registry.jl
Cloning registry from https://github.com/JuliaRegistries/General.git
Error: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to send request: A connection with the server could not be established)
This error also arises when I attempt to use Pkg.status(). My hunch is that this is related to the VPN my company is using, but I’m not able to see any information past the error values. I’ll add that I’m able to go to the github registry in my browser, so the website isn’t blocked.
I’ve done some searching and can’t seem to find a solution - has anyone encountered something similar?