NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

Nemoclaw onboarding - gateway connection issue

Open vizo-git opened this issue 6 months ago • 7 comments

Description

Onboarding gateway fails - unable to onboard current version of nemoclaw

Symptoms: pre-built image doesn't open properly ports

Created container in docker + same state after failing: Image

Image

Reproduction Steps

curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash or ~/.nemoclaw/source/install.sh or nemoclaw onboard
--fresh
--name my-nemoclaw-v44
--agent openclaw
--no-gpu
--yes-i-accept-third-party-software

Environment

  • OS: Windows 11 + WSL2 v2.7.3.0 (Ubuntu 22 LTS)
  • Node.js: v22.22.3
  • Npm: 10.9.8
  • Docker: Docker Desktop 29.4.3
  • Nemoclaw: v0.0.44
  • Nemoclaw docker image: sha256:c4a8d5503dfb2a3eb8ab5f807da5bc69a85730fb49b5cfca2330194ebcc41c7b

Debug Output

> curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash

   ███╗   ██╗███████╗███╗   ███╗ ██████╗  ██████╗██╗      █████╗ ██╗    ██╗
   ████╗  ██║██╔════╝████╗ ████║██╔═══██╗██╔════╝██║     ██╔══██╗██║    ██║
   ██╔██╗ ██║█████╗  ██╔████╔██║██║   ██║██║     ██║     ███████║██║ █╗ ██║
   ██║╚██╗██║██╔══╝  ██║╚██╔╝██║██║   ██║██║     ██║     ██╔══██║██║███╗██║
   ██║ ╚████║███████╗██║ ╚═╝ ██║╚██████╔╝╚██████╗███████╗██║  ██║╚███╔███╔╝
   ╚═╝  ╚═══╝╚══════╝╚═╝     ╚═╝ ╚═════╝  ╚═════╝╚══════╝╚═╝  ╚═╝ ╚══╝╚══╝

  Launch OpenClaw in an OpenShell sandbox.


[1/3] Node.js
  ──────────────────────────────────────────────────
[INFO]  Node.js found: v22.22.3
[INFO]  Runtime OK: Node.js v22.22.3, npm 10.9.8

[2/3] NemoClaw CLI
  ──────────────────────────────────────────────────
[INFO]  Installer payload is not a persistent source checkout — installing from GitHub…
[INFO]  Installing NemoClaw from GitHub…
[INFO]  Resolved install ref: latest
  ✓  Cloning NemoClaw source
  ✓  Preparing OpenClaw package
  ✓  Installing NemoClaw dependencies
  ✓  Building NemoClaw CLI modules
  ✓  Building NemoClaw plugin
  ✓  Linking NemoClaw CLI
  ✓  Installing OpenShell CLI
[INFO]  Verified: nemoclaw is available at /home/xxxx/.local/bin/nemoclaw

[3/3] Onboarding
  ──────────────────────────────────────────────────

  Detected container runtime: docker-desktop
  Running under WSL
[INFO]  Installer stdin is piped; attaching the usage notice to /dev/tty…
[INFO]  Running nemoclaw onboard…
[INFO]  Previous onboarding session failed.
  Resume the failed session, or start fresh? [R/f]: f
[INFO]  Installer stdin is piped; attaching onboarding to /dev/tty…

  NemoClaw Onboarding
  ===================

  [1/8] Preflight checks
  ──────────────────────────────────────────────────
  ✓ Docker is running
  ✓ Container DNS resolution works
  ✓ Container runtime: docker-desktop
  ⓘ Running under WSL
  ✓ Container runtime resources: 20 vCPU / 14.6 GiB
  ✓ openshell CLI: openshell 0.0.39
  Cleaning up previous NemoClaw session...
! No active forward found for port 18789
  ✓ Previous session cleaned up
  ✓ Port 8080 available (OpenShell gateway)
  ✓ NVIDIA GPU detected (NVIDIA GeForce RTX 3070 Ti, 8192 MB)
  ✓ Docker CDI GPU support detected (/etc/cdi/nvidia.yaml)
  ✓ Sandbox GPU: enabled (auto)
  ✓ Memory OK: 14983 MB RAM + 4096 MB swap
  NVIDIA GPU detected; enabling OpenShell GPU passthrough. Use --no-gpu to opt out.

  [2/8] Starting OpenShell gateway
  ──────────────────────────────────────────────────
  Starting OpenShell Docker-driver gateway...
  Gateway log: /home/xxxx/.local/state/nemoclaw/openshell-docker-gateway/openshell-gateway.log
  OpenShell gateway compatibility patch active (host glibc 2.35 is older than openshell-gateway requirement 2.39).
  Running openshell-gateway inside a Docker compatibility container.
  Compatibility gateway bind: 0.0.0.0 (required for Docker sandbox callbacks).
  Docker-driver gateway failed to start.
  Gateway log tail:
    2026-05-17T11:49:12.680828Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
    2026-05-17T11:49:12.682710Z  INFO openshell_server: Using compute driver driver=docker
    2026-05-17T11:49:12.706011Z  INFO openshell_server: Server listening address=0.0.0.0:8080
    2026-05-17T11:49:12.706036Z  INFO openshell_server: Health server disabled
    2026-05-17T11:49:12.706039Z  INFO openshell_server: Metrics server disabled
    2026-05-17T11:49:12.706040Z  INFO openshell_server: TLS disabled — accepting plaintext connections
    2026-05-17T12:44:13.843978Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
    2026-05-17T12:44:13.844008Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
    2026-05-17T12:44:13.846426Z  INFO openshell_server: Using compute driver driver=docker
    2026-05-17T12:44:13.873648Z  INFO openshell_server: Server listening address=0.0.0.0:8080
    2026-05-17T12:44:13.873675Z  INFO openshell_server: Health server disabled
    2026-05-17T12:44:13.873678Z  INFO openshell_server: Metrics server disabled
    2026-05-17T12:44:13.873679Z  INFO openshell_server: TLS disabled — accepting plaintext connections
    2026-05-17T12:50:03.033744Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
    2026-05-17T12:50:03.033778Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
    2026-05-17T12:50:03.035649Z  INFO openshell_server: Using compute driver driver=docker
    2026-05-17T12:50:03.064197Z  INFO openshell_server: Server listening address=0.0.0.0:8080
    2026-05-17T12:50:03.064224Z  INFO openshell_server: Health server disabled
    2026-05-17T12:50:03.064227Z  INFO openshell_server: Metrics server disabled
    2026-05-17T12:50:03.064228Z  INFO openshell_server: TLS disabled — accepting plaintext connections
  Troubleshooting:
    tail -100 /home/xxxx/.local/state/nemoclaw/openshell-docker-gateway/openshell-gateway.log
    docker info --format '{{json .CDISpecDirs}}'

Logs

> tail -100 /home/xxxx/.local/state/nemoclaw/openshell-docker-gateway/openshell-gateway.log
2026-05-17T00:36:59.873835Z  INFO openshell_server: Health server disabled
2026-05-17T00:36:59.873841Z  INFO openshell_server: Metrics server disabled
2026-05-17T00:36:59.873843Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T00:39:13.378091Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T00:39:13.378124Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T00:39:13.380759Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T00:39:13.415414Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T00:39:13.415443Z  INFO openshell_server: Health server disabled
2026-05-17T00:39:13.415446Z  INFO openshell_server: Metrics server disabled
2026-05-17T00:39:13.415448Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T00:39:18.812393Z  INFO openshell_server: Shutdown signal received; stopping gateway
2026-05-17T00:39:18.820411Z  INFO openshell_server::compute: Stopped Docker sandbox containers during gateway shutdown stopped_containers=0
2026-05-17T00:39:21.124753Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T00:39:21.124809Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T00:39:21.127878Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T00:39:21.178539Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T00:39:21.178581Z  INFO openshell_server: Health server disabled
2026-05-17T00:39:21.178584Z  INFO openshell_server: Metrics server disabled
2026-05-17T00:39:21.178586Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T00:40:27.620682Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T00:40:27.620711Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T00:40:27.622634Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T00:40:27.656664Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T00:40:27.656771Z  INFO openshell_server: Health server disabled
2026-05-17T00:40:27.656784Z  INFO openshell_server: Metrics server disabled
2026-05-17T00:40:27.656799Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T00:40:33.411704Z  INFO openshell_server: Shutdown signal received; stopping gateway
2026-05-17T00:40:33.424055Z  INFO openshell_server::compute: Stopped Docker sandbox containers during gateway shutdown stopped_containers=0
2026-05-17T00:40:35.569646Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T00:40:35.569706Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T00:40:35.572505Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T00:40:35.622173Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T00:40:35.622221Z  INFO openshell_server: Health server disabled
2026-05-17T00:40:35.622224Z  INFO openshell_server: Metrics server disabled
2026-05-17T00:40:35.622226Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T00:43:12.932809Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T00:43:12.932835Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T00:43:12.935123Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T00:43:12.973014Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T00:43:12.973045Z  INFO openshell_server: Health server disabled
2026-05-17T00:43:12.973049Z  INFO openshell_server: Metrics server disabled
2026-05-17T00:43:12.973050Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T00:47:10.679178Z  INFO openshell_server: Shutdown signal received; stopping gateway
2026-05-17T00:47:10.689807Z  INFO openshell_server::compute: Stopped Docker sandbox containers during gateway shutdown stopped_containers=0
2026-05-17T00:47:12.490236Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T00:47:12.490279Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T00:47:12.494091Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T00:47:12.543679Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T00:47:12.543726Z  INFO openshell_server: Health server disabled
2026-05-17T00:47:12.543730Z  INFO openshell_server: Metrics server disabled
2026-05-17T00:47:12.543732Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T00:59:27.397134Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T00:59:27.397170Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T00:59:27.400284Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T00:59:27.445053Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T00:59:27.445098Z  INFO openshell_server: Health server disabled
2026-05-17T00:59:27.445102Z  INFO openshell_server: Metrics server disabled
2026-05-17T00:59:27.445105Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T01:01:39.965606Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T01:01:39.965643Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T01:01:39.968391Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T01:01:40.000824Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T01:01:40.000852Z  INFO openshell_server: Health server disabled
2026-05-17T01:01:40.000857Z  INFO openshell_server: Metrics server disabled
2026-05-17T01:01:40.000858Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T11:21:45.105736Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T11:21:45.105767Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T11:21:45.108081Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T11:21:45.133167Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T11:21:45.133191Z  INFO openshell_server: Health server disabled
2026-05-17T11:21:45.133194Z  INFO openshell_server: Metrics server disabled
2026-05-17T11:21:45.133195Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T11:49:12.680800Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T11:49:12.680828Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T11:49:12.682710Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T11:49:12.706011Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T11:49:12.706036Z  INFO openshell_server: Health server disabled
2026-05-17T11:49:12.706039Z  INFO openshell_server: Metrics server disabled
2026-05-17T11:49:12.706040Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T12:44:13.843978Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T12:44:13.844008Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T12:44:13.846426Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T12:44:13.873648Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T12:44:13.873675Z  INFO openshell_server: Health server disabled
2026-05-17T12:44:13.873678Z  INFO openshell_server: Metrics server disabled
2026-05-17T12:44:13.873679Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T12:50:03.033744Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T12:50:03.033778Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T12:50:03.035649Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T12:50:03.064197Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T12:50:03.064224Z  INFO openshell_server: Health server disabled
2026-05-17T12:50:03.064227Z  INFO openshell_server: Metrics server disabled
2026-05-17T12:50:03.064228Z  INFO openshell_server: TLS disabled — accepting plaintext connections
2026-05-17T12:53:12.570390Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
2026-05-17T12:53:12.570415Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
2026-05-17T12:53:12.572084Z  INFO openshell_server: Using compute driver driver=docker
2026-05-17T12:53:12.598875Z  INFO openshell_server: Server listening address=0.0.0.0:8080
2026-05-17T12:53:12.598901Z  INFO openshell_server: Health server disabled
2026-05-17T12:53:12.598903Z  INFO openshell_server: Metrics server disabled
2026-05-17T12:53:12.598905Z  INFO openshell_server: TLS disabled — accepting plaintext connections

and 

> docker info --format '{{json .CDISpecDirs}}'
["/etc/cdi","/var/run/cdi"]

> openshell gateway select
? Select a gateway
  NAME      ENDPOINT               TYPE   AUTH ›
❯ nemoclaw  http://127.0.0.1:8080  local  plaintext

Checklist

  • [x] I confirmed this bug is reproducible
  • [x] I searched existing issues and this is not a duplicate

vizo-git avatar May 17 '26 13:05 vizo-git

cooking up a resolution https://github.com/Iamkewl/NemoClaw/pull/2 Workflow passed on my fork https://github.com/NVIDIA/NemoClaw/pull/3669 Should be a solve

Iamkewl avatar May 17 '26 22:05 Iamkewl

Hi, Thank you for prompt response, but I wasn't able to come back to the deployment and here I am.

I have pulled your PR 3669

You are applying some security changes to your deployment there are some interferencing build decisions.

Here is the output from your after opting out auto config + sec policy:

 ./install.sh --fresh
[INFO]  Detected Windows WSL.
  Run express install (auto-configures inference and applies suggested security policy)? [Y/n]: y
[INFO]  Using express install for Windows WSL.

   ███╗   ██╗███████╗███╗   ███╗ ██████╗  ██████╗██╗      █████╗ ██╗    ██╗
   ████╗  ██║██╔════╝████╗ ████║██╔═══██╗██╔════╝██║     ██╔══██╗██║    ██║
   ██╔██╗ ██║█████╗  ██╔████╔██║██║   ██║██║     ██║     ███████║██║ █╗ ██║
   ██║╚██╗██║██╔══╝  ██║╚██╔╝██║██║   ██║██║     ██║     ██╔══██║██║███╗██║
   ██║ ╚████║███████╗██║ ╚═╝ ██║╚██████╔╝╚██████╗███████╗██║  ██║╚███╔███╔╝
   ╚═╝  ╚═══╝╚══════╝╚═╝     ╚═╝ ╚═════╝  ╚═════╝╚══════╝╚═╝  ╚═╝ ╚══╝╚══╝

  Launch OpenClaw in an OpenShell sandbox.  v0.0.46-27-g37f8eaa7a


[1/3] Node.js
  ──────────────────────────────────────────────────
[INFO]  Node.js found: v22.22.3
[INFO]  Runtime OK: Node.js v22.22.3, npm 10.9.8

[2/3] NemoClaw CLI
  ──────────────────────────────────────────────────
[INFO]  NemoClaw package.json found in the selected source checkout — installing from source…
  ✓  Preparing OpenClaw package
  ✓  Installing NemoClaw dependencies
  ✓  Building NemoClaw CLI modules
  ✓  Building NemoClaw plugin
  ✓  Linking NemoClaw CLI
[INFO]  Verified: nemoclaw is available at /home/xxxx/.local/bin/nemoclaw

[3/3] Onboarding
  ──────────────────────────────────────────────────

  Detected container runtime: docker-desktop
  Running under WSL
[INFO]  Running nemoclaw onboard…
[INFO]  Starting a fresh onboarding session (--fresh).
  [non-interactive] Agent: OpenClaw

  NemoClaw Onboarding
  (non-interactive mode)
  ===================

  [1/8] Preflight checks
  ──────────────────────────────────────────────────
  ✓ Docker is running
  ✗ DNS resolution from inside a docker container failed.
    Non-authoritative answer:
    *** Can't find nemoclaw-dns-probe-7e22f52773ce91dd.invalid: No answer

  The sandbox build runs `npm ci` inside a container and needs to resolve
  registry.npmjs.org. On networks that block outbound UDP:53 to public DNS
  (common in corporate environments that force DNS-over-TLS on the host),
  the build appears to hang for ~15 minutes and then prints the cryptic
  `npm error Exit handler never called`. See issue #2101.

  Fix options:

  1. Configure Docker Desktop's DNS (Windows / WSL via Docker Desktop):
       Docker Desktop for Windows → Settings → Docker Engine — edit the JSON to add:
         { "dns": ["<corp-dns-ip>"] }
       Then click Apply & Restart.

  2. If you run docker natively inside WSL (not Docker Desktop), apply the Linux fix:
       sudo mkdir -p /etc/systemd/resolved.conf.d/
       printf '[Resolve]\nDNSStubListenerExtra=172.17.0.1\n' | sudo tee /etc/systemd/resolved.conf.d/docker-bridge.conf
       sudo systemctl restart systemd-resolved

     Then add the dns key to /etc/docker/daemon.json (safely merges with existing config if jq is installed):
       sudo cp /etc/docker/daemon.json /etc/docker/daemon.json.bak-$(date +%s) 2>/dev/null
       { sudo jq '. + {"dns":["172.17.0.1"]}' /etc/docker/daemon.json 2>/dev/null || echo '{"dns":["172.17.0.1"]}'; } | sudo tee /etc/docker/daemon.json.new >/dev/null
       sudo mv /etc/docker/daemon.json.new /etc/docker/daemon.json
       sudo systemctl restart docker

  Verify the fix worked:
    docker run --rm busybox nslookup registry.npmjs.org

Also DNS resolution:

As you can see the deployment has failed, but when I run dns check it works:

docker run --rm busybox nslookup registry.npmjs.org
Server:         192.168.65.7   <--- this is internal docker dns
Address:        192.168.65.7:53

Non-authoritative answer:

Non-authoritative answer:
Name:   registry.npmjs.org
Address: 104.16.10.34
Name:   registry.npmjs.org
Address: 104.16.4.34
....

Also any other container in the network can access the dns record. You should allow at the installation point the access and then apply the security measurements, which openshell disables by default (by design).

This could be done post-deployment by executing openshell command.

This is default response of the docker, it should be time based(30 second is enough for request to return) rather than manually setting up dns server in docker:

docker run --rm busybox nslookup nemoclaw-dns-probe-aaaaa.invalid
Server:         192.168.65.7
Address:        192.168.65.7:53

Non-authoritative answer:

*** Can't find nemoclaw-dns-probe-aaaaa.invalid: No answer


> docker run --rm busybox sh -c 'nslookup nemoclaw-dns-probe-aaaaa.invalid; echo exit=$?'
Server:         192.168.65.7
Address:        192.168.65.7:53

Non-authoritative answer:

*** Can't find nemoclaw-dns-probe-aaaaa.invalid: No answer

exit=0

After adding DNS to docker:

 ./install.sh --fresh
[INFO]  Detected Windows WSL.
  Run express install (auto-configures inference and applies suggested security policy)? [Y/n]: y
[INFO]  Using express install for Windows WSL.

   ███╗   ██╗███████╗███╗   ███╗ ██████╗  ██████╗██╗      █████╗ ██╗    ██╗
   ████╗  ██║██╔════╝████╗ ████║██╔═══██╗██╔════╝██║     ██╔══██╗██║    ██║
   ██╔██╗ ██║█████╗  ██╔████╔██║██║   ██║██║     ██║     ███████║██║ █╗ ██║
   ██║╚██╗██║██╔══╝  ██║╚██╔╝██║██║   ██║██║     ██║     ██╔══██║██║███╗██║
   ██║ ╚████║███████╗██║ ╚═╝ ██║╚██████╔╝╚██████╗███████╗██║  ██║╚███╔███╔╝
   ╚═╝  ╚═══╝╚══════╝╚═╝     ╚═╝ ╚═════╝  ╚═════╝╚══════╝╚═╝  ╚═╝ ╚══╝╚══╝

  Launch OpenClaw in an OpenShell sandbox.  v0.0.46-27-g37f8eaa7a


[1/3] Node.js
  ──────────────────────────────────────────────────
[INFO]  Node.js found: v22.22.3
[INFO]  Runtime OK: Node.js v22.22.3, npm 10.9.8

[2/3] NemoClaw CLI
  ──────────────────────────────────────────────────
[INFO]  NemoClaw package.json found in the selected source checkout — installing from source…
  ✓  Preparing OpenClaw package
  ✓  Installing NemoClaw dependencies
  ✓  Building NemoClaw CLI modules
  ✓  Building NemoClaw plugin
  ✓  Linking NemoClaw CLI
[INFO]  Verified: nemoclaw is available at /home/xxxx/.local/bin/nemoclaw

[3/3] Onboarding
  ──────────────────────────────────────────────────

  Detected container runtime: docker-desktop
  Running under WSL
[INFO]  Running nemoclaw onboard…
[INFO]  Starting a fresh onboarding session (--fresh).
  [non-interactive] Agent: OpenClaw

  NemoClaw Onboarding
  (non-interactive mode)
  ===================

  [1/8] Preflight checks
  ──────────────────────────────────────────────────
  ✓ Docker is running
  ⚠ Container DNS probe inconclusive (reason: no_output).
    docker run produced no output (timed out or failed to start)
    Proceeding. If the sandbox build later hangs at `npm ci`, see issue #2101.
  ✓ Container runtime: docker-desktop
  ⓘ Running under WSL
  ✓ Container runtime resources: 20 vCPU / 14.6 GiB
  ✓ openshell CLI: openshell 0.0.39
  Cleaning up previous NemoClaw session...
! No active forward found for port 18789
  ✓ Previous session cleaned up
  ✓ Port 8080 available (OpenShell gateway)
  ✓ NVIDIA GPU detected (NVIDIA GeForce RTX 3070 Ti, 8192 MB)
  ✓ Docker CDI GPU support detected (/etc/cdi/nvidia.yaml)
  ✓ Sandbox GPU: enabled (auto)
  ✓ Memory OK: 14983 MB RAM + 4096 MB swap
  NVIDIA GPU detected; enabling OpenShell GPU passthrough. Use --no-gpu to opt out.

  [2/8] Starting OpenShell gateway
  ──────────────────────────────────────────────────
  Starting OpenShell Docker-driver gateway...
  Gateway log: /home/xxxx/.local/state/nemoclaw/openshell-docker-gateway/openshell-gateway.log
  OpenShell gateway compatibility patch active (host glibc 2.35 is older than openshell-gateway requirement 2.39).
  Running openshell-gateway inside a Docker compatibility container.
  Compatibility gateway bind: 0.0.0.0 (required for Docker sandbox callbacks).
  Docker-driver gateway failed to start.
  Gateway log tail:
    2026-05-21T23:00:02.484358Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
    2026-05-21T23:00:02.486901Z  INFO openshell_server: Using compute driver driver=docker
    2026-05-21T23:00:02.524824Z  INFO openshell_server: Server listening address=0.0.0.0:8080
    2026-05-21T23:00:02.524853Z  INFO openshell_server: Health server disabled
    2026-05-21T23:00:02.524856Z  INFO openshell_server: Metrics server disabled
    2026-05-21T23:00:02.524857Z  INFO openshell_server: TLS disabled — accepting plaintext connections
    2026-05-21T23:01:30.400258Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
    2026-05-21T23:01:30.400297Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
    2026-05-21T23:01:30.402098Z  INFO openshell_server: Using compute driver driver=docker
    2026-05-21T23:01:30.437320Z  INFO openshell_server: Server listening address=0.0.0.0:8080
    2026-05-21T23:01:30.437348Z  INFO openshell_server: Health server disabled
    2026-05-21T23:01:30.437351Z  INFO openshell_server: Metrics server disabled
    2026-05-21T23:01:30.437352Z  INFO openshell_server: TLS disabled — accepting plaintext connections
    2026-05-21T23:02:31.649115Z  INFO openshell_server::cli: TLS disabled — listening on plaintext HTTP
    2026-05-21T23:02:31.649162Z  INFO openshell_server::cli: Starting OpenShell server bind=0.0.0.0:8080
    2026-05-21T23:02:31.651196Z  INFO openshell_server: Using compute driver driver=docker
    2026-05-21T23:02:31.689071Z  INFO openshell_server: Server listening address=0.0.0.0:8080
    2026-05-21T23:02:31.689091Z  INFO openshell_server: Health server disabled
    2026-05-21T23:02:31.689093Z  INFO openshell_server: Metrics server disabled
    2026-05-21T23:02:31.689095Z  INFO openshell_server: TLS disabled — accepting plaintext connections
  Troubleshooting:
    tail -100 /home/xxxx/.local/state/nemoclaw/openshell-docker-gateway/openshell-gateway.log
    docker info --format '{{json .CDISpecDirs}}'

At the end the PR have not fixed the issue as I meantioned above the container is not operning port 8080 as mentioned above in the opening request.

EXPOSE 8080 in final dockerfile would do the trick or biding via docker compose file.

vizo-git avatar May 21 '26 23:05 vizo-git

hmm understood. Seems like I got the issue wrong. Ill close the PR

Iamkewl avatar May 23 '26 17:05 Iamkewl

@Iamkewl is this issue still reproducible?

wscurran avatar Jun 09 '26 17:06 wscurran

@vizo-git , Can you try this to see if the issue still reproduces?

  1. Uninstall docker desktop
  2. Save or back up any data you want to keep from the existing WSL distribution first, then remove it by unregistering it with wsl --unregister <DistributionName>
  3. Open a Powershell on windows host and run
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/NVIDIA/NemoClaw/main/scripts/bootstrap-windows.ps1' -OutFile "$env:TEMP\bootstrap-windows.ps1"; powershell.exe -ExecutionPolicy Bypass -File "$env:TEMP\bootstrap-windows.ps1"

zyang-dev avatar Jun 10 '26 23:06 zyang-dev

@Iamkewl is this issue still reproducible?

Can check on the same only after 5 days. Out of station currently Will keep a tab on this. If there's no reply from op then make sure to 👍

Iamkewl avatar Jun 11 '26 20:06 Iamkewl

Thanks for the report and follow-up. This was against the older v0.0.44 WSL/Docker Desktop path, the linked PR was closed after it turned out not to address the root cause, and we do not have a current-version reproduction after the later installer/WSL changes. Closing this for now as current-repro-needed. If it still reproduces on the latest release, please open a fresh issue or comment with the full current installer/onboard log, Docker Desktop version, WSL version, and the sandbox/gateway log tail.

sandl99 avatar Jul 06 '26 03:07 sandl99