openclaw - 💡(How to fix) Fix [Bug]: Gateway crash after upgrade to 2026.4.24 [3 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72795Fetched 2026-04-28 06:32:05
View on GitHub
Comments
3
Participants
2
Timeline
8
Reactions
0
Author
Participants
Timeline (top)
commented ×3labeled ×2closed ×1mentioned ×1

After upgrading to 2026.4.24, the gateway stopped. Simple close after 2 minutes

<img width="1806" height="828" alt="Image" src="https://github.com/user-attachments/assets/c6f94470-3163-4aa6-808c-a58507b8f93f" />

The log says: Gateway mode is missing, but it is there

<img width="1449" height="773" alt="Image" src="https://github.com/user-attachments/assets/0407cdd0-45af-4ade-9730-92fcb8ace9e7" />

Error Message

Gateway start blocked: existing config is missing gateway.mode. Treat this as suspicious or clobbered config. Re-run openclaw onboard --mode local or openclaw setup, set gateway.mode=local manually, or pass --allow-unconfigured.

Config write audit: C:\Users\imagine.openclaw\logs\config-audit.jsonl

Config overwrite: C:\Users\imagine.openclaw\openclaw.json (...)

security warning: dangerous config flags enabled: gateway.controlUi.allowInsecureAuth=true. Run openclaw security audit.

OpenRouter pricing fetch failed (timeout 30s): TimeoutError: The operation was aborted due to timeout

LiteLLM pricing fetch failed (timeout 30s): TimeoutError: The operation was aborted due to timeout

bonjour: watchdog detected non-announced service; attempting re-advertise (...)

bonjour: restarting advertiser (service stuck in probing ...)

[openclaw] Unhandled promise rejection: CIAO PROBING CANCELLED

[openclaw] wrote stability bundle: C:\Users\imagine.openclaw\logs\stability...unhandled_rejection.json

Root Cause

After upgrading to 2026.4.24, the gateway stopped. Simple close after 2 minutes

<img width="1806" height="828" alt="Image" src="https://github.com/user-attachments/assets/c6f94470-3163-4aa6-808c-a58507b8f93f" />

The log says: Gateway mode is missing, but it is there

<img width="1449" height="773" alt="Image" src="https://github.com/user-attachments/assets/0407cdd0-45af-4ade-9730-92fcb8ace9e7" />

Code Example

Gateway start blocked: existing config is missing gateway.mode. Treat this as suspicious or clobbered config. Re-run openclaw onboard --mode local or openclaw setup, set gateway.mode=local manually, or pass --allow-unconfigured.

Config write audit: C:\Users\imagine.openclaw\logs\config-audit.jsonl

Config overwrite: C:\Users\imagine.openclaw\openclaw.json (...)

security warning: dangerous config flags enabled: gateway.controlUi.allowInsecureAuth=true. Run openclaw security audit.

OpenRouter pricing fetch failed (timeout 30s): TimeoutError: The operation was aborted due to timeout

LiteLLM pricing fetch failed (timeout 30s): TimeoutError: The operation was aborted due to timeout

bonjour: watchdog detected non-announced service; attempting re-advertise (...)

bonjour: restarting advertiser (service stuck in probing ...)

[openclaw] Unhandled promise rejection: CIAO PROBING CANCELLED

[openclaw] wrote stability bundle: C:\Users\imagine.openclaw\logs\stability...unhandled_rejection.json
RAW_BUFFERClick to expand / collapse

Bug type

Crash (process/app exits or hangs)

Beta release blocker

No

Summary

After upgrading to 2026.4.24, the gateway stopped. Simple close after 2 minutes

<img width="1806" height="828" alt="Image" src="https://github.com/user-attachments/assets/c6f94470-3163-4aa6-808c-a58507b8f93f" />

The log says: Gateway mode is missing, but it is there

<img width="1449" height="773" alt="Image" src="https://github.com/user-attachments/assets/0407cdd0-45af-4ade-9730-92fcb8ace9e7" />

Steps to reproduce

Environment: Windows Server 2022 (Powershell 7.6.1) Node v24.15.0

Scenario 1: Steps: 1 - Upgrade using the web interface Result: After this no gateway

Scenario 2: Installation from zero Steps 1 - irm https://openclaw.ai/install.ps1 | iex 2 - Choose ollama provider (kimi-k2.6:cloud) 3 - Set up the api key (ollama api key) 4 - Skip search provider 5 - Skip Channel Important: New OS (No previous installation)

Scenario 3 (using ollama): Steps: 1 - ollama launch openclaw --model kimi-k2.6:cloud

<img width="1509" height="1199" alt="Image" src="https://github.com/user-attachments/assets/467e258f-cb3e-4abc-896e-a11f089fc03e" />

Expected behavior

Expected that the gateway is running after a clean installation in Windows Server 2022, Node v24.15.0, PowerShell 7

Actual behavior

Gateway tries to run, but closes unexpectedly

OpenClaw version

2026.4.24

Operating system

Windows Server 2022

Install method

npm global - powershell of the web site

Model

ollama/kim

Provider / routing chain

ollama/kimi-k2.6

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Gateway start blocked: existing config is missing gateway.mode. Treat this as suspicious or clobbered config. Re-run openclaw onboard --mode local or openclaw setup, set gateway.mode=local manually, or pass --allow-unconfigured.

Config write audit: C:\Users\imagine.openclaw\logs\config-audit.jsonl

Config overwrite: C:\Users\imagine.openclaw\openclaw.json (...)

security warning: dangerous config flags enabled: gateway.controlUi.allowInsecureAuth=true. Run openclaw security audit.

OpenRouter pricing fetch failed (timeout 30s): TimeoutError: The operation was aborted due to timeout

LiteLLM pricing fetch failed (timeout 30s): TimeoutError: The operation was aborted due to timeout

bonjour: watchdog detected non-announced service; attempting re-advertise (...)

bonjour: restarting advertiser (service stuck in probing ...)

[openclaw] Unhandled promise rejection: CIAO PROBING CANCELLED

[openclaw] wrote stability bundle: C:\Users\imagine.openclaw\logs\stability...unhandled_rejection.json

Impact and severity

Without a gateway, I have just opened the OpenCLAW CLI, no web, no plugins...

Additional information

No response

extent analysis

TL;DR

The gateway crash after upgrading to 2026.4.24 may be due to a missing or misconfigured gateway.mode setting, and setting it to local manually or re-running the onboarding process might resolve the issue.

Guidance

  • Verify the gateway.mode setting in the openclaw.json configuration file to ensure it is correctly set to local or another appropriate mode.
  • Try re-running the onboarding process using openclaw onboard --mode local to reconfigure the gateway settings.
  • Check the config-audit.jsonl log file for any configuration overwrite or audit issues that might be related to the gateway crash.
  • Review the security warnings and consider running openclaw security audit to address any potential security concerns.

Example

No specific code snippet is provided, but the command openclaw onboard --mode local can be used to reconfigure the gateway settings.

Notes

The issue seems to be related to the gateway.mode setting, but the root cause might be more complex, and additional debugging or configuration changes might be necessary to fully resolve the issue.

Recommendation

Apply workaround: set gateway.mode=local manually or re-run the onboarding process using openclaw onboard --mode local, as this is the most direct and likely solution based on the provided logs and error messages.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Expected that the gateway is running after a clean installation in Windows Server 2022, Node v24.15.0, PowerShell 7

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Gateway crash after upgrade to 2026.4.24 [3 comments, 2 participants]