openclaw - 💡(How to fix) Fix [Bug]: v2026.4.24 multiple instabilities — postinstall pruning, bonjour crash loop, WhatsApp startup probe [2 comments, 3 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#72784Fetched 2026-04-28 06:32:12
View on GitHub
Comments
2
Participants
3
Timeline
6
Reactions
0
Author
Timeline (top)
commented ×2subscribed ×2closed ×1mentioned ×1

v2026.4.24 is severely unstable on this install. Three distinct root causes combine to make the gateway unreliable: a postinstall pruning bug, a bonjour/CIAO unhandled rejection crash loop, and unexpected WhatsApp bundled runtime-deps probing on startup.


Error Message

failed to start server "notebooklm" (http://127.0.0.1:8888/mcp): TypeError: fetch failed failed to start server "openspace" (http://127.0.0.1:8081/mcp): TypeError: fetch failed

Root Cause

v2026.4.24 is severely unstable on this install. Three distinct root causes combine to make the gateway unreliable: a postinstall pruning bug, a bonjour/CIAO unhandled rejection crash loop, and unexpected WhatsApp bundled runtime-deps probing on startup.

Fix Action

Fix / Workaround

3. bonjour/CIAO crash loop (known issue, refs below)

[bonjour] watchdog detected non-announced service; attempting re-advertise
[openclaw] Unhandled promise rejection: CIAO ANNOUNCEMENT CANCELLED

This is the crash loop described in issues #71771, #72334. Despite PR #71668, CIAO rejections still crash the gateway ~30s after startup. Workaround applied: plugins.entries.bonjour.enabled: false added to config.

Workaround applied

Added to plugins.entries in openclaw.json:

\"bonjour\": { \"enabled\": false }

Code Example

failed to start server \"notebooklm\" (http://127.0.0.1:8888/mcp): TypeError: fetch failed
failed to start server \"openspace\" (http://127.0.0.1:8081/mcp): TypeError: fetch failed

---

[tools] message failed: Error: No active WhatsApp Web listener (account: default)
[cron:financial-daily-summary] transient direct announce delivery failure, retrying 2/4 in 5s: No active WhatsApp Web listener

---

[bonjour] watchdog detected non-announced service; attempting re-advertise
[openclaw] Unhandled promise rejection: CIAO ANNOUNCEMENT CANCELLED

---

Discord default: ... error:channel stop timed out after 5000ms

---

\"bonjour\": { \"enabled\": false }
RAW_BUFFERClick to expand / collapse

Environment: Ubuntu via nvm, Node 22.22.0, npm 10.9.4, OpenClaw 2026.4.24 (cbcfdf6), gateway running as systemd service.


Bug type

Crash (process exits or hangs) / Regression

Summary

v2026.4.24 is severely unstable on this install. Three distinct root causes combine to make the gateway unreliable: a postinstall pruning bug, a bonjour/CIAO unhandled rejection crash loop, and unexpected WhatsApp bundled runtime-deps probing on startup.


Observed failures (chronological from logs)

1. bundle-mcp failures (WARN, non-fatal)

failed to start server \"notebooklm\" (http://127.0.0.1:8888/mcp): TypeError: fetch failed
failed to start server \"openspace\" (http://127.0.0.1:8081/mcp): TypeError: fetch failed

These MCP servers are not running locally — the errors are noise but indicate bundle-MCP retries on every gateway start.

2. WhatsApp pending delivery failure (logged ~22h ago)

[tools] message failed: Error: No active WhatsApp Web listener (account: default)
[cron:financial-daily-summary] transient direct announce delivery failure, retrying 2/4 in 5s: No active WhatsApp Web listener

Financial daily summary cron tried to send to WhatsApp but the channel was disconnected. Messages were queued but not delivered.

3. bonjour/CIAO crash loop (known issue, refs below)

[bonjour] watchdog detected non-announced service; attempting re-advertise
[openclaw] Unhandled promise rejection: CIAO ANNOUNCEMENT CANCELLED

This is the crash loop described in issues #71771, #72334. Despite PR #71668, CIAO rejections still crash the gateway ~30s after startup. Workaround applied: plugins.entries.bonjour.enabled: false added to config.

4. Discord channel timeout

Discord default: ... error:channel stop timed out after 5000ms

Discord bot failed to stop cleanly within 5s.


Root cause analysis

Postinstall pruning bug

The npm tarball for 2026.4.24 contains 4116 .js files in dist/. The postinstall-bundled-plugins.mjs script uses rmSync/unlinkSync to prune files. When it encounters errors (e.g., ENOTEMPTY, unsafe dist entries), it silently deletes files that should be kept, leaving the installation broken. This is documented in issue #72042.

bonjour/CIAO crash loop

The bonjour advertiser enters a "probing" state, fails to announce, and triggers a CIAO cancellation that propagates as an unhandled promise rejection, crashing the entire gateway. PR #71668 was supposed to fix this but the rejection still propagates in v2026.4.24.

WhatsApp startup probe

Gateway probes bundled WhatsApp channel runtime-deps on startup even when channels.whatsapp is not configured (refs #71994). This causes delays and npm/git resolution attempts on every restart.


Known related issues (all pointing to v2026.4.24 being broken)

  • #72042 — Gateway startup fails: ERR_MODULE_NOT_FOUND, 1617 dist files missing (postinstall pruning bug)
  • #71771 — Gateway crash loop: CIAO ANNOUNCEMENT CANCELLED in bonjour
  • #72334 — Bonjour/CIAO unhandled rejections still crash gateway v2026.4.24 despite PR #71668
  • #71994 — Gateway startup probes bundled WhatsApp runtime deps when not configured
  • #71986 — 2026.4.24 is a huge mess! whatsapp and telegram gone
  • #72040 — Telegram channel crash on Windows 11 in 2026.4.24 (grammY deps missing)

Workaround applied

Added to plugins.entries in openclaw.json:

\"bonjour\": { \"enabled\": false }

Expected behavior

  • Gateway should start reliably without postinstall file deletion
  • bonjour CIAO rejections should be caught and not crash the gateway
  • Bundled channel runtime-deps should only be staged for channels that are actually configured/enabled

Upgrade path

Rolling back to 2026.4.23 is reported to restore full functionality (#72042). Upgrading to 2026.4.25-beta (when available) is expected to resolve the bonjour issue.


extent analysis

TL;DR

The most likely fix for the unstable gateway is to roll back to version 2026.4.23 or wait for version 2026.4.25-beta, which is expected to resolve the bonjour issue and other problems.

Guidance

  • Verify that the postinstall pruning bug is the primary cause of the issue by checking for missing files in the dist/ directory.
  • Temporarily disable the bonjour plugin by setting plugins.entries.bonjour.enabled to false in the openclaw.json file to prevent the CIAO crash loop.
  • Check the configuration for WhatsApp and other channels to ensure that only enabled channels are being probed for runtime dependencies.
  • Consider rolling back to version 2026.4.23 as a temporary workaround until version 2026.4.25-beta is available.

Example

No code snippet is provided as the issue is related to configuration and versioning rather than code.

Notes

The provided information suggests that version 2026.4.24 is severely unstable and has multiple issues, including a postinstall pruning bug, a bonjour/CIAO crash loop, and unexpected WhatsApp runtime-deps probing. Rolling back to a previous version or waiting for a newer version may be the most effective solution.

Recommendation

Apply the workaround by rolling back to version 2026.4.23 until version 2026.4.25-beta is available, as it is reported to restore full functionality.

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

  • Gateway should start reliably without postinstall file deletion
  • bonjour CIAO rejections should be caught and not crash the gateway
  • Bundled channel runtime-deps should only be staged for channels that are actually configured/enabled

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]: v2026.4.24 multiple instabilities — postinstall pruning, bonjour crash loop, WhatsApp startup probe [2 comments, 3 participants]