Repository navigation
Description
Description
When a second (or subsequent) Hermes sandbox is created on a host where another Hermes sandbox is already running and healthy, onboard step [7/8] "Setting up Hermes Agent inside sandbox" consistently times out with "Hermes Agent gateway did not respond within 90s". The first Hermes sandbox (created interactively) passes step 7 without issue. Despite the failure, the second sandbox container starts, hermes runs inside it, and inference works via nemohermes {sandbox} exec --no-tty -- hermes -z {prompt}. The sandbox is left in a partially-onboarded state with no policies applied.
Platform scope: Reproduced on Ubuntu 24.04 only; other platforms not tested.
Regression: Unknown — earlier versions not tested for this specific multi-sandbox scenario.
OpenShell issue: No
Environment
Device: Ubuntu 24.04 server (x86_64, NVIDIA A100-SXM4-40GB)
OS: Ubuntu 24.04.4 LTS
Architecture: x86_64
Node.js: v22.16.0
npm: 10.9.2
Docker: 29.5.2
OpenShell CLI: openshell 0.0.101
NemoClaw: v0.0.111
Hermes Agent: v0.19.0 (2026.7.20)
OpenClaw: 2026.7.1 (2d2ddc4) [my-assistant sandbox]
Steps to Reproduce
- Run:
nemohermes onboard --agent hermes --name my-hermes
(Complete the interactive wizard; step [7/8] passes, sandbox becomes healthy.) - Verify first sandbox works:
nemohermes my-hermes exec --no-tty -- hermes -z "hello"
- Export
NVIDIA_API_KEYfrom env or vault, then run second onboard:NEMOCLAW_NON_INTERACTIVE=1 NEMOCLAW_PROVIDER=build \ nemohermes onboard --non-interactive --agent hermes --name hermes-core-test
- Observe step [7/8] "Setting up Hermes Agent inside sandbox" timeout at 90s.
- Verify inference still works on the partially-onboarded sandbox:
nemohermes hermes-core-test exec --no-tty -- hermes -z "say ok"
Expected Result
Step [7/8] completes successfully for all Hermes sandboxes, regardless of how many other Hermes sandboxes are already running on the same host. Onboard exits 0 and all policy presets are applied.
Actual Result
[7/8] Setting up Hermes Agent inside sandbox
Waiting for Hermes Agent gateway (up to 90s)...
✗ Hermes Agent gateway did not respond within 90s
Check: nemohermes hermes-core-test logs --follow
Onboarding did not finish. Resume from the step that failed with:
nemohermes onboard --resume
Reproduced twice (hermes-core-test and a second sandbox named reob-test). Resuming onboard with nemohermes onboard --resume hits the same timeout immediately.
Step 5 confirms inference is functional despite the probe failure — nemohermes hermes-core-test exec --no-tty -- hermes -z "say ok" exits 0 with response "ok".
Additional observations:
- Inside the second sandbox container,
hermes.real gateway runIS running (port 19119). - Second sandbox dashboard port was 18791 (my-hermes shifted to 18790; 18789 was taken).
nemohermes hermes-core-test statusshows: Inference healthy, Harness: Hermes Agent (gateway), Agent: Hermes Agent v0.19.0 — but policies: none and phase status: not verified.
Logs
From: nemohermes hermes-core-test logs (relevant OpenShell gateway lines)
[1787215826.155] [gateway] [INFO] supervisor session: relay opened successfully
[1787215826.155] [gateway] [INFO] relay stream: claimed pending relay, bridging
[1787215826.155] [gateway] [INFO] ExecSandbox (relay): command started
[1787215826.159] [sandbox] [ocsf] CONFIG:APPLYING Applying Landlock filesystem sandbox [abi:V2 compat:BestEffort ro:10 rw:11]
[1787215826.181] [sandbox] [ocsf] NET:CLOSE ssh relay closed
Process listing inside second sandbox at time of failure:
sandbox 326 hermes.real gateway run
sandbox 867 hermes.real dashboard --host 127.0.0.1 --port 19119 --skip-build --no-open --isolated
The gateway process is running but the onboard probe did not reach it within 90s.
Activity
lyral-commits commentedon Aug 20, 2026
Internal tracking: NVBug 6640708. Additional v0.0.111 non-sanity evidence from targeted pipeline 63666451 shows the same Hermes Agent gateway step [7/8] 90s timeout across macOS, WSL x86/arm, DGX Spark, Jetson Thor, Ubuntu 22/24/26 GPU axes for T6170094/T6108443 setup.
fix(onboard): probe the sandbox's own Hermes API port (#9747)
hulynn commentedon Aug 21, 2026
VERIFIED FIXED — v0.0.113 (Ubuntu 26.04 x86_64)
Fix PR #9747 is present in the v0.0.113 release tag.
Reproduced the multi-Hermes scenario: onboarded a first Hermes sandbox to Ready (holding the Hermes gateway ports 8642 + 18789), then onboarded a SECOND Hermes sandbox while the first was still running.
Result — the second sandbox's step [7/8] completes normally:
[7/8] Setting up Hermes Agent inside sandbox
Waiting for Hermes Agent gateway (up to 90s)...
✓ Hermes Agent gateway is healthy
✓ Deployment verified — gateway, dashboard, and inference route are healthy.
Onboard exits 0 and the second sandbox gets its own dashboard (18790). No 90s timeout at [7/8] on the second Hermes sandbox.
(Inference provider used: local Ollama. The [7/8] Hermes gateway health probe — the fix probes the sandbox's own Hermes API port — is provider-independent.)
Status left unchanged for the bug owner to close.