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

[Bug]: GET returned 403 Forbidden from bcr.bazel.build #2030

Open
prestonvanloon opened this issue May 14, 2024 · 0 comments
Open

[Bug]: GET returned 403 Forbidden from bcr.bazel.build #2030

prestonvanloon opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@prestonvanloon
Copy link

What happened?

ERROR: /opt/actions-runner/_work/eth-client-docker-image-builder/eth-client-docker-image-builder/source/cmd/validator/BUILD.bazel:38:10: While resolving toolchains for target //cmd/validator:validator (64afcc3): invalid registered toolchain '//toolchains:all': while parsing '//toolchains:all': no such package '@@rules_cc~//cc': java.io.IOException: Error downloading [https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch] to /data/gh-home/.cache/bazel/_bazel_root/e06669d813ee8962af5ff3fbbdf856de/external/rules_cc~/.tmp_remote_patches/module_dot_bazel_version.patch: GET returned 403 Forbidden

Version

Development (host) and target OS/architectures:

Output of bazel --version: bazel 7.1.0

Version of relevant rules from the WORKSPACE or MODULE.bazel file: https://github.com/prysmaticlabs/prysm

Language(s) and/or frameworks involved: go

How to reproduce

Not sure, but our build runners were hitting this issue until we disabled bzlmod.

Any other information?

What causes a 403? How can it be prevented?

How exactly do I setup a registry mirrior? Can it be done with a simple GCP bucket or does a server need to be online to serve requests.

@prestonvanloon prestonvanloon added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant