Skip to content

sum.golang.org: repeated 500 internal server errors when fetching very new versionsย #70042

Open
@mvdan

Description

@mvdan

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.

The two types of errors we have seen look like:

go: cuelang.org/go@v0.11.0-alpha.3.0.20241018144220-537f744a9cc7: verifying go.mod: cuelang.org/go@v0.11.0-alpha.3.0.20241018144220-537f744a9cc7/go.mod: reading https://sum.golang.org/lookup/cuelang.org/go@v0.11.0-alpha.3.0.20241018144220-537f744a9cc7: 500 Internal Server Error

go: cuelang.org/go@v0.10.1: verifying module: cuelang.org/go@v0.10.1: Get "https://sum.golang.org/lookup/cuelang.org/go@v0.10.1": 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.

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.proxy.golang.org

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions