I installed Julia with juliaup in Windows, and I am currently on v1.11 beta. When I try to run ] update the following appears:
(@v1.11) pkg> update
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = RequestError: Failure when receiving data from the peer while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry C:\Users\fcpv\.julia\juliaup\julia-1.11.0-beta1+0.x64.w64.mingw32\share\julia\stdlib\v1.11\Pkg\src\Registry\Registry.jl:75
Updating registry at `C:\Users\fcpv\.julia\registries\General.toml`
No Changes to `C:\Users\fcpv\.julia\environments\v1.11\Project.toml`
No Changes to `C:\Users\fcpv\.julia\environments\v1.11\Manifest.toml`
Plus, it takes a bit longer than my v1.10 instance (maybe 1 second or so) in launching and also in entering Pkg REPL mode.
Current Julia version
julia> versioninfo()
Julia Version 1.11.0-beta1
Commit 08e1fc0abb (2024-04-10 08:40 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Sorry to ping again, it is really making it difficult for me to work in my corporate laptop. Pinging Stefan because I think he did some rework facing v1.11 regarding Pkg server infrastructure.
Seems likely that your company laptop is setup to use some kind of firewall that’s blocking access to pkg.julialang.org and/or storage.julialang.net. That wouldn’t have changed in 1.11, however. I would talk to your sysadmins and get them to help you.
fcpv@ltfcpv MINGW64 ~
$ curl -L https://pkg.julialang.org/registries
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate.
In my corporate machine I have both Windows and WSL installed. Both error in v1.11rc3 but none of them in v1.10.5, but the error in WSL is a bit more concrete (or maybe just different).
WSL
fcpv@ltfcpv:~$ julia +1.11
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.11.0-rc3 (2024-08-26)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.11) pkg> up
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = RequestError: Cert verify failed: BADCERT_NOT_TRUSTED while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry ~/.julia/juliaup/julia-1.11.0-rc3+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/src/Registry/Registry.jl:77
Updating registry at `~/.julia/registries/General.toml`
No Changes to `~/.julia/environments/v1.11/Project.toml`
No Changes to `~/.julia/environments/v1.11/Manifest.toml`
Windows
PS C:\Users\fcpv> julia +1.11
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.11.0-rc3 (2024-08-26)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.11) pkg> up
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = RequestError: Failure when receiving data from the peer while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry C:\Users\fcpv\.julia\juliaup\julia-1.11.0-rc3+0.x64.w64.mingw32\share\julia\stdlib\v1.11\Pkg\src\Registry\Registry.jl:77
Updating registry at `C:\Users\fcpv\.julia\registries\General.toml`
No Changes to `C:\Users\fcpv\.julia\environments\v1.11\Project.toml`
No Changes to `C:\Users\fcpv\.julia\environments\v1.11\Manifest.toml`
The curl that @GunnarFarneback suggested is successful in WSL and
Powershell: WSL: