Pkg.add proxy authentication required, but no callback provided


#1

Help! I am stuck in a maze of twisty packages.
I am behind a corporate firewall, though I can set the variable http_proxy and run a git clone from the bash command prompt. In the Julia REPL I get this failure:

ulia> Pkg.add(“Elly”)
INFO: Cloning cache of ArgParse from https://github.com/carlobaldassi/ArgParse.jl.git
ERROR: Cannot clone ArgParse from https://github.com/carlobaldassi/ArgParse.jl.git. proxy authentication required, but no callback provided

I know this is a common failure, and is related to libgit2. Any hints and tips please?
Julia Version 0.6.2
Commit d386e40c17 (2017-12-13 18:08 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel® Xeon® CPU E5-1660 v2 @ 3.70GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, ivybridge)


#2


:frowning: If Viral B Shah is puzzled…


#3

I am adding this observation, in case anyone else has the same problem in the future.
Our particular proxy sems to succees sometimes, then fail. I am not aware of the exact architecture, I imagin ethough this indicates a load balancer where one fails ???
For instance:
INFO: Cloning cache of IJulia from https://github.com/JuliaLang/IJulia.jl.git
INFO: Cloning cache of JSON from https://github.com/JuliaIO/JSON.jl.git
INFO: Cloning cache of Nullables from https://github.com/JuliaArchive/Nullables.jl.git
ERROR: Cannot clone Nullables from https://github.com/JuliaArchive/Nullables.jl.git. proxy authentication required, but no callback provided


#4

If this works sometimes for some packages but not others I would assume it’s an issue with your proxy rather than anything on the Julia side.