Isaacsim2.1 container : Failure: Server omniverse://localhost does not have / folder

I followed this 3. Deploy to Cloud — Omniverse Robotics documentation
to run isaacsim2.1 in container , but the isaacsim can not access neclues, and I use the start script to restart nucleus server, the nucleus sever is keeping running, I dont konw why

and I can not access nucleus from the uri on other machine

here is the necleus app log:
omni.server.app.log (224.9 KB)

then I install Manual Install Nucleus in Container following this 6. Setup FAQ — Omniverse Robotics documentation.
when I complete the last step , I occur the error:
[2022-01-17 08:47:45,459][OT] INFO: Running the web UI on http://localhost:3080
[2022-01-17 08:47:45,467][OT] INFO: Stopped the web UI.
[2022-01-17 08:47:45,467][OT] ERROR: [Errno 98] error while attempting to bind on address (‘127.0.0.1’, 3080): address already in use
Traceback (most recent call last):
File “source/monitor/web.py”, line 40, in run
File “_build/python_lib/aiohttp/web_runner.py”, line 100, in start
File “_build/python/lib/python3.8/asyncio/base_events.py”, line 1463, in create_server
OSError: [Errno 98] error while attempting to bind on address (‘127.0.0.1’, 3080): address already in use
[2022-01-17 08:47:45,468][OT] ERROR: [Errno 98] error while attempting to bind on address (‘127.0.0.1’, 3085): address already in use
Traceback (most recent call last):
File “source/monitor/service/runner.py”, line 33, in run
File “_build/idl.py/idl/service/init.py”, line 75, in run
File “_build/idl.py/idl/connection/transport/ws.py”, line 709, in start
File “_build/python_lib/websockets/server.py”, line 969, in await_impl
File “_build/python/lib/python3.8/asyncio/base_events.py”, line 1463, in create_server
OSError: [Errno 98] error while attempting to bind on address (‘127.0.0.1’, 3085): address already in use

I use netstat command to find which service use the port and I kill the PId , and run “installers/nucleus/System\ Monitor/omni-system-monitor &” command again , it occurs another error:
INFO: Running the web UI on http://localhost:3080
[2022-01-17 08:50:53,039][OT] INFO: Stopped the web UI.
[2022-01-17 08:50:53,040][OT] ERROR: unknown encoding: idna
Traceback (most recent call last):
File “source/monitor/web.py”, line 40, in run
File “_build/python_lib/aiohttp/web_runner.py”, line 100, in start
File “_build/python/lib/python3.8/asyncio/base_events.py”, line 1429, in create_server
File “_build/python/lib/python3.8/asyncio/base_events.py”, line 1369, in _create_server_getaddrinfo
File “_build/python/lib/python3.8/asyncio/base_events.py”, line 1365, in _ensure_resolved
File “_build/python/lib/python3.8/asyncio/base_events.py”, line 825, in getaddrinfo
File “_build/python/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
File “_build/python/lib/python3.8/socket.py”, line 918, in getaddrinfo
LookupError: unknown encoding: idna

Hi, Are you running the container in the Cloud or your local machine?
Do you use the --network=host flag when running the container?

yes I use the command :
sudo docker run --name isaac-sim --entrypoint bash -it --gpus all -e “ACCEPT_EULA=Y” --rm --network=host
-v ~/docker/isaac-sim/cache/ov:/root/.cache/ov:rw
-v ~/docker/isaac-sim/cache/glcache:/root/.cache/nvidia/GLCache:rw
-v ~/docker/isaac-sim/cache/computecache:/root/.nv/ComputeCache:rw
-v ~/docker/isaac-sim/logs:/root/.nvidia-omniverse/logs:rw
-v ~/docker/isaac-sim/config:/root/.nvidia-omniverse/config:rw
-v ~/docker/isaac-sim/data:/root/.local/share/ov/data:rw
-v ~/docker/isaac-sim/documents:/root/Documents:rw
nvcr.io/nvidia/isaac-sim:2021.2.1

1 Like

I have the same problem and it hapends accidently occasionally.

Yes, this happens sometimes. Make sure port 3080 and 3085 is opened on the host and no other Nucleus server is running on the host.