Skip to content

[Jetson][Onboard] nemoclaw onboard second sandbox: port 18789 conflict shows raw JS stack trace instead of user-friendly error #2169

@zNeill

Description

@zNeill

Description

Keywords: NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw_Onboard, NemoClaw_CLI&UX

Severity: 3-Functionality

Description:

[Issue Summary]

When onboarding a second sandbox while first sandbox uses port 18789, NemoClaw crashes with unhandled Node.js Error and full stack trace instead of a formatted CLI error.

[Environment]

Device: Jetson (dl20g11-1007)
OS: Ubuntu 24.04 (x86_64)
Node.js: v22.22.2
NemoClaw: v0.0.21

[Steps to Reproduce]

  1. nemoclaw onboard (create first sandbox — uses port 18789)
  2. nemoclaw onboard --non-interactive --yes-i-accept-third-party-software (without CHAT_UI_URL override)

[Expected Behavior]

Formatted CLI error: "Port 18789 is in use by sandbox 'test21'. Set CHAT_UI_URL=http://127.0.0.1:18790 before onboarding."

[Actual Behavior]

Raw stack trace: "Error: Port 18789 is already forwarded for sandbox 'test21'..." with full JS call stack from onboard.js:4880.

[Suspected Root Cause / Notes]

Port conflict thrown as unhandled Error. Top-level command handler does not catch it. Should use same error display pattern as other preflight failures.

[Regression?]

No

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw_Sandbox

[NVB#6100035]

Metadata

Metadata

Assignees

No one assigned

    Labels

    NV QABugs found by the NVIDIA QA Teamplatform: jetsonAffects Jetson AGX Thor or Orin

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions