-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Description
We have had four CI jobs fail in the past week due to sum.golang.org
reporting 500 internal server errors as well as an unexpected EOF.
- https://github.com/cue-lang/cuelang.org/actions/runs/11405713492/job/31737794702
- https://github.com/cue-lang/cuelang.org/actions/runs/11406304337/job/31739760236
- https://github.com/cue-lang/cuelang.org/actions/runs/11494340883/job/31991655336
- https://github.com/cue-lang/cuelang.org/actions/runs/11514929154/job/32054554147
The two types of errors we have seen look like:
go: cuelang.org/[email protected]: verifying go.mod: cuelang.org/[email protected]/go.mod: reading https://sum.golang.org/lookup/cuelang.org/[email protected]: 500 Internal Server Error
go: cuelang.org/[email protected]: verifying module: cuelang.org/[email protected]: Get "https://sum.golang.org/lookup/cuelang.org/[email protected]": EOF
These CI jobs are doing what is effectively:
go mod init
go get cuelang.org/go@${commitRef}
where ${commitRef}
is a commit hash which was just pushed to master.
We are aware that proxy.golang.org
and sum.golang.org
may respond with status codes like 404 for the first fifteen to thirty minutes as they discover the new version (#49916 (comment)), but I still assume that the 500 and EOF errors are unexpected and should be fixed.
Moreover, we do dozens of these runs per week, and only very few fail, so sum.golang.org
often answers these requests correctly without any issue.