go-sqlite3 icon indicating copy to clipboard operation
go-sqlite3 copied to clipboard

Install failed using "go get github.com/mattn/go-sqlite3"

Open mnislam01 opened this issue 5 years ago • 2 comments

I am trying to install by go get command go get github.com/mattn/go-sqlite3

But after a while it is failing. I don't why this is happening. I checked other packages are installing just fine.

Here is the error I got.

➜ go get github.com/mattn/go-sqlite3
# cd .; git clone -- https://github.com/mattn/go-sqlite3 /home/nazrul/go/src/github.com/mattn/go-sqlite3
Cloning into '/home/nazrul/go/src/github.com/mattn/go-sqlite3'...
fatal: unable to access 'https://github.com/mattn/go-sqlite3/': GnuTLS recv error (-54): Error in the pull function.
package github.com/mattn/go-sqlite3: exit status 128

mnislam01 avatar Jul 01 '20 05:07 mnislam01

This is most probably not an issue with go-sqlite3... ~Could be this bug in GnuTLS~? Nah probably not this one specifically, but could be similar problems... Did you make sure your git is up to date? Does it work if you try to directly git clone this repo, or does it also fail?

itizir avatar Jul 01 '20 16:07 itizir

I had the same issue and found that my git config had a faulty https-proxy set. After deleting that, it all went though.

trollfluga avatar Mar 28 '21 12:03 trollfluga