census-instrumentation/opencensus-go

git.apache.org/thrift.git has gone away, causing breakages upstream

ryboe opened this issue · 1 comments

ryboe commented

Here's my problem:

go: git.apache.org/thrift.git@v0.0.0-20180902110319-2566ecd5d999: git fetch -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /go/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128:
	fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Connection refused

I'm using go-cloud which depends on this project. I'm on Go 1.11.5 and I'm using Go modules.

go-cloud inherits your dependency on git.apache.org/thrift.git, which has gone away. The Apache Thrift project moved to GitHub. git.apache.org/thrift.git is now a dead URL. We can see references to git.apache.org/thrift.git in go-cloud's go.sum file.

To Reproduce

>go version
go version go1.11.5 linux/amd64
>GO111MODULE=on go get gocloud.dev
go: git.apache.org/thrift.git@v0.0.0-20180902110319-2566ecd5d999: git fetch -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /go/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128:
	fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Connection refused

Expected behavior
go shouldn't fail to fetch

Please prioritize #1048 or change your import paths so that the source statement is unnecessary in your Gopkg.toml.

Also, thanks for your hard work in creating this package!

ryboe commented

Ok, this turned out to be an issue with the internal company network 😳 I'm able to reach git.apache.org from outside the company network, and go build is working fine. Sorry for the noise!