Getting net/http: TLS handshake timeout error when I try to install godror with go

I am new to the go language. I want to use it to write scripts monitoring Oracle databases. So I need to be able to natively talk to an Oracle database. I wanted to use godror for that.

I am trying to install gofror into a Redhat 7.9 Amazon EC2 instance. I am able to install libraries with yum install, but I can’t seem to get godror installed. I even downloaded the package directly from github, but I could not figure out how to install it from disk.

Any help would be appreciated.

Thanks!

[root@zusprlfftorp002 godror-main]# go get -v github.com/godror
go: github.com/go-logfmt/logfmt@v0.5.1: Get "https://proxy.golang.org/github.com/go-logfmt/logfmt/@v/v0.5.1.mod": net/http: TLS handshake timeout
[root@zusprlfftorp002 godror-main]# go get -v github.com/godror@latest
go: github.com/go-logfmt/logfmt@v0.5.1: Get "https://proxy.golang.org/github.com/go-logfmt/logfmt/@v/v0.5.1.mod": net/http: TLS handshake timeout
[root@zusprlfftorp002 godror-main]# go get -v github.com/godror@stable
go: github.com/go-logfmt/logfmt@v0.5.1: Get "https://proxy.golang.org/github.com/go-logfmt/logfmt/@v/v0.5.1.mod": EOF
1 Like

Looks like you’re not hitting the full url godror | GO DRiver for ORacle DB

I ran the command that your link had me run and no help. do you know the command to install based on a tar file that I downloaded to disk?

root@zusprlfftorp002:~/golang_godror/delme > go get github.com/godror/godror
go get: module github.com/godror/godror: Get "https://proxy.golang.org/github.com/godror/godror/@v/list": net/http: TLS handshake timeout

If you use curl or wget to try to retrieve https://github.com/godror/godror, does it work, or do you also get an error?

I can pull down a file from that website with wget. I noticed a number of websites talking about Golang being used for malware and I wonder if Crowdstrike is preventing me from installing Golang modules.

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