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

**URL:** <https://discourse.julialang.org/t/trouble-adding-packages-the-connection-with-the-server-was-terminated-abnormally/58612>\
**Category:** General Usage\
**Tags:** package\
**Created:** [April 4, 2021, 6:57am UTC](https://discourse.julialang.org/t/trouble-adding-packages-the-connection-with-the-server-was-terminated-abnormally/58612 "2021-04-04T06:57:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [April 4, 2021, 6:57am UTC](https://discourse.julialang.org/t/trouble-adding-packages-the-connection-with-the-server-was-terminated-abnormally/58612/1 "2021-04-04T06:57:10Z")

</div>

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

```julia
(@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>

```

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [April 4, 2021, 7:38am UTC](https://discourse.julialang.org/t/trouble-adding-packages-the-connection-with-the-server-was-terminated-abnormally/58612/2 "2021-04-04T07:38:26Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [April 5, 2021, 1:26pm UTC](https://discourse.julialang.org/t/trouble-adding-packages-the-connection-with-the-server-was-terminated-abnormally/58612/3 "2021-04-05T13:26:43Z")

</div>

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

> [@Julia 1.6.0 packages installation](https://discourse.julialang.org/t/julia-1-6-0-packages-installation/58552/):
>
> 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 ERR…

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [April 5, 2021, 1:28pm UTC](https://discourse.julialang.org/t/trouble-adding-packages-the-connection-with-the-server-was-terminated-abnormally/58612/4 "2021-04-05T13:28:32Z")

</div>


