Fail to clone when installing Pkg; Class: SSL

package
#1

Hi Guys,

I am running a bit of a problem when installing packages on mac (OS 10.14.3).

This is what Julia returned after entering Pkg.add(“Gadfly”)

ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:SSL, unexpected return value from ssl handshake -9806)

Stacktrace:

[1] pkgerror( ::String ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:120

[2] #clone#3( ::String, ::Base.Iterators.Pairs{Symbol,LibGit2.CachedCredentials,Tuple{Symbol},NamedTuple{(:credentials,),Tuple{LibGit2.CachedCredentials}}}, ::Function, ::String, ::String ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GitTools.jl:111

[3] (::getfield(Pkg.GitTools, Symbol("#kw##clone")))( ::NamedTuple{(:header, :credentials),Tuple{String,LibGit2.CachedCredentials}}, ::typeof(Pkg.GitTools.clone), ::String, ::String ) at ./none:0

[4] (::getfield(Pkg.Types, Symbol("##87#89")))( ::LibGit2.CachedCredentials ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:1103

[5] shred!( ::getfield(Pkg.Types, Symbol("##87#89")), ::LibGit2.CachedCredentials ) at ./secretbuffer.jl:184

[6] clone_or_cp_registries( ::Pkg.Types.Context, ::Array{Pkg.Types.RegistrySpec,1}, ::String ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:1102

[7] clone_or_cp_registries at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:1087 [inlined]

[8] clone_default_registries() at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:1037

[9] find_registered!( ::Pkg.Types.EnvCache, ::Array{String,1}, ::Array{Base.UUID,1} ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:1312

[10] registry_resolve!( ::Pkg.Types.EnvCache, ::Array{Pkg.Types.PackageSpec,1} ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:949

[11] #add_or_develop#15( ::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1} ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:47

[12] #add_or_develop at ./none:0 [inlined]

[13] #add_or_develop#14 at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:31 [inlined]

[14] #add_or_develop at ./none:0 [inlined]

[15] #add_or_develop#13 at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:29 [inlined]

[16] #add_or_develop at ./none:0 [inlined]

[17] #add_or_develop#12( ::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::Function, ::String ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:28

[18] #add_or_develop at ./none:0 [inlined]

[19] #add#20 at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:59 [inlined]

[20] add( ::String ) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:59

[21] top-level scope at none:0

This is the versioninfo()

Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel® Core™ i5-5257U CPU @ 2.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, broadwell)

How should I fix this? Thank you very much!

0 Likes