Environment
- OpenClaw version: 2026.4.14 and 2026.4.15 (both affected)
- Host OS: Windows 11 (10.0.26200)
- WSL2: Ubuntu, mirrored networking (
networkingMode=mirrored equivalent)
- Node.js: 22.22.0
- Install method:
npm install -g openclaw
Problem
Gateway starts successfully, loads all plugins, hooks, and reaches ready state — then gets killed by SIGKILL approximately 7-9 seconds later. The last log line before death is always:
[bonjour] watchdog detected non-announced service; attempting re-advertise
(gateway fqdn=NucBoxK6 (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=probing)
The gateway enters a crash-loop with Restart=always — observed 1030+ restarts in a single session.
Root Cause
WSL2 does not support multicast/mDNS properly. The bonjour service cannot announce via mDNS, the watchdog detects the failure, and the process is terminated.
Reproduction
- Install OpenClaw 2026.4.14+ on WSL2
- Run
openclaw gateway --port 18789
- Gateway starts, reaches "ready", loads hooks
- ~7-9 seconds after hooks load:
[bonjour] watchdog detected non-announced service
- Process receives SIGKILL, exit code -9
Key observation: OpenClaw 2026.4.1 does NOT have bonjour and runs stably on the same WSL2 instance.
Attempted Workarounds (none worked)
discovery.wideArea.enabled: false in config — bonjour still starts
- Environment variables:
OPENCLAW_BONJOUR=off, OPENCLAW_DISABLE_BONJOUR=1 — no effect
gateway.bonjour.enabled: false — rejected as unrecognized key
- No memory pressure (25 GB free), no OOM, no cgroup limits, no watchdog timer
Expected Behavior
Either:
- A config key to disable bonjour entirely (e.g.,
gateway.bonjour.enabled: false)
- Bonjour failures should be non-fatal — log a warning but don't kill the gateway
- Auto-detect WSL2 and skip bonjour
Workaround
Rolled back to OpenClaw 2026.4.1 which does not include bonjour.
Logs
# Successful startup:
[gateway] ready (8 plugins: acpx, browser, device-pair, llm-task, lobster, phone-control, talk-voice, telegram; 8.2s)
[gateway] starting channels and sidecars...
[hooks] loaded 4 internal hook handlers
# ~7 seconds later:
[bonjour] watchdog detected non-announced service; attempting re-advertise (gateway fqdn=NucBoxK6 (OpenClaw)._openclaw-gw._tcp.local. host=openclaw.local. port=18789 state=probing)
# Immediate death:
systemd: openclaw-gateway.service: Main process exited, code=killed, status=9/KILL
When run via foreground python subprocess with SIGTERM trapping:
[bonjour] watchdog detected non-announced service; attempting re-advertise
[gateway] signal SIGTERM received
[gateway] received SIGTERM; shutting down
Environment
networkingMode=mirroredequivalent)npm install -g openclawProblem
Gateway starts successfully, loads all plugins, hooks, and reaches
readystate — then gets killed by SIGKILL approximately 7-9 seconds later. The last log line before death is always:The gateway enters a crash-loop with
Restart=always— observed 1030+ restarts in a single session.Root Cause
WSL2 does not support multicast/mDNS properly. The bonjour service cannot announce via mDNS, the watchdog detects the failure, and the process is terminated.
Reproduction
openclaw gateway --port 18789[bonjour] watchdog detected non-announced serviceKey observation: OpenClaw 2026.4.1 does NOT have bonjour and runs stably on the same WSL2 instance.
Attempted Workarounds (none worked)
discovery.wideArea.enabled: falsein config — bonjour still startsOPENCLAW_BONJOUR=off,OPENCLAW_DISABLE_BONJOUR=1— no effectgateway.bonjour.enabled: false— rejected as unrecognized keyExpected Behavior
Either:
gateway.bonjour.enabled: false)Workaround
Rolled back to OpenClaw 2026.4.1 which does not include bonjour.
Logs
When run via foreground python subprocess with SIGTERM trapping: