Repository navigation
Description
Warning
Regression — this is the symptom of #11137, which was closed by #11142. That fix is present in this build (its merge commit is an ancestor of the installed v0.0.128) and the code it added still ships, yet the symptom reproduces. Re-filed rather than reopened so it re-enters triage.
Description
After an ordinary docker kill of a sandbox container, the sandbox is left in Phase Error and none of the three documented recovery commands can bring it back:
| command | result |
|---|---|
nemoclaw {sandbox} start |
OpenShell is unavailable (ConnectError, code 9) — although the gateway is running and answers other requests |
nemoclaw {sandbox} recover |
failedStage=gateway |
nemoclaw {sandbox} rebuild --yes |
Could not inspect OpenClaw MCP configuration ... "sandbox is not ready" |
The last one is circular: rebuild refuses because the sandbox is not ready, and the sandbox is not ready precisely because its container is gone — which is the state rebuild exists to repair.
Reproduced on two hosts and two architectures; the second repro was on a sandbox built minutes earlier.
What changed since #11137: the failure message used to end with Incomplete snapshot retained for manual recovery, and now it ends at the MCP configuration inspection. start and recover also fail now, so the outcome is broader than the original report.
Platform scope: reproduced on WSL2 ARM64 and WSL2 x86_64; other platforms not tested.
Environment
Host 1 (second repro, fresh sandbox)
Device: Windows WSL2 guest
OS: Ubuntu 24.04.4 LTS (WSL2)
Architecture: x86_64
Node.js: v24.20.0
npm: 11.19.0
Docker: Docker Desktop backend, server 29.1.3
OpenShell CLI: openshell 0.0.116
NemoClaw: nemoclaw v0.0.128
OpenClaw: 2026.9.1
Host 2 (first repro)
Device: Windows WSL2 guest
OS: Ubuntu 24.04 LTS (WSL2)
Architecture: aarch64
Docker: Docker Desktop backend, server 29.8.0
OpenShell CLI: openshell 0.0.116
NemoClaw: nemoclaw v0.0.128
OpenClaw: 2026.9.1
Steps to Reproduce
- Onboard an OpenClaw sandbox and let it reach Ready —
nemoclaw {sandbox} statusreportsPhase: Ready. - Kill its container, the ordinary way a sandbox becomes unhealthy:
docker kill {container id of that sandbox}docker killexits 0. - Run the documented recovery commands, in order:
nemoclaw {sandbox} start nemoclaw {sandbox} recover nemoclaw {sandbox} rebuild --yes - Ask for the sandbox state:
nemoclaw {sandbox} status
Note
On the second host the same end state was reached with no manual kill at all. Restarting the Docker Desktop engine stopped every sandbox container, and all eight registered sandboxes on that host entered Error and could not be recovered afterwards.
Expected Result
At least one documented recovery command restores the sandbox. rebuild --yes in particular should recreate the container and return it to Ready, since repairing an unhealthy sandbox is what it is for. Step 4 then reports Phase: Ready and exits 0.
start should also report why it cannot act — the sandbox is in Error rather than Stopped — instead of reporting the gateway as unavailable.
Actual Result
All three commands fail and the sandbox stays in Phase: Error.
start exit 1: OpenShell could not start sandbox {sandbox}: OpenShell is
unavailable (ConnectError, code 9).
recover exit 1: Sandbox {sandbox} is in 'Error' state.
... result=failed failedStage=gateway
rebuild exit 1: Error: Could not inspect OpenClaw MCP configuration: code:
'The system is not in a state required for the operation's
execution', message: "sandbox is not ready"
status: Phase: Error
The gateway is not actually unavailable: while start reports ConnectError, a direct sandbox list against the same gateway answers normally and the gateway process is listening, so the reported cause is misleading. Going through OpenShell directly gives the real reason start cannot act:
sandbox must be Stopped to start (current phase: Error)
Logs
recover, x86_64 host:
Sandbox {sandbox} is in 'Error' state.
Probe timing: readiness=24ms authority=20ms lifecycle=39ms gateway=220ms
processes=0ms forward=0ms inference=0ms pairing=0ms publication=0ms
... lifecycleAction=skipped forwardAction=skipped result=failed failedStage=gateway
rebuild, x86_64 host:
Host DNS resolution works
Container runtime: docker-desktop
Running under WSL
openshell CLI: openshell 0.0.116
Error: Could not inspect OpenClaw MCP configuration: Error: code: 'The system
is not in a state required for the operation's execution', message: "sandbox is not ready"
rebuild, aarch64 host, same failure on a different sandbox:
Docker GPU proof passed; trusting the reported GPU.
Docker GPU capacity proof: 30173 MiB available of 31232 MiB.
Error: Could not inspect OpenClaw MCP configuration: Error: code: 'The system
is not in a state required for the operation's execution', message: "sandbox is not ready"
destroy, for contrast, downgrades the same inspection failure to a warning and continues:
Warning: MCP source inventory is incomplete; workspace providers will be
preserved without names: Could not inspect OpenClaw MCP configuration
Activity
chore(ci): authorize exact QA dependency and assertion transitions (#…
fix(sandbox): preserve stopped OpenClaw state during recovery (NVIDIA…