NVIDIA / NVIDIA/IsaacTeleop

[nv_cxr_service_start] Startup failed, streaming port is unavailable

Open
#514 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
385
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
82

Description

Describe the bug
CloudXR can't start

To reproduce
Repeatedly start and stop cloudxr

Expected behavior

Observed behavior

INFO [create] Audio stream creation completed with result 0
ERROR [create] Audio capture is currently only supported on Windows platforms
 INFO [create] Creating streaming server with all configured streams
ERROR [isPortAvailableInternal] Port 49100 is already in use
ERROR [create] Port 49100 is already in use. Please check if another instance is running or set a different port via NV_CXR_SERVER_PORT environment variable.
 INFO [~Server] Uninitializing streamer logger
 INFO [create] Streaming server creation completed with result -12
ERROR [create] Server::create failed: Result::ERROR_STREAMSDK_PORT_UNAVAILABLE [/builds/cloudxr/cloudxr-openxr-runtime/src/nvidia/cxr/nv_runtime_system.cpp:400]
 INFO [createRuntimeSystem] RuntimeSystem::create completed with result: Result::ERROR_STREAMSDK_PORT_UNAVAILABLE
ERROR [createRuntimeSystem] RuntimeSystem::create failed: Result::ERROR_STREAMSDK_PORT_UNAVAILABLE [/builds/cloudxr/cloudxr-openxr-runtime/src/nvidia/cxr/nv_runtime_service.cpp:890]
 INFO [ipc_server_main_common] Server exiting: '0'
 INFO [print_end_user_failed_information]
################################################################################
#                                                                              #
#        The NVIDIA(TM) CloudXR(TM) Runtime service has failed to start.       #
#                                                                              #
# Please run the commands below and provide those logs when seeking help as it #
# will help diagnose any errors.                                               #
#                                                                              #
#     nvidia-smi 2>&1 | tee nvidia-smi.txt                                     #
#     cloudxr-service 2>&1 | tee service-logs.txt                              #
#                                                                              #
################################################################################
ERROR [nv_cxr_service_start] service->start() failed: Result::ERROR_STREAMSDK_PORT_UNAVAILABLE [/builds/cloudxr/cloudxr-openxr-runtime/src/nvidia/cxr/nv_library.cpp:380]
ERROR [nv_cxr_service_start] Startup failed, streaming port is unavailable  Check logs under /home/gear/.cloudxr/logs for details.
(venv) gear@gear-laptop-12-docker-light:~/Projects/gr00t$

Screenshots
If applicable, add screenshots to help explain your problem.

Platforms

  • Isaac Teleop Version: [e.g. 1.0.23]
  • OS: [e.g. Ubuntu X86, ARM64]
  • Integrations: [e.g. Isaac Lab, Isaac Sim, ROS2]
  • XR Device: [e.g. Quest 3, Pico 4 Ultra]
  • Additional Devices [e.g. Manus]

Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing repeated CloudXR service start and stop while checking the logs under /home/gear/.cloudxr/logs. Inspect the referenced nv_runtime_system.cpp, nv_runtime_service.cpp, and nv_library.cpp locations, and compare behavior with port 49100 and the NV_CXR_SERVER_PORT setting. Done means the service starts successfully without ERROR_STREAMSDK_PORT_UNAVAILABLE.

Written by the indexing model from the issue text.

Assessment

Domain
backend, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.