Cannot download any packages in Julia 1.11

ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

is the error I get. I am able to ping github.com normally. I am using Windows 11, FYI.

ping github.com

Pinging github.com [20.207.73.82] with 32 bytes of data:
Reply from 20.207.73.82: bytes=32 time=25ms TTL=119
Reply from 20.207.73.82: bytes=32 time=24ms TTL=119
Reply from 20.207.73.82: bytes=32 time=25ms TTL=119
Reply from 20.207.73.82: bytes=32 time=25ms TTL=119

Ping statistics for 20.207.73.82:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 24ms, Maximum = 25ms, Average = 24ms

The above are the results from the ping. I could not find any solution for this.

Is your connection behind a proxy server?

This might be related.

I also use julia 1.11 on windows, and yet had no related issue, so I think it’s network related.

Hi, I do use VPN. But, the solutions you attached doesn’t work for me, with or without VPN.

Looking through some previous cases of such error, it seems that it’s either a problem with the proxy or firewall.

This is the next best post I could find regarding your problem.
If this doesn’t work, I’m afraid your best bet would be using a hotspot without proxy/firewall, or manually cloning https://github.com/JuliaRegistries/General.git to ~/.julia/registries.