openclaw-windows-node icon indicating copy to clipboard operation
openclaw-windows-node copied to clipboard

Gateway Installation failed

Open FireBelow opened this issue 5 months ago • 2 comments

I installed the companion and clicked the button to install an openclaw gateway fresh but it fails with this error:

"{"ts":"2026-06-03T15:12:58.6900174\u002B00:00","run":"58fa1de1d7f2","level":"warn","msg":"cmd.done: wsl.exe exit=-1 (30087ms)","data":{"exe":"wsl.exe","exit_code":-1,"stdout":"Updated gateway.mode. Restart the gateway to apply.\r\nUpdated gateway.port. Restart the gateway to apply.\r\nUpdated gateway.bind. Restart the gateway to apply.\r\nUpdated gateway.auth.mode. Restart the gateway to apply.\r\nUpdated gateway.auth.token. [REDACTED] the gateway to apply.\r\nUpdated gateway.reload.mode. Restart the gateway to apply.\r\nUpdated gateway.nodes.allowCommands. Restart the gateway to apply.\r\n","stderr":"","elapsed_ms":30087.4448,"timed_out":true}} {"ts":"2026-06-03T15:12:58.6908442\u002B00:00","run":"58fa1de1d7f2","level":"info","msg":"step.completed: configure-gateway \u2192 Failed","data":{"step_id":"configure-gateway","outcome":"Failed","message":"Gateway configuration failed (exit -1): ","elapsed_ms":96358.6756}} {"ts":"2026-06-03T15:12:58.6913006\u002B00:00","run":"58fa1de1d7f2","level":"error","msg":"Step \u0027configure-gateway\u0027 failed: Gateway configuration failed (exit -1): "}"

Windows 11, latest openclaw companion

FireBelow avatar Jun 03 '26 17:06 FireBelow

Thanks for the context here. I did a careful shell check against current main, and this is already implemented.

Close as implemented: the failure signature matches the old 30s configure-gateway timeout, and current main extends that step to 120s with regression coverage and clearer timeout diagnostics.

I found the merged PR that appears to have closed this: #652: Extend gateway configuration timeout.

So I’m closing this as already implemented rather than keeping a duplicate issue open.

Review details

Best possible solution:

Keep the 120s configure-gateway timeout and specific timeout message, and direct affected users to a companion build containing 3ddade7072b068b72afd228bbebd8fdd54f7ba23 or later.

Do we have a high-confidence way to reproduce the issue?

Do we have a high-confidence way to reproduce the issue? No current-main failing path was reproduced; the reporter's log matches the v0.6.0 30s configure-gateway timeout exactly, and current main replaces that path with a 120s timeout covered by tests.

Is this the best way to solve the issue?

Is this the best way to solve the issue? Yes; extending the WSL config step timeout and improving timeout diagnostics directly addresses the observed slow-WSL failure without changing credential handling or the setup flow.

Security review:

Security review: No PR patch or security-sensitive issue content was under review.

AGENTS.md: found and applied where relevant.

What I checked:

Likely related people:

  • ranjeshj: Authored the current-main fix that extends the configure-gateway timeout and adds targeted setup-engine regression tests. (role: recent area contributor; confidence: high; commits: 3ddade7072b0; files: src/OpenClaw.SetupEngine/SetupSteps.cs, tests/OpenClaw.SetupEngine.Tests/SetupStepsTests.cs)
  • Régis Brid: Blame shows the v0.6.0 setup flow introduced ConfigureGatewayStep and the progress grouping that surfaces configure-gateway during local WSL setup. (role: introduced behavior; confidence: medium; commits: 7d9152f427a3; files: src/OpenClaw.SetupEngine/SetupSteps.cs, src/OpenClaw.SetupEngine.UI/Pages/ProgressPage.xaml.cs)

Codex review notes: model gpt-5.5, reasoning high; reviewed against f839cf53aa0c; fix evidence: merged PR #652, release v0.6.2-alpha.1, commit 3ddade7072b0.

clawsweeper[bot] avatar Jun 03 '26 17:06 clawsweeper[bot]

Has that PR made it into a new release?

FireBelow avatar Jun 03 '26 18:06 FireBelow