goproxy
goproxy copied to clipboard
connection reset by peer when accessing goproxy.io
We are hitting sporadic network failures on our builds when accessing goproxy.io (which is the 2nd proxy entry in GOPROXY). Thus we have removed goproxy.io from our proxy setting: https://github.com/kubevirt/project-infra/pull/2151
AFAICT this is not related to any specific dependency we are consuming in our builds. Also in the goproxy protocol spec it says that 5xx errors are treated as such, so this IMHO is a sign of goproxy.io misbehaving?
A couple of examples:
#1534798451911430144 | build-log | 5 minutes ago |
-- | -- | -- | --
09:07:15: google.golang.org/[email protected] requires 09:07:15: golang.org/x/[email protected]: verifying go.mod: golang.org/x/[email protected]/go.mod: Get "https://goproxy.io/sumdb/sum.golang.org/tile/8/0/x040/747": read tcp 10.233.80.183:60104->119.28.201.50:443: read: connection reset by peer 09:07:18: INFO: Analyzed target //rpm:sandbox_x86_64 (263 packages loaded, 9645 targets configured).
#1534774460664516608 | build-log | 3 hours ago |
05:50:16: cloud.google.com/[email protected] requires 05:50:16: github.com/google/martian/[email protected]: verifying go.mod: github.com/google/martian/[email protected]/go.mod: Get "https://goproxy.io/sumdb/sum.golang.org/lookup/github.com/google/martian/[email protected]": http2: client connection force closed via ClientConn.Close 05:50:18: Analyzing: target //rpm:sandbox_x86_64 (262 packages loaded, 9609 targets configured)
#1534519715630682112 | build-log | 21 hours ago |
13:01:40: github.com/googleapis/gax-go/[email protected] requires 13:01:40: google.golang.org/[email protected]: verifying go.mod: google.golang.org/[email protected]/go.mod: reading https://goproxy.io/sumdb/sum.golang.org/tile/8/1/150: read tcp 10.233.80.110:36468->119.28.201.50:443: read: connection reset by peer 13:01:42: INFO: Analyzed target //rpm:sandbox_x86_64 (263 packages loaded, 9645 targets configured).
#1534419450072141824 | build-log | 27 hours ago |
06:20:13: github.com/googleapis/gax-go/[email protected] requires 06:20:13: google.golang.org/[email protected]: verifying go.mod: google.golang.org/[email protected]/go.mod: Get "https://goproxy.io/sumdb/sum.golang.org/tile/8/1/150": read tcp 10.233.122.113:51704->119.28.201.50:443: read: connection reset by peer 06:20:16: INFO: Analyzed target //rpm:sandbox_x86_64 (263 packages loaded, 9645 targets configured).
[#1534798451911430144](https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/7845/pull-kubevirt-e2e-k8s-1.22-operator/1534798451911430144) build-log 5 minutes ago
09:07:15: google.golang.org/[email protected] requires
09:07:15: golang.org/x/[email protected]: verifying go.mod: golang.org/x/[email protected]/go.mod: Get "https://goproxy.io/sumdb/sum.golang.org/tile/8/0/x040/747": read tcp 10.233.80.183:60104->119.28.201.50:443: read: connection reset by peer
09:07:18: INFO: Analyzed target //rpm:sandbox_x86_64 (263 packages loaded, 9645 targets configured).
[#1534774460664516608](https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/7858/pull-kubevirt-e2e-k8s-1.22-operator/1534774460664516608) build-log 3 hours ago
05:50:16: cloud.google.com/[email protected] requires
05:50:16: github.com/google/martian/[email protected]: verifying go.mod: github.com/google/martian/[email protected]/go.mod: Get "https://goproxy.io/sumdb/sum.golang.org/lookup/github.com/google/martian/[email protected]": http2: client connection force closed via ClientConn.Close
05:50:18: Analyzing: target //rpm:sandbox_x86_64 (262 packages loaded, 9609 targets configured)
[#1534519715630682112](https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/7863/pull-kubevirt-e2e-k8s-1.22-operator/1534519715630682112) build-log 21 hours ago
13:01:40: github.com/googleapis/gax-go/[email protected] requires
13:01:40: google.golang.org/[email protected]: verifying go.mod: google.golang.org/[email protected]/go.mod: reading https://goproxy.io/sumdb/sum.golang.org/tile/8/1/150: read tcp 10.233.80.110:36468->119.28.201.50:443: read: connection reset by peer
13:01:42: INFO: Analyzed target //rpm:sandbox_x86_64 (263 packages loaded, 9645 targets configured).
[#1534419450072141824](https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/7858/pull-kubevirt-e2e-k8s-1.22-operator/1534419450072141824) build-log 27 hours ago
06:20:13: github.com/googleapis/gax-go/[email protected] requires
06:20:13: google.golang.org/[email protected]: verifying go.mod: google.golang.org/[email protected]/go.mod: Get "https://goproxy.io/sumdb/sum.golang.org/tile/8/1/150": read tcp 10.233.122.113:51704->119.28.201.50:443: read: connection reset by peer
06:20:16: INFO: Analyzed target //rpm:sandbox_x86_64 (263 packages loaded, 9645 targets configured).
See here for our failures: https://search.ci.kubevirt.io/?search=https%3A%2F%2Fgoproxy.io%2F&maxAge=336h&context=1&type=build-log&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job
Hi @dhiller , It's seems that there's some connection issue to goproxy.io servers, can you try to use proxy.golang.com.cn
, this domain use global CDN. goproxy.io is the source site in HK.
Thanks @dhiller