Skip to content

storage.googleapis.com/golang GCS anonymous access revocation causing 403 errors in actions/setup-go #76011

@nicholasngai

Description

@nicholasngai

We recently starting seeing this error show up when using actions/setup-go@v4:

Falling back to download directly from Go
Install from dist
Acquiring go1.24.9 from https://storage.googleapis.com/golang/go1.24.9.linux-amd64.tar.gz
Error: Failed to download version 1.24: Error: Unexpected HTTP response: 403

This appears to be due to the fact that anonymous access to this GCS bucket has been revoked:

Image

We know that the root cause of this issue is actions/setup-go, not Golang. We have already filed actions/setup-go#664 and several PRs (actions/setup-go#665 actions/setup-go#666 actions/setup-go#667 actions/setup-go#668) against the same repo to point to the new CDN URL that is now used to serve Golang binaries.

Sadly, they have been slow to respond to/address the issue and we are seeing widespread failures in our GHAs using Golang as a result. We aren’t asking for anonymous access to be permanently restored, but is it possible to temporarily restore access at least until actions/setup-go updates the URLs that it is pointing to to download the Go binary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions