Hey π Posting in case this helps someone else (or if it's a known bug worth filing).
Symptom: WhatsApp channel stuck cycling linked β running β disconnected roughly every 30s. Looked like a WhatsApp/Baileys problem at first glance.
Actual cause: the gateway itself was crashing every ~30s on unhandled promise rejections from the bonjour/CIAO mDNS advertiser:
[plugins] bonjour: restarting advertiser (service stuck in announcing for 15s ...)
[openclaw] Unhandled promise rejection: CIAO ANNOUNCEMENT CANCELLED
Every gateway restart kicked WhatsApp back through the connect dance, hence the flapping.
Workaround that fixed it:
openclaw config set discovery.mdns.mode off
openclaw gateway restart
(We don't need wide-area mDNS discovery on a loopback gateway anyway.)
Question for the maintainers: should the CIAO advertiser catch/swallow ANNOUNCEMENT CANCELLED rejections instead of letting them bubble up and take the gateway down? Happy to file an issue on GitHub if useful β just wanted to flag here first.
Env: macOS (Darwin 25.4.0 arm64), node v25.9.0, OpenClaw via Homebrew.