openclaw - 💡(How to fix) Fix Bonjour plugin crash-loops gateway on headless VPS (v2026.4.24) [1 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#72337Fetched 2026-04-27 05:31:25
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Author
Timeline (top)
closed ×1commented ×1

The bonjour plugin (@homebridge/ciao) crash-loops the gateway on headless VPS environments (no mDNS responder, no local network peers). The gateway starts successfully, then dies within 30-60 seconds when the bonjour service probe times out and throws an unhandled promise rejection.

Multiple users have confirmed this on Discord: https://discordapp.com/channels/1456350064065904867/1497753799991885824/1497753799991885824

Error Message

[plugins] bonjour: watchdog detected non-announced service; attempting re-advertise
  (gateway fqdn=openclaw._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=probing)
[plugins] bonjour: restarting advertiser
  (service stuck in probing for 21303ms)
[openclaw] Unhandled promise rejection: CIAO PROBING CANCELLED

systemd restarts the gateway, which crash-loops every ~30 seconds. Stability bundles written to ~/.openclaw/logs/stability/.

Root Cause

The bonjour plugin (@homebridge/ciao) crash-loops the gateway on headless VPS environments (no mDNS responder, no local network peers). The gateway starts successfully, then dies within 30-60 seconds when the bonjour service probe times out and throws an unhandled promise rejection.

Multiple users have confirmed this on Discord: https://discordapp.com/channels/1456350064065904867/1497753799991885824/1497753799991885824

Fix Action

Workaround

Disable the bonjour plugin in openclaw.json:

{
  "plugins": {
    "entries": {
      "bonjour": { "enabled": false }
    }
  }
}

Gateway starts in ~8s (vs ~40s with bonjour probing) and runs stable. No functional loss on headless servers — bonjour is only useful for local network discovery.

Code Example

[plugins] bonjour: watchdog detected non-announced service; attempting re-advertise
  (gateway fqdn=openclaw._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=probing)
[plugins] bonjour: restarting advertiser
  (service stuck in probing for 21303ms)
[openclaw] Unhandled promise rejection: CIAO PROBING CANCELLED

---

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

Description

The bonjour plugin (@homebridge/ciao) crash-loops the gateway on headless VPS environments (no mDNS responder, no local network peers). The gateway starts successfully, then dies within 30-60 seconds when the bonjour service probe times out and throws an unhandled promise rejection.

Multiple users have confirmed this on Discord: https://discordapp.com/channels/1456350064065904867/1497753799991885824/1497753799991885824

Environment

  • OpenClaw v2026.4.24
  • Ubuntu 24.04, Hetzner CCX13 (headless VPS)
  • Node 22
  • No Avahi/mDNS service running

Reproduction

  1. Update to v2026.4.24 on a headless VPS
  2. Start the gateway: systemctl --user start openclaw-gateway
  3. Gateway starts, loads plugins, reports ready
  4. Within 30-60s, bonjour probe stalls and gateway crashes

Logs

[plugins] bonjour: watchdog detected non-announced service; attempting re-advertise
  (gateway fqdn=openclaw._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=probing)
[plugins] bonjour: restarting advertiser
  (service stuck in probing for 21303ms)
[openclaw] Unhandled promise rejection: CIAO PROBING CANCELLED

systemd restarts the gateway, which crash-loops every ~30 seconds. Stability bundles written to ~/.openclaw/logs/stability/.

Workaround

Disable the bonjour plugin in openclaw.json:

{
  "plugins": {
    "entries": {
      "bonjour": { "enabled": false }
    }
  }
}

Gateway starts in ~8s (vs ~40s with bonjour probing) and runs stable. No functional loss on headless servers — bonjour is only useful for local network discovery.

Expected behavior

The bonjour plugin should either:

  • Detect headless/no-mDNS environments and skip advertisement gracefully
  • Catch the CIAO PROBING CANCELLED rejection instead of letting it kill the process
  • Not be auto-enabled on servers with no local network peers

extent analysis

TL;DR

Disable the bonjour plugin in openclaw.json to prevent crash-loops on headless VPS environments.

Guidance

  • The bonjour plugin's probing mechanism is not designed to handle headless environments without mDNS responders, leading to unhandled promise rejections and gateway crashes.
  • To verify the issue, check the logs for CIAO PROBING CANCELLED errors and observe the gateway's crash-loop behavior.
  • As a workaround, disable the bonjour plugin by setting "enabled": false in the openclaw.json configuration file, which will prevent the probing mechanism from causing crashes.
  • Consider reporting this issue to the @homebridge/ciao plugin maintainers to request a more robust handling of headless environments.

Example

{
  "plugins": {
    "entries": {
      "bonjour": { "enabled": false }
    }
  }
}

This configuration change will disable the bonjour plugin and prevent the gateway from crash-looping.

Notes

This workaround may not be suitable for environments where bonjour discovery is necessary. The root cause of the issue lies in the bonjour plugin's handling of headless environments, and a more permanent fix would require changes to the plugin itself.

Recommendation

Apply the workaround by disabling the bonjour plugin, as it is a simple and effective solution to prevent crash-loops on headless VPS environments.

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

The bonjour plugin should either:

  • Detect headless/no-mDNS environments and skip advertisement gracefully
  • Catch the CIAO PROBING CANCELLED rejection instead of letting it kill the process
  • Not be auto-enabled on servers with no local network peers

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 Bonjour plugin crash-loops gateway on headless VPS (v2026.4.24) [1 comments, 2 participants]