I use wasmCloud with the following wit for one of my components:
package pipestack:customer@0.1.0;
interface customer {
use wrpc:rpc/error@0.1.0.{error};
run: func(input: string) -> result<string, error>;
}
world component {
import wasi:config/runtime@0.2.0-draft;
export customer;
}
When I try to build the component with wash build, I see the following error in the logs:
DEBUG oci_client::client: Failed to authenticate for image 'Reference { registry: "ghcr.io", mirror_registry: None, repository: "bytecodealliance/wasm-pkg/wrpc/rpc", tag: Some("latest"), digest: None }': {"errors":[{"code":"DENIED","message":"requested access to the resource is denied"}]}
Does anyone have an idea why this happens? I'll keep digging and report back if/when I find the solution.
While there is quite a bit of overlap, you might get better support in the wasmcloud slack: https://slack.wasmcloud.com/
Thank you, I started my troubleshooting journey over there :blush:. I'll make sure to update Slack and here when I find a resolution in case anyone else finds this through search.
Fixed it! I added the following to wasmcloud.toml
[registry.pull]
sources = [{ target = "wrpc:rpc", source = "https://github.com/wrpc/rpc/archive/v0.1.0.tar.gz" }]
Last updated: Dec 06 2025 at 05:03 UTC