RIVA - ngc docker pull error : unauthorized: authentication required

Hello,

I am trying to install RIVA on my Jetson AGX Orin following the Quick Start Guide for embedded but it fails at the bash riva_init.sh step with a unauthorized: authentication required.

  • I created my NGC account & key
  • I installed the NGC CLI and executed:

ngc config set

entering API key and hitting <enter> for the defaults for the rest.

Enter API key. Choices: [<VALID_APIKEY>, ‘no-apikey’]: nvapi-***
Enter CLI output format type [ascii]. Choices: [‘ascii’, ‘csv’, ‘json’]:
Enter org [re1drmm60mmg]. Choices: [‘re1drmm60mmg’]:
Enter team [no-team]. Choices: [‘no-team’]:
Enter ace [no-ace]. Choices: [‘no-ace’]:
Validating configuration…
Successfully validated configuration.
Saving configuration…
Successfully saved NGC configuration to /home/colin/.ngc/config

logged in docker with user $oauthtoken and API key as password:

docker login nvcr.io
Username: $oauthtoken
Password:
WARNING! Your password will be stored unencrypted in /home/colin/.docker/config.json.
Configure a credential helper to remove this warning. See
docker login | Docker Docs
Login Succeeded

and finally when trying to init Riva it fails at authenticating with docker :

bash riva_init.sh
Logging into NGC docker registry if necessary…
Pulling required docker images if necessary…
Note: This may take some time, depending on the speed of your Internet connection.
Pulling Riva Speech Server images.
Pulling nvcr.io/nvidia/riva/riva-speech:2.14.0-l4t-aarch64. This may take some time…
Attempt 1 out of 3 failed
Trying again…
Attempt 2 out of 3 failed
Trying again…
Attempt 3 out of 3 failed
Error occurred pulling ‘nvcr.io/nvidia/riva/riva-speech:2.14.0-l4t-aarch64’.
Error response from daemon: Head “https://nvcr.io/v2/nvidia/riva/riva-speech/manifests/2.14.0-l4t-aarch64”: unauthorized: authentication required
Exiting.

Note that I can successfully pull other packages, for example pytorch from nvcr.io/nvidia/

What is going on?? I am missing permissions or subscriptions or something else? When generating my key I chose all services offered: All Foundation Models and Endpoints, NGC Catalog, Private Registry. Am I missing a service?

Thanks for your help.

2 Likes

REJOICE!
The NGC Setup has been updated and there is now a Generate Personal Key option AND the Generate API Key now generate a valid key solving the above unauthorized: authentication required error.

I first tried Generate Personal Key and it didn’t work (same problem) but noticed it was the same format as the previous “API Key” with a pattern starting with nvapi-_______
I then tried Generate API Key and noticed it does not start with nvapi- and they added the warning that generating a new API would invalidate any previous keys. Tried the new API key and it now works!
Thanks for solving the key generation!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.