I have a similar issue with installing packages behind a proxy. But in my case it’s not complaining about HTTPS proxies or whatever, it’s just trying to direct connect and failing (which is expected if it tries to direct connect)
I’m using the Debian testing packages: Julia 1.0.3+dfsg-4
I have all the right ENV settings:
julia> ENV["HTTP_PROXY"]
"http://pico.lan:3128"
julia> ENV["http_proxy"]
"http://pico.lan:3128"
julia> ENV["HTTPS_PROXY"]
"http://pico.lan:3128"
julia> ENV["https_proxy"]
"http://pico.lan:3128"
I try to Pkg.add(“StatsBase”) but rather than complaining about anything related to the proxy, it actually just tries to direct connect, which isn’t possible:
julia> Pkg.add("StatsBase")
Cloning default registries into /home/dlakelan/.julia/registries
Cloning registry General from "https://github.com/JuliaRegistries/General.git"
e[?25le[?25hERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to connect to github.com: Connection timed out)
Stacktrace:
[1] pkgerror(::String) at /build/julia-wJr69F/julia-1.0.3+dfsg/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120
...
Thoughts?