billpress
billpress
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
I'm receiving a new error as of today when I run runpodctl config --apiKey $RUNPOD_API_KEY
Error: failed to update SSH key in the cloud: failed to get SSH keys from the cloud: API error: Unauthorized
Error: failed to update SSH key in the cloud: failed to get SSH keys from the cloud: API error: Unauthorized
I wasn't getting this error before today. I tried generating a new API key (with full perms) just in case there was an issue with it (even though I could use it successfully with a GraphQL request). Still fails. I added a print statement before this to confirm that $RUNPOD_API_KEY has the correct value.
29 replies
RRunPod
Created by billpress on 5/5/2025 in #⛅|pods
Registry auth credential not working
Hi all, I have workflow automation that builds a container, adds it to my container registry (ghcr), and then tries to spin up a pod using this container via https://rest.runpod.io/v1/pods. I pass in the ID of the Container Registry Auth credential I created in RunPod for my container registry. While I can use my container registry credentials to pull the container by hand without issue, RunPod can't. The pod's logs show authorization errors. I've triple checked the container registry auth credential ID, as well as the username (mine, as a org github admin) and PAT stored there (which has read:packages and read:org permissions). I also tried using _json_key_base64 as the username, as suggested by the AI bot support, but that didn't work. When I filed a ticket with support, they recommended I move to using templates, which won't work because I need to mount a network volume and templates don't support that. Any thoughts?
40 replies