openclaw - 💡(How to fix) Fix Gateway crash-loops with unhandled_rejection on v2026.4.24 (D state, 85%+ CPU) [4 comments, 5 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#72699Fetched 2026-04-28 06:33:19
View on GitHub
Comments
4
Participants
5
Timeline
9
Reactions
1
Timeline (top)
commented ×4cross-referenced ×3closed ×1subscribed ×1

The gateway process enters an unrecoverable crash loop immediately after startup on version 2026.4.24 (cbcfdf6). The TUI shows not connected to gateway — message not sent and is unable to communicate.

Error Message

  • The crash log snapshot.events array is empty — no error details are captured

Root Cause

The gateway process enters an unrecoverable crash loop immediately after startup on version 2026.4.24 (cbcfdf6). The TUI shows not connected to gateway — message not sent and is unable to communicate.

Fix Action

Workaround

Downgrading to the stable release resolves the issue:

npm install -g [email protected]
openclaw gateway start
openclaw tui

Note: on 2026.4.15, the gateway does not auto-spawn with openclaw tuiopenclaw gateway start must be run first (this sets up the systemd service).

Code Example

{
  "reason": "unhandled_rejection",
  "process": { "pid": 2731, "node": "22.22.2", "uptimeMs": 59027 },
  "snapshot": { "count": 0, "events": [] }
}

---

npm install -g openclaw@2026.4.15
openclaw gateway start
openclaw tui
RAW_BUFFERClick to expand / collapse

Description

The gateway process enters an unrecoverable crash loop immediately after startup on version 2026.4.24 (cbcfdf6). The TUI shows not connected to gateway — message not sent and is unable to communicate.

Environment

  • OpenClaw version: 2026.4.24 (cbcfdf6)
  • OS: Linux x64
  • Node: 22.22.2
  • Install method: npm global (npm install -g openclaw)

Symptoms

  • openclaw-gateway process enters D state (uninterruptible sleep) with 85–134% CPU usage immediately after spawning
  • HTTP requests to http://127.0.0.1:18789 hang indefinitely
  • Stability logs show repeated unhandled_rejection crashes every ~60 seconds:
{
  "reason": "unhandled_rejection",
  "process": { "pid": 2731, "node": "22.22.2", "uptimeMs": 59027 },
  "snapshot": { "count": 0, "events": [] }
}
  • The crash log snapshot.events array is empty — no error details are captured
  • Killing the gateway causes it to respawn (supervised), but the new process immediately enters the same D state
  • kill -9 is required to terminate the stuck process

Reproduction

  1. Install [email protected] via npm
  2. Run openclaw tui
  3. Observe TUI shows not connected to gateway — message not sent
  4. Check ps aux — gateway is in D state at high CPU
  5. Check ~/.openclaw/logs/stability/ — crash logs accumulate

Workaround

Downgrading to the stable release resolves the issue:

npm install -g [email protected]
openclaw gateway start
openclaw tui

Note: on 2026.4.15, the gateway does not auto-spawn with openclaw tuiopenclaw gateway start must be run first (this sets up the systemd service).

Config

Config was last touched by version 2026.4.5 — no manual config changes were made between working and broken states. The issue appears to be a regression in the gateway binary/runtime itself.

extent analysis

TL;DR

Downgrade to [email protected] to resolve the gateway crash loop issue.

Guidance

  • The issue is likely caused by a regression in the gateway binary/runtime introduced in version 2026.4.24.
  • To verify, check the ~/.openclaw/logs/stability/ directory for accumulating crash logs with empty snapshot.events arrays.
  • Downgrading to 2026.4.15 requires manually starting the gateway with openclaw gateway start before running openclaw tui.
  • Monitor CPU usage and stability logs after downgrading to ensure the issue is resolved.

Example

npm install -g [email protected]
openclaw gateway start
openclaw tui

Notes

The root cause of the issue is unclear, but downgrading to a previous version resolves the problem. This workaround may not be suitable for all users, especially if they rely on features introduced in version 2026.4.24.

Recommendation

Apply the workaround by downgrading to [email protected], as it is a known stable version that resolves the gateway crash loop issue.

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…

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 Gateway crash-loops with unhandled_rejection on v2026.4.24 (D state, 85%+ CPU) [4 comments, 5 participants]