Git / SSL Errors while installing packages


#1

I have been getting the following error upon installation of any Julia package in all my CI builds for a couple of hours.

INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:Net, SSL error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version)

Is this a temporary service / network outage or something that needs solving?


Git certificate errors
#2

Sounds like it is related to:


#3

Announcement on GitHub discontinued support for the TLS 1.0 & 1.1 protocols and only support connections with the TLS 1.2 protocol on February 22, 2018 19:00 UT

This seems to impact all package installation for Julia 0.5 on Linux.


#4

Is there a workaround to keep Julia 0.5 working or did GitHub basically deprecate Julia 0.5?


#5

There is one in that thread I posted, I think.


#6

Yes, the easiest way to fix it for now is to use the “Easy Fix” from
https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in


#7

@simonbyrne The fix that you are pointing to is a Microsoft update. The issue that I am describing is for Julia 0.5 on Linux.


#8

There is no workaround for 0.5 linux. The solution is to rebuild it with a new version of OpenSSL.