Answer the question
In order to leave comments, you need to log in
How to properly solve the problem of SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version?
Hello.
I have Go
go version go1.10.1 windows/amd64
git version 1.9.4.msysgit.2 (version Git-2.16.2-64-bit)
trying to GET request to install additional package:
go get -u -v -insecure "github.com/prometheus/client_golang/prometheus"
getting error
github.com/prometheus/client_golang (download)
# cd .; git clone https://github.com/prometheus/client_golang C:\Users\drno\go\src\github.com\prometheus\client_golang
Cloning into 'C:\Users\drno\go\src\github.com\prometheus\client_golang'...
fatal: unable to access 'https://github.com/prometheus/client_golang/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
package github.com/prometheus/client_golang/prometheus: exit status 128
Answer the question
In order to leave comments, you need to log in
The first link from Google: https://stackoverflow.com/questions/48944875/sourc...
the problem was solved by setting a global parameter for gitgit config --global --add http.sslVersion tlsv1.2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question