You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nemoclaw onboard fails with port 8080/18789 conflicts after prior run, even on “fresh” DGX Spark – poor UX around gateway / ssh‑proxy lifecycle #397
On a DGX Spark, running nemoclaw onboard a second time (or after a previous sandbox/gateway session) often fails due to port conflicts on 8080 and/or 18789, even though the user believes they have “exited the sandbox” and are starting fresh.
The core problem: OpenShell gateway and ssh‑proxy processes started by NemoClaw/OpenShell continue running on the Spark host, holding ports 8080 and 18789, but the CLI UX does not clearly relate these processes to the previous NemoClaw session or offer an easy cleanup path.
This leads to a confusing developer experience where users must manually inspect ports and kill processes on a supposedly “fresh” machine.
thought how to account for this with some other onboarding fixes. i added a check to determine whether or not there is a stale gateway and does that cleanup before the port preflight check.
I compared the proposed helper-script approach against current main, and I do not think the right next step is a separate cleanup script. main already appears to contain the product-level direction of fix for this issue in bin/lib/onboard.js, including stale-session cleanup before port checks and additional forward cleanup in the onboarding lifecycle.
That means a script like nemoclaw_clean.sh is probably the wrong layer for solving what remains here. It is broad, requires sudo, and can kill unrelated listeners on ports 8080 and 18789.
if users still reproduce this on Spark, the remaining work should go into tightening the existing onboard lifecycle behavior, not documenting a host-wide kill script
If helpful, the next step would be to capture a fresh repro on current main and identify exactly which process or lifecycle path still leaks through.
Activity
brianwtaylor commentedon Mar 19, 2026
i see what's going on..
Workaround:
openshell gateway destroy -g nemoclaw
openshell forward stop 18789
nemoclaw onboard
brianwtaylor commentedon Mar 19, 2026
thought how to account for this with some other onboarding fixes. i added a check to determine whether or not there is a stale gateway and does that cleanup before the port preflight check.
fix: gate sandbox registration on creation readiness and guard WSL na…
sayalinvidia commentedon Mar 19, 2026
Does not look like this issue has been fixed entirely! Recommend adding a clean-up script: #399
kjw3 commentedon Mar 19, 2026
Follow-up from reviewing PR #399:
I compared the proposed helper-script approach against current
main, and I do not think the right next step is a separate cleanup script.mainalready appears to contain the product-level direction of fix for this issue inbin/lib/onboard.js, including stale-session cleanup before port checks and additional forward cleanup in the onboarding lifecycle.That means a script like
nemoclaw_clean.shis probably the wrong layer for solving what remains here. It is broad, requiressudo, and can kill unrelated listeners on ports8080and18789.My current read is:
mainIf helpful, the next step would be to capture a fresh repro on current
mainand identify exactly which process or lifecycle path still leaks through.fix: gate sandbox registration on creation readiness and guard WSL na…
fix: gate sandbox registration on creation readiness and guard WSL na…
fix: gate sandbox registration on creation readiness and guard WSL na…