N
N
Nikolay Baranenko2018-04-12 18:38:58
go
Nikolay Baranenko, 2018-04-12 18:38:58

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

How to solve this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Papa, 2018-04-12
@drno-reg

The first link from Google: https://stackoverflow.com/questions/48944875/sourc...

N
Nikolay Baranenko, 2018-04-17
@drno-reg

the problem was solved by setting a global parameter for git
git config --global --add http.sslVersion tlsv1.2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question