goproxyio/goproxy

Return connection reset by peer when download the packages. e.g etcd, protobuf

little-cui opened this issue · 1 comments

go version is 1.14.9

run command in HUAWEI cloud VM below

export GOPROXY=https://goproxy.io,direct
go mod download

then return errors

github.com/coreos/etcd@v3.3.25+incompatible: read tcp 192.168.0.26:53028->119.28.201.50:443: read: connection reset by peer
...
oiooj commented

@little-cui If you can't access goproxy.io servers, you can try to use proxy.golang.com.cn

export GOPROXY=https://proxy.golang.com.cn,direct