NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

[Ubuntu 24.04][Onboard] nemohermes onboard does not forward OpenAI-compatible API on port 8642

Open lyral-commits opened this issue 5 months ago • 0 comments

Description

After nemohermes onboard completes successfully, the OpenAI-compatible API port 8642 is not forwarded on the host. The onboard summary omits port 8642 entirely, and curl http://127.0.0.1:8642/health returns connection refused (exit code 7). Documentation states the onboard flow starts the API port forward automatically. See also related bug #6285156 (NEMOCLAW_DASHBOARD_PORT=8642 security check bypass).

Environment

Device:        Ubuntu 24.04 server (x86_64)
OS:            Ubuntu 24.04.4 LTS (Noble)
Architecture:  x86_64
Node.js:       v22.22.3
npm:           10.9.8
Docker:        29.5.2
OpenShell CLI: 0.0.44
NemoClaw:      v0.0.63
Hermes Agent:  v0.14.0

Steps to Reproduce

  1. export NVIDIA_API_KEY=<valid NVIDIA Endpoints key>
  2. Run: nemohermes onboard
  3. Select inference provider: NVIDIA Endpoints
  4. Select model: nvidia/nemotron-3-super-120b-a12b (or any)
  5. Accept default sandbox name hermes
  6. Complete onboard with default settings (no messaging channels, no resource profile)
  7. Wait for onboard to complete ("Hermes is ready" shown)
  8. From host, run: curl -sf http://127.0.0.1:8642/health; echo "exit code: $?"
  9. From host, run: docker port openshell-hermes-<id>

Expected Result

  • Onboard summary lists port 8642 labeled as "OpenAI-compatible API"
  • curl http://127.0.0.1:8642/health returns HTTP 200
  • docker port shows a mapping for port 8642

Per documentation (section "Connect to Hermes"): "NemoClaw also forwards the OpenAI-compatible API on port 8642 for local clients." and "The onboard flow also starts the API port forward automatically."

Actual Result

  • Onboard summary only shows dashboard ports 18789/18791, no mention of port 8642
  • curl http://127.0.0.1:8642/health: exit code 7 (connection refused)
  • docker port openshell-hermes-<id>: no output (no port mappings)
  • ss -tlnp inside sandbox shows only ports 3128 (proxy) and 42475 (Docker DNS)

Logs

Onboard summary output:
  Hermes is ready

  Sandbox:  hermes
  Model:    nvidia/nemotron-3-super-120b-a12b (NVIDIA Endpoints)

  Access

  Hermes Agent Dashboard
  Port 18789 must be forwarded before opening this URL.
  http://127.0.0.1:18789/
  http://127.0.0.1:18791/

  Terminal:
    nemohermes hermes connect

Port check:
  $ curl -sf http://127.0.0.1:8642/health; echo "exit code: $?"
  exit code: 7

  $ docker port openshell-hermes-7bd40ba6-da0e-4b48-acbe-c83b0808a98d
  (no output)

  $ docker exec openshell-hermes-7bd40ba6-da0e-4b48-acbe-c83b0808a98d ss -tlnp
  LISTEN 0  128  10.200.0.1:3128  0.0.0.0:*  users:(("openshell-sandb",pid=1,fd=13))
  LISTEN 0  4096  127.0.0.11:42475  0.0.0.0:*

NVB#6303335

lyral-commits avatar Jun 11 '26 07:06 lyral-commits