Hello,
I am getting the same problem since a few days, both on julia 1.0.2 and julia 1.0.3.
When I try to update using
] up
I get
type or paste code hereWarning: Some registries failed to update:
│ — /home/my_username/.julia/registries/General — failed to fetch from repo
└ @ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:157
Same happens when I try to install a package, however I am able to install it after a few seconds of hanging.
julia> LibGit2.clone("https://github.com/JuliaRegistries/General.git", "General")
ERROR: GitError(Code:ERROR, Class:SSL, SSL error: 0xffff8d80 - SSL - The connection indicated an EOF)
Stacktrace:
[1] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/error.jl:101 [inlined]
[2] clone(::String, ::String, ::LibGit2.CloneOptions) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/repository.jl:459
[3] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/LibGit2.jl:580 [inlined]
[4] macro expansion at ./gcutils.jl:87 [inlined]
[5] #clone#131(::String, ::Bool, ::Ptr{Nothing}, ::Nothing, ::Dict{Symbol,Tuple{Ptr{Nothing},Any}}, ::Function, ::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/LibGit2.jl:570
[6] clone(::String, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/LibGit2.jl:559
[7] top-level scope at none:0
and
julia> ENV["SSL_CERT_FILE"]
ERROR: KeyError: key "SSL_CERT_FILE" not found
Stacktrace:
[1] (::getfield(Base, Symbol("##417#418")))(::String) at ./env.jl:76
[2] access_env at ./env.jl:45 [inlined]
[3] getindex(::Base.EnvDict, ::String) at ./env.jl:76
[4] top-level scope at none:0
I do not know if a firewall has been set up at the university level or if anything has changed, but this happens on two different computers there.
manually cloning the repository via
git pull
inside ~/.julia/registries/General
works.
Do you have any tips on how to understand and solve the problem ?
Thanks in advance