-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
401 Unauthorized during oci_pull #284
Comments
I have this same problem as well. The problem is here: rules_oci/oci/private/download.bzl Line 9 in e426977
Probably just needs to check if that key is in the dictionary before calling it. |
It seems like your patch is applied to 1.2.0(release note) but this error still happens to me 😢 even though I update rules_oci to 1.2.0. Does 1.2.0 work for you? |
@lbjcom - It works for me with this release, what does your |
@lbjcom no -- it doesn't work for me still. I don't have this fatal error anymore, but i am trying to oci_pull on a machine with no authorization credentials whatsoever and that doesn't work. rules_oci is pulling with curl when no credentials are present and then that is giving a different sha256.
If #292 is resolved, it might help. I'm not sure. Edit: Link to public CI run: https://buildkite.com/prysmatic-labs/prysm/builds/74812#018955ea-40fe-4419-afb3-f4d3c2f627ce |
I'm experiencing the same error as @prestonvanloon and I think that it is related to the option '--experimental_remote_downloader' we both have enabled. |
@iDiogenes Here's the
|
maybe need to add NVCR to |
I am migrating my project from rules_docker to rules_oci. During the migration I found that
oci_pull
raises401 Unauthorized
in following case:with following
WORKSPACE
andBUILD
files:Please let me know how I can resolve this problem 😢
Thanks!
The text was updated successfully, but these errors were encountered: