Error in Julia v1.11 when updating Registry or packages

Problem

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)

The first issue could be a temporary network issue or perhaps your firewall is blocking something.

This is somewhat expected.

Details here:

I am using my home’s WiFi, but this is happening in a corporate laptop. Any way to check this?

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.

@mkitti
@StefanKarpinski

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.

Is there any way to check at which point is the process failing? That might help them debug it.

Thanks for the help!

Usually a good starting point is to try

curl -L https://pkg.julialang.org/registries
1 Like

This happens:

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.

Have you contacted your corporate IT regarding accessing pkg.julialang.org, particularly storage.julialang.net?