Skip to content

[Ubuntu 24.04][Onboard] NemoHermes onboard step [7/8] Hermes Agent gateway health probe times out when a second Hermes sandbox is created #9739

Closed

Description

@hulynn

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

  1. Run: nemohermes onboard --agent hermes --name my-hermes
    (Complete the interactive wizard; step [7/8] passes, sandbox becomes healthy.)
  2. Verify first sandbox works:
    nemohermes my-hermes exec --no-tty -- hermes -z "hello"
  3. Export NVIDIA_API_KEY from env or vault, then run second onboard:
    NEMOCLAW_NON_INTERACTIVE=1 NEMOCLAW_PROVIDER=build \
    nemohermes onboard --non-interactive --agent hermes --name hermes-core-test
  4. Observe step [7/8] "Setting up Hermes Agent inside sandbox" timeout at 90s.
  5. 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 run IS running (port 19119).
  • Second sandbox dashboard port was 18791 (my-hermes shifted to 18790; 18789 was taken).
  • nemohermes hermes-core-test status shows: 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

  1. added
    NV QA
    needs: triage
    on Aug 20, 2026
  2. added theissue type on Aug 20, 2026
  3. added
    integration: hermes
    area: onboarding
    area: networking
    and removed
    NV QA
    needs: triage
    on Aug 20, 2026
  4. lyral-commits commented on Aug 20, 2026

    @lyral-commits

    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.

  5. added a commit that references this issue on Aug 20, 2026
    4d29d84
  6. hulynn commented on Aug 21, 2026

    @hulynn
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: networkingarea: onboardingintegration: hermes

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions