# What's going on with the installation of HTTP package?

**URL:** <https://discourse.julialang.org/t/whats-going-on-with-the-installation-of-http-package/30137>\
**Category:** General Usage\
**Created:** [October 21, 2019, 2:59pm UTC](https://discourse.julialang.org/t/whats-going-on-with-the-installation-of-http-package/30137 "2019-10-21T14:59:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven\_Sagaert](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/steven_sagaert/32/29578_2.png) [@Steven\_Sagaert](https://discourse.julialang.org/u/Steven_Sagaert)\
**Post date:** [October 21, 2019, 2:59pm UTC](https://discourse.julialang.org/t/whats-going-on-with-the-installation-of-http-package/30137/1 "2019-10-21T14:59:32Z")

</div>

Hi,  
I upgraded an old project from julia 0.6 to 0.7. I could resolve most of the deprecations but I ran into the problem that I was using the package HttpServer.jl and that cannot be installed anymore via Pkg. So I tried to install the package HTTP but that gave an error:

julia\> Pkg.add(“HTTP”)  
Resolving package versions…  
Installed MbedTLS ─ v0.7.0  
Updating `~/.julia/environments/v1.2/Project.toml`  
[cd3eb016] + HTTP v0.8.6  
Updating `~/.julia/environments/v1.2/Manifest.toml`  
[b99e7846] + BinaryProvider v0.5.6  
[cd3eb016] + HTTP v0.8.6  
[83e8ac13] + IniFile v0.5.0  
[739be429] + MbedTLS v0.7.0  
Building MbedTLS → `~/.julia/packages/MbedTLS/a1JFn/deps/build.log`  
┌ Error: Error building `MbedTLS`:  
│ ┌ Warning: platform\_key() is deprecated, use platform\_key\_abi() from now on  
│ │ caller = ip:0x0  
│ └ @ Core :-1  
│ [Info: Downloading [https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.17.0/MbedTLS.v2.16.0.x86\_64-linux-gnu.tar.gz](https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.17.0/MbedTLS.v2.16.0.x86_64-linux-gnu.tar.gz) to /home/steven/.julia/packages/MbedTLS/a1JFn/deps/usr/downloads/MbedTLS.v2.16.0.x86\_64-linux-gnu.tar.gz…  
│ ERROR: LoadError: Could not download [https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.17.0/MbedTLS.v2.16.0.x86\_64-linux-gnu.tar.gz](https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.17.0/MbedTLS.v2.16.0.x86_64-linux-gnu.tar.gz) to /home/steven/.julia/packages/MbedTLS/a1JFn/deps/usr/downloads/MbedTLS.v2.16.0.x86\_64-linux-gnu.tar.gz:  
│ ErrorException(“”)  
│ Stacktrace:  
│ [1] error(::String) at ./error.jl:33  
│ [2] #download#89(::Bool, ::typeof(BinaryProvider.download), ::String, ::String) at /home/steven/.julia/packages/BinaryProvider/TcAwt/src/PlatformEngines.jl:498  
│ [3] #download at ./none:0 [inlined]  
│ [4] #download\_verify#90(::Bool, ::Bool, ::Bool, ::typeof(download\_verify), ::String, ::String, ::String) at /home/steven/.julia/packages/BinaryProvider/TcAwt/src/PlatformEngines.jl:567  
│ [5] #download\_verify at ./tuple.jl:0 [inlined]  
│ [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::typeof(install), ::String, ::String) at /home/steven/.julia/packages/BinaryProvider/TcAwt/src/Prefix.jl:314  
│ [7] (::getfield(BinaryProvider, Symbol(“#kw##install”)))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./tuple.jl:0  
│ [8] top-level scope at /home/steven/.julia/packages/MbedTLS/a1JFn/deps/build.jl:48  
│ [9] include at ./boot.jl:328 [inlined]  
│ [10] include\_relative(::Module, ::String) at ./loading.jl:1094  
│ [11] include(::Module, ::String) at ./Base.jl:31  
│ [12] include(::String) at ./client.jl:431  
│ [13] top-level scope at none:5  
│ in expression starting at /home/steven/.julia/packages/MbedTLS/a1JFn/deps/build.jl:44  
│ caused by [exception 1]  
│  
│ Stacktrace:  
│ [1] error() at ./error.jl:42  
│ [2] #download#89(::Bool, ::typeof(BinaryProvider.download), ::String, ::String) at /home/steven/.julia/packages/BinaryProvider/TcAwt/src/PlatformEngines.jl:492  
│ [3] #download at ./none:0 [inlined]  
│ [4] #download\_verify#90(::Bool, ::Bool, ::Bool, ::typeof(download\_verify), ::String, ::String, ::String) at /home/steven/.julia/packages/BinaryProvider/TcAwt/src/PlatformEngines.jl:567  
│ [5] #download\_verify at ./tuple.jl:0 [inlined]  
│ [6] #install#129(::Prefix, ::String, ::Bool, ::Bool, ::Bool, ::typeof(install), ::String, ::String) at /home/steven/.julia/packages/BinaryProvider/TcAwt/src/Prefix.jl:314  
│ [7] (::getfield(BinaryProvider, Symbol(“#kw##install”)))(::NamedTuple{(:prefix, :force, :verbose),Tuple{Prefix,Bool,Bool}}, ::typeof(install), ::String, ::String) at ./tuple.jl:0  
│ [8] top-level scope at /home/steven/.julia/packages/MbedTLS/a1JFn/deps/build.jl:48  
│ [9] include at ./boot.jl:328 [inlined]  
│ [10] include\_relative(::Module, ::String) at ./loading.jl:1094  
│ [11] include(::Module, ::String) at ./Base.jl:31  
│ [12] include(::String) at ./client.jl:431  
│ [13] top-level scope at none:5  
[16:56:15] #=#=-# #  
│ [16:56:15] curl: (28) Operation timed out after 300429 milliseconds with 0 out of 0 bytes received  
└ @ Pkg.Operations /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.2/Pkg/src/backwards\_compatible\_isolation.jl:647

I then upgraded to julia 1.2 and tried again but I got the same error.

So how do I solve this? Or is there no installable Http server at this moment?

---

<div class="post-metadata">

**Author:** ![ExpandingMan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/expandingman/32/866_2.png) [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Post date:** [October 21, 2019, 3:41pm UTC](https://discourse.julialang.org/t/whats-going-on-with-the-installation-of-http-package/30137/2 "2019-10-21T15:41:34Z")

</div>

I can’t reproduce this. It looks to me like something on your system is preventing the package `MbedTLS` to download something that it needs as a dependency. Do you have it somewhere that has restricted permissions? Just for the hell of it you might try `]add MbedTLS`.
