question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to fetch anonymous token when trying to pull Triton Docker image in CI

See original GitHub issue

Description Every few CI runs I see this exact error when I try to pull the Triton Docker image. It causes my CI to fail, which is really frustrating!

#5 [internal] load metadata for nvcr.io/nvidia/tritonserver:21.09-py3
#5 sha256:427d8fa572bc82e08f6dcef7f8d657525a6eca13d4e4fe03fea3258a157c0558
#5 ERROR: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: unexpected status: 401 Unauthorized
#3 [internal] load metadata for nvcr.io/nvidia/tritonserver:21.09-py3-min
#3 sha256:ab4baa3f48727d25fa6024bc84cf599d16c85f5a907845f4bb3b82991ea5d04b
#3 ERROR: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: unexpected status: 401 Unauthorized

Triton Information 21.09

Are you using the Triton container or did you build it yourself?

I am trying to build Triton myself, which usually works well up until a few weeks ago when I started seeing this issue.

To Reproduce Try to pull the docker image a few times in a row. My CI runs every 10 minutes or so.

Expected behavior The docker image pull does not give me a 401.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dyastremskycommented, Jun 2, 2022

Thank you for the update, Bryan! Appreciate that you were able to find a workaround.

I’ll leave this ticket open to work on until Hiren closes it, as this NGC issue is still impacting users. (CC: @cnegron-nv)

0reactions
bryanmcgranecommented, Jun 2, 2022

Just to follow up. I have resolved the issue for my team. We now back up Triton in our own private container registry. When we build, we pull from our registry.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building docker image fails with failed to fetch anonymous ...
For some reason, docker pull golang:1.16-alpine3.14 worked fine but was failing when running the build script. This answer on r/docker ...
Read more >
Gitlab-runner fails to pull image from docker registry for ...
I want to use project access tokens for creating new branches and pushing changes on them. This results in a build pipeline that...
Read more >
rpc error: code = Unknown desc = failed to fetch oauth token ...
My image build stopped working with the following message today, the only change I made in this commit that is not working, and...
Read more >
Triton Inference Server - NVIDIA NGC
Select the Tags tab and locate the container image release that you want to run. · In the Pull Tag column, click the...
Read more >
Get your private Docker images by connecting to a private ...
Some registries and image repositories are public and require no login; others are not. In order to pull images from your private repository ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found