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

authentication error using wasm-pkg-loader #37

Open
yoshuawuyts opened this issue Jun 14, 2024 · 1 comment
Open

authentication error using wasm-pkg-loader #37

yoshuawuyts opened this issue Jun 14, 2024 · 1 comment

Comments

@yoshuawuyts
Copy link
Member

yoshuawuyts commented Jun 14, 2024

I just downloaded wasm-pkg-loader for the first time, and tried the example from the README:

wasm-pkg-loader wasi:preview1-command-adapter

For some reason this doesn't seem to work, and I'm met with an authentication error:

Error: error listing wasi:preview1-command-adapter releases

Caused by:
    0: OCI error: Authentication failure: {"errors":[{"code":"DENIED","message":"requested access to the resource is denied"}]}

    1: Authentication failure: {"errors":[{"code":"DENIED","message":"requested access to the resource is denied"}]}

I'm not sure what is causing this failure, but I assume the intent was for this to succeed? Is there something users should be configuring or installing before executing this command so it works?

@lann
Copy link
Collaborator

lann commented Jun 14, 2024

I reorganized the packages and removed the adapters for now because it wasn't clear to me if those should live under wasi: or something like ba:.

The fact that a missing package results in an auth error is I think an annoying implementation quirk of ghcr.io? Definitely a UX issue that we should address either way: #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants