ERROR: failed to solve: nvcr.io/nvidia/tritonserver:24.08-py3

Could you please guide how to fix this error?

(base) 2025-02-05 09:05:35 [mona@DOS ~]$ sudo systemctl daemon-reload && sudo systemctl restart docker
(base) 2025-02-05 09:05:47 [mona@DOS ~]$ sudo apt-get install git-lfs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-pkg-resources python-setuptools
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  git-lfs
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 3,544 kB of archives.
After this operation, 10.5 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 git-lfs amd64 3.0.2-1ubuntu0.3 [3,544 kB]
Fetched 3,544 kB in 1s (2,998 kB/s)
Selecting previously unselected package git-lfs.
(Reading database ... 723352 files and directories currently installed.)
Preparing to unpack .../git-lfs_3.0.2-1ubuntu0.3_amd64.deb ...
Unpacking git-lfs (3.0.2-1ubuntu0.3) ...
Setting up git-lfs (3.0.2-1ubuntu0.3) ...
Processing triggers for man-db (2.10.2-1) ...
(base) 2025-02-05 09:07:12 [mona@DOS ~]$ git lfs install --skip-repo
Git LFS initialized.
(base) 2025-02-05 09:07:15 [mona@DOS ~]$ mkdir -p  ~/workspaces/isaac_ros-dev/src
(base) 2025-02-05 09:07:31 [mona@DOS ~]$ echo "export ISAAC_ROS_WS=${HOME}/workspaces/isaac_ros-dev/" >> ~/.bashrc
(base) 2025-02-05 09:07:47 [mona@DOS ~]$ source ~/.bashrc
2025-02-05 09:07:59 [mona@DOS ~]$ realsense-viewer
 05/02 09:10:44,019 WARNING [137654437938752] (model-views.cpp:4229) Exception caught trying to detect presets: could not open directory: /home/mona/Documents/librealsense2/presets/
 05/02 09:10:53,024 ERROR [137654395995712] (librealsense-exception.h:52) map_device_descriptor Cannot open '/dev/video4 Last Error: No such file or directory
 05/02 09:10:53,033 ERROR [137654395995712] (sensor.cpp:572) acquire_power failed: map_device_descriptor Cannot open '/dev/video4 Last Error: No such file or directory
 05/02 09:10:53,033 ERROR [137654395995712] (error-handling.cpp:78) Error during polling error handler: map_device_descriptor Cannot open '/dev/video4 Last Error: No such file or directory
 05/02 09:10:54,781 WARNING [137655938001984] (model-views.cpp:4229) Exception caught trying to detect presets: could not open directory: /home/mona/Documents/librealsense2/presets/
 05/02 09:10:59,784 ERROR [137653957690944] (librealsense-exception.h:52) map_device_descriptor Cannot open '/dev/video4 Last Error: No such file or directory
 05/02 09:10:59,784 ERROR [137653957690944] (sensor.cpp:572) acquire_power failed: map_device_descriptor Cannot open '/dev/video4 Last Error: No such file or directory
 05/02 09:10:59,784 ERROR [137653957690944] (error-handling.cpp:78) Error during polling error handler: map_device_descriptor Cannot open '/dev/video4 Last Error: No such file or directory
 05/02 09:11:01,229 WARNING [137655938001984] (model-views.cpp:4229) Exception caught trying to detect presets: could not open directory: /home/mona/Documents/librealsense2/presets/
2025-02-05 09:11:36 [mona@DOS ~]$ realsense-viewer
 05/02 09:12:03,030 WARNING [129274868663872] (model-views.cpp:4229) Exception caught trying to detect presets: could not open directory: /home/mona/Documents/librealsense2/presets/
2025-02-05 09:13:04 [mona@DOS ~]$ cd ${ISAAC_ROS_WS}/src
2025-02-05 09:13:14 [mona@DOS src]$ git clone -b release-3.2 https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common.git isaac_ros_common
Cloning into 'isaac_ros_common'...
remote: Enumerating objects: 1225, done.
remote: Counting objects: 100% (229/229), done.
remote: Compressing objects: 100% (140/140), done.
remote: Total 1225 (delta 150), reused 94 (delta 89), pack-reused 996 (from 2)
Receiving objects: 100% (1225/1225), 694.71 KiB | 2.22 MiB/s, done.
Resolving deltas: 100% (528/528), done.
2025-02-05 09:13:24 [mona@DOS src]$ cd ${ISAAC_ROS_WS}/src/isaac_ros_common/scripts
2025-02-05 09:13:41 [mona@DOS scripts]$ touch .isaac_ros_common-config
2025-02-05 09:14:26 [mona@DOS scripts]$ echo CONFIG_IMAGE_KEY=ros2_humble.realsense > .isaac_ros_common-config
2025-02-05 09:16:10 [mona@DOS scripts]$ cd ${ISAAC_ROS_WS}/src/isaac_ros_common
2025-02-05 09:16:22 [mona@DOS isaac_ros_common]$ ./scripts/run_dev.sh -d ${ISAAC_ROS_WS}
Launching Isaac ROS Dev container with image key x86_64.ros2_humble.realsense: /home/mona/workspaces/isaac_ros-dev/
Building x86_64.ros2_humble.realsense base as image: isaac_ros_dev-x86_64
Building layered image for key x86_64.ros2_humble.realsense as isaac_ros_dev-x86_64
Using configured docker search paths: /home/mona/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker
Checking if base image nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble-realsense_abaf95dbad7ec06f92397c4406c5ffea exists on remote registry
Checking if base image nvcr.io/nvidia/isaac/ros:x86_64-ros2_humble_e46da4110307fe0d4de2a3060b8e9ba8 exists on remote registry
Checking if base image nvcr.io/nvidia/isaac/ros:x86_64_c14449e6861459ec29509bbf8d8ad1de exists on remote registry
Resolved the following 3 Dockerfiles for target image: x86_64.ros2_humble.realsense
/home/mona/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.realsense
/home/mona/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.ros2_humble
/home/mona/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.x86_64
Building /home/mona/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker/Dockerfile.x86_64 as image: x86_64-image with base: 
[+] Building 0.9s (3/3) FINISHED                                                                                              docker:default
 => [internal] load build definition from Dockerfile.x86_64                                                                             0.0s
 => => transferring dockerfile: 17.49kB                                                                                                 0.0s
 => ERROR [internal] load metadata for nvcr.io/nvidia/tritonserver:24.08-py3                                                            0.8s
 => [auth] nvidia/tritonserver:pull token for nvcr.io                                                                                   0.0s
------
 > [internal] load metadata for nvcr.io/nvidia/tritonserver:24.08-py3:
------
Dockerfile.x86_64:16
--------------------
  14 |     # https://docs.nvidia.com/deeplearning/frameworks/user-guide/index.html
  15 |     # https://docs.nvidia.com/deeplearning/frameworks/support-matrix/index.html
  16 | >>> FROM nvcr.io/nvidia/tritonserver:24.08-py3 AS base-amd64
  17 |     
  18 |     FROM nvcr.io/nvidia/12.6.11-devel:12.6.11-devel-aarch64-ubuntu22.04 AS base-arm64
--------------------
ERROR: failed to solve: nvcr.io/nvidia/tritonserver:24.08-py3: failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://nvcr.io/proxy_auth?scope=repository%3Anvidia%2Ftritonserver%3Apull: 401 
~/workspaces/isaac_ros-dev/src/isaac_ros_common

I am following these instructions Isaac ROS RealSense Setup — isaac_ros_docs documentation

Hi looking your terminal prompt I have the feeling your are working in a customize environment that maybe can impact the user experience.

Check the system requirements: Getting Started — isaac_ros_docs documentation

Platform Hardware Software Notes
x86_64 Ampere or higher NVIDIA GPU Architecture with 8 GB RAM or higher Ubuntu 22.04+ CUDA 12.6+

Also check the x86 installation: Compute Setup — isaac_ros_docs documentation

Let me know,
Raffaello

1 Like

Hi @Raffaello

yes I am trying to setup isaac_ros_centerpose on x86 Thinkpad laptop with nvidia 3080 GPU to work with Intel RealSense D435 camera.

mkdir -p  ~/workspaces/isaac_ros-dev/src
echo "export ISAAC_ROS_WS=${HOME}/workspaces/isaac_ros-dev/" >> ~/.bashrc
source ~/.bashrc

part of this instruction:
https://nvidia-isaac-ros.github.io/getting_started/dev_env_setup.html

It is requiring us to follow customized environment. Am I doing something wrong?

2025-02-05 09:33:17 [mona@DOS isaac_ros_common]$ uname -a
Linux DOS 6.8.0-51-generic #52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec  9 15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
2025-02-05 09:38:00 [mona@DOS isaac_ros_common]$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0
2025-02-05 09:38:07 [mona@DOS isaac_ros_common]$ nvidia-smi
Wed Feb  5 09:38:15 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.42.02              Driver Version: 555.42.02      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3080 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   53C    P8             17W /   90W |      64MiB /  16384MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      6211      G   /usr/lib/xorg/Xorg                             53MiB |
+-----------------------------------------------------------------------------------------+

Do I need to upgrade my CUDA to 12.6+?

Also, I was under the assumption the setup is using a docker, do I still need to upgrade my host CUDA to 12.6+?

Yes, otherwise you have issues for the next steps.

For the issue in your opening topic, please follow the documentation: Developer Environment Setup — isaac_ros_docs documentation

And also check if you have issues with firewall or proxies.

Try just to pull the docker image with this command from your terminal:

docker pull nvcr.io/nvidia/tritonserver:24.08-py3

If the command fail, check your internet connection

1 Like

Thanks a lot for pointing this out.

2025-02-05 09:46:06 [mona@DOS ~]$ docker pull nvcr.io/nvidia/tritonserver:24.08-py3
Error response from daemon: Head "https://nvcr.io/v2/nvidia/tritonserver/manifests/24.08-py3": unauthorized:

I am working in-person from the company and there is a chance it is blocked. I will check with our staff and let you know. I’ll be in touch.

1 Like

Problem was I regenerated the NGC key in my other machine yesterday and it invalidated this one.

Got it fixed by the following command:

2025-02-05 13:17:33 [mona@DOS ~]$ docker login nvcr.io
Authenticating with existing credentials...
Stored credentials invalid or expired
WARNING! Your password will be stored unencrypted in /home/mona/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credential-stores

Username ($oauthtoken): 
Password: 
WARNING! Your password will be stored unencrypted in /home/mona/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credential-stores

Login Succeeded
2025-02-05 13:21:41 [mona@DOS ~]$ docker pull nvcr.io/nvidia/tritonserver:24.08-py3
24.08-py3: Pulling from nvidia/tritonserver
857cc8cb19c0: Pull complete 
0b41952b72ac: Pull complete 

1 Like

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