openclaw - 💡(How to fix) Fix [Bug]: Gateway crash-loop on startup when bonjour/mDNS plugin hits "CIAO PROBING CANCELED" [7 comments, 7 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#72366Fetched 2026-04-27 05:30:49
View on GitHub
Comments
7
Participants
7
Timeline
14
Reactions
1
Timeline (top)
commented ×7cross-referenced ×3labeled ×2closed ×1

Error Message

Gateway starts and remains running. If mDNS probing fails or is interrupted, the bonjour plugin should handle the error gracefully without crashing the gateway process.

Fix Action

Fix / Workaround

Fix that resolved the issue: openclaw config set plugins.entries.bonjour.enabled false openclaw gateway stop && openclaw gateway start Gateway remained stable after bonjour was disabled. Impact and severity Affected: Any OpenClaw gateway host where the bonjour plugin is enabled (default) and mDNS probing fails or is cancelled — confirmed on Ubuntu 24.04.3 LTS Severity: Critical — gateway cannot stay running; all agent and channel functionality is unavailable Frequency: Always — every startup attempt failed identically, confirmed across multiple restart cycles Consequence: Gateway is completely non-functional until bonjour is manually disabled; additionally, each crash cycle leaks mDNS UDP sockets (12 observed on port 5353 after several restarts) Workaround: openclaw config set plugins.entries.bonjour.enabled false, then restart the gateway

RAW_BUFFERClick to expand / collapse

Bug type Crash (process/app exits or hangs)

Beta release blocker No

Summary Gateway crash-loops on startup when the bonjour/mDNS plugin hits CIAO PROBING CANCELLED, and disabling bonjour stops the failure.

Steps to reproduce Install OpenClaw on a Linux host with the bonjour plugin enabled (default) Start the gateway via systemd: openclaw gateway start Observe the gateway reach "ready" state, then exit ~9 seconds after startup Check journalctl: journalctl --user -u openclaw-gateway.service -n 50 --no-pager Observe repeated cycle: bonjour stuck in mDNS probing state → CIAO PROBING CANCELLED unhandled rejection → exit code 1 → systemd restart → repeat Expected behavior Gateway starts and remains running. If mDNS probing fails or is interrupted, the bonjour plugin should handle the error gracefully without crashing the gateway process.

Actual behavior On startup, the gateway exited and entered a systemd restart loop after the bonjour/mDNS plugin threw CIAO PROBING CANCELLED during local network advertisement/probing; disabling plugins.entries.bonjour.enabled stopped the crash loop and the gateway then stayed up.

OpenClaw version 2026.4.24 (cbcfdf6)

Operating system Ubuntu 24.04.3 LTS (Noble Numbat) — kernel 6.8.0-88-generic x86_64

Install method npm global (fnm-managed Node 22.22.2)

Model N/A

Provider / routing chain N/A

Additional provider/model setup details No response

Logs, screenshots, and evidence Copy journalctl output showing the crash loop: Apr 26 14:58:15 <hostname> node[1465876]: 2026-04-26T14:58:15.084-06:00 [plugins] bonjour: restarting advertiser (service stuck in probing for 8718ms (gateway fqdn=<hostname> (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=probing)) Apr 26 14:58:15 <hostname> node[1465876]: 2026-04-26T14:58:15.092-06:00 [plugins] bonjour: advertised gateway fqdn=<hostname> (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=unannounced Apr 26 14:58:15 <hostname> node[1465876]: 2026-04-26T14:58:15.094-06:00 [openclaw] Unhandled promise rejection: CIAO PROBING CANCELLED Apr 26 14:58:15 <hostname> node[1465876]: 2026-04-26T14:58:15.097-06:00 [openclaw] wrote stability bundle: /home/<user>/.openclaw/logs/stability/openclaw-stability-2026-04-26T20-58-15-096Z-1465876-unhandled_rejection.json Apr 26 14:58:15 <hostname> systemd[610541]: openclaw-gateway.service: Main process exited, code=exited, status=1/FAILURE Apr 26 14:58:15 <hostname> systemd[610541]: openclaw-gateway.service: Failed with result 'exit-code'. Apr 26 14:58:20 <hostname> systemd[610541]: openclaw-gateway.service: Scheduled restart job, restart counter is at 2.

Leaked mDNS sockets after multiple crash cycles (ss -tulpn | grep 5353): udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:(("openclaw-gatewa",pid=1469750,fd=43)) udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:(("openclaw-gatewa",pid=1469750,fd=42)) ... (12 sockets total, all owned by the same gateway pid)

Fix that resolved the issue: openclaw config set plugins.entries.bonjour.enabled false openclaw gateway stop && openclaw gateway start Gateway remained stable after bonjour was disabled. Impact and severity Affected: Any OpenClaw gateway host where the bonjour plugin is enabled (default) and mDNS probing fails or is cancelled — confirmed on Ubuntu 24.04.3 LTS Severity: Critical — gateway cannot stay running; all agent and channel functionality is unavailable Frequency: Always — every startup attempt failed identically, confirmed across multiple restart cycles Consequence: Gateway is completely non-functional until bonjour is manually disabled; additionally, each crash cycle leaks mDNS UDP sockets (12 observed on port 5353 after several restarts) Workaround: openclaw config set plugins.entries.bonjour.enabled false, then restart the gateway

Additional information No response

extent analysis

TL;DR

Disable the bonjour plugin to prevent the gateway crash loop.

Guidance

  • The bonjour plugin's mDNS probing state is not being handled correctly, leading to a crash loop.
  • Disabling the bonjour plugin using openclaw config set plugins.entries.bonjour.enabled false can mitigate the issue.
  • After disabling the plugin, restart the gateway using openclaw gateway stop && openclaw gateway start to ensure stability.
  • Leaked mDNS sockets can be observed after multiple crash cycles, but disabling the bonjour plugin should prevent further leaks.

Example

No code snippet is necessary for this issue, as the solution involves configuration changes rather than code modifications.

Notes

The root cause of the issue appears to be related to the bonjour plugin's handling of mDNS probing failures or cancellations. Disabling the plugin provides a workaround, but a more permanent fix may require updates to the plugin or the gateway's error handling mechanisms.

Recommendation

Apply the workaround by disabling the bonjour plugin, as it provides a reliable solution to prevent the gateway crash loop. This change can be made using the openclaw config set command, followed by a gateway restart.

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