Trouble adding packages: "The connection with the server was terminated abnormally"

How to solve this problem:
Some packages have a happy installation and others do not!

(@v1.6) pkg> add Plots
    Updating registry at `C:\Users\hermesr\.julia\registries\General`
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:976
   Resolving package versions...
     Cloning [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] StatsBase from https://github.com/JuliaStats/StatsBase.jl.git
ERROR: failed to clone from https://github.com/JuliaStats/StatsBase.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg> add OhMyREPL
   Resolving package versions...
     Cloning [0796e94c-ce3b-5d07-9a54-7f471281c624] Tokenize from https://github.com/JuliaLang/Tokenize.jl.git
ERROR: failed to clone from https://github.com/JuliaLang/Tokenize.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)

(@v1.6) pkg> add Roots
   Resolving package versions...
    Updating `C:\Users\hermesr\.julia\environments\v1.6\Project.toml`
  [f2b01f46] + Roots v1.0.8
    Updating `C:\Users\hermesr\.julia\environments\v1.6\Manifest.toml`
  [f2b01f46] + Roots v1.0.8
  Progress [========================================>]  1/1
1 dependency successfully precompiled in 7 seconds (1 already precompiled)

(@v1.6) pkg> add SpecialFunctions
   Resolving package versions...
     Cloning [34da2185-b29b-5c13-b0c7-acf172513d20] Compat from https://github.com/JuliaLang/Compat.jl.git
ERROR: failed to clone from https://github.com/JuliaLang/Compat.jl.git, error: GitError(Code:ERROR, Class:OS, failed to send request: The connection with the server was terminated abnormally
)
(@v1.6) pkg> st
      Status `C:\Users\hermesr\.julia\environments\v1.6\Project.toml`
  [a8cc5b0e] Crayons v4.0.4
  [f2b01f46] Roots v1.0.8
  [ade2ca70] Dates
(@v1.6) pkg>

@HerAdri please open a new thread to discuss your issue, providing also information about your system like whether you are behind a proxy or a firewall. As clearly stated in the first message of this thread this announcement is not meant for bug reports or troubleshooting.

9 Likes

I split this into a new thread, but I now noticed you already created a separate question. Let’s keep the discussion there.

1 Like