Go get for linux

Why go get is not working in linux.
“’’’’’’’’’’’’’’’’’’
cd .; git clone https://github.com/bradfitz/go-sql-test /home/rakhil/go/src/gi thub.com/bradfitz/go-sql-test
error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol v ersion while accessing https://github.com/bradfitz/go-sql-test/info/refs?service =git-upload-pack
fatal: HTTP request failed
package github.com/bradfitz/go-sql-test: exit status 128
“””""""""""""""""""
when i have run go get git link i got this error how to solve it

Thanks

git clone is not a go command. There is a discussion about this error message here:
https://stackoverflow.com/questions/48944875/sourcetree-error1407742essl-routinesssl23-get-server-hellotlsv1-alert-protoc . What version of go and git are you using?

1 Like

git version 1.7.12.4

go version go1.11.3 linux/amd64

It seems some people on this page updated from git 1.9.x to 2.1.x and it solved their problem.

You version is pretty old. Current version is 2.20.

I have downloaded the driver using git clone. when i was testing the error i got an error. i will create a new thread on it can you explain me why i am getting this error.

Ok. Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.