Riva Speech - NGC Docker pull error : Authorization Required

I am having difficulty installing the Riva speech skills container on my jetson xavier nx (ubuntu 20.4). I have downloaded riva_quickstart_v2.14

I have logged into ngc and created my personal key and can see the riva speech skills container.

Installed docker-ce

Installed gnc and successfully run

ngc config set

providing $oauthtoken and ngc key.

I have successfully executed

docker login nvcr.io

providing username: $oauthtoken, and my ngc key

docker login nvcr.io
Authenticating with existing credentials...
WARNING! Your password will be stored unencrypted in /home/coda/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

I have followed the instructions to download "nvidia/riva/riva_quickstart:2.14.0”

When I execute

bash riva_init.sh config.sh

I get the following error

$ bash riva_init.sh config.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. 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'.

Error response from daemon: Head "https://nvcr.io/v2/nvidia/riva/riva-speech/manifests/2.14.0": unauthorized: <html>

<head><title>401 Authorization Required</title></head>

<body>

<center><h1>401 Authorization Required</h1></center>

<hr><center>nginx/1.22.1</center>

</body>

</html>

Exiting.

I also tried running this from my ubuntu 18.4 AMD64 linux system but get the same response.
To simplify things, I also tried executing the docker command directly but got the same outcome.

 docker pull -q nvcr.io/nvidia/riva/riva-speech:2.14.0
 Error response from daemon: Head "https://nvcr.io/v2/nvidia/riva/riva-speech/manifests/2.14.0": unauthorized: <html>
 <head><title>401 Authorization Required</title></head>
 <body>
 <center><h1>401 Authorization Required</h1></center>
 <hr><center>nginx/1.22.1</center>
 </body>
 </html>

Please can someone help?
Thanks

2 Likes

Exactly the same problem here, trying to get this working on my new Jetson Orin AGX.

  • Created my NGC account & key
  • Installted NGC CLI and executed:

ngc config set

entering API key and hitting 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 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?

Thanks.

1 Like

Same here.
Did all the authentication.

sudo bash riva_init.sh

Does even check for a valid API key, so thats good. But it fails during download.

Please enter API key for ngc.nvidia.com: 
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.

3 Likes

same question!
Is it an official problem with nvidia?
The interface and method of generating NGC keys are different from the previous ones.

3 Likes

Still not working. This really looks like a server-side authentication problem and not a user problem …
Anyone at nvidia looking into this?

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.

3 Likes

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