Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dl/internal/version: download returns a forbidden error #45603

Closed
maraino opened this issue Apr 16, 2021 · 4 comments
Closed

dl/internal/version: download returns a forbidden error #45603

maraino opened this issue Apr 16, 2021 · 4 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@maraino
Copy link

maraino commented Apr 16, 2021

What version of Go are you using (go version)?

$ go version
go version go1.16.3 darwin/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

macOS / linux (amd64)

What did you do?

$ go get golang.org/dl/go1.16.3
$ go1.16.3 download
go1.16.3: download failed: server returned Forbidden checking size of https://storage.googleapis.com/golang/go1.16.3.darwin-amd64.tar.gz

You can see a similar error with any other version or OS.

What did you expect to see?

The download to work and go1.16.3 installed

What did you see instead?

<Error>
<Code>AccessDenied</Code>
<Message>Access denied.</Message>
<Details>
Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.
</Details>
</Error>
@gopherbot gopherbot added this to the Unreleased milestone Apr 16, 2021
@maraino maraino changed the title x/dl download returns a forbidden error x/dl: download returns a forbidden error Apr 16, 2021
@smasher164 smasher164 added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 16, 2021
@smasher164
Copy link
Member

I see the same behavior on all the other Go versions as well.

/cc @cagedmantis @dmitshur @toothrot

@cagedmantis
Copy link
Contributor

I've been able to reproduce this. We are investigating.

@cagedmantis cagedmantis added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Apr 16, 2021
@FiloSottile
Copy link
Contributor

This was due to a failed configuration change and should be fixed now, my apologies.

@gopherbot
Copy link

Change https://golang.org/cl/311375 mentions this issue: internal/version: use dl.google.com/go instead of GCS bucket

gopherbot pushed a commit to golang/dl that referenced this issue Apr 23, 2021
https://dl.google.com/go is what the https://golang.org/dl page uses,
and is less likely to be affected by configuration issues, as well as
being more geographically available.

Updates golang/go#45603

Change-Id: Ied2025e3948e795d7bbd067109dfccc8a4e28dd3
Reviewed-on: https://go-review.googlesource.com/c/dl/+/311375
Trust: Filippo Valsorda <filippo@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
@dmitshur dmitshur changed the title x/dl: download returns a forbidden error dl: download returns a forbidden error Jan 24, 2022
@dmitshur dmitshur changed the title dl: download returns a forbidden error dl/internal/version: download returns a forbidden error Jan 24, 2022
@golang golang locked and limited conversation to collaborators Jan 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

5 participants