惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
The Cloudflare Blog
T
Tailwind CSS Blog
H
Help Net Security
腾讯CDC
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
C
Check Point Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: expand bonjour disable troubleshooting · openclaw/o...
steipete · 2026-04-26 · via Recent Commits to openclaw:main

@@ -152,6 +152,85 @@ To capture logs:

152152153153

The log includes browser state transitions and result‑set changes.

154154155+

## When to disable Bonjour

156+157+

Disable Bonjour only when LAN multicast advertising is unavailable or harmful.

158+

The common case is a Gateway running behind Docker bridge networking, WSL, or a

159+

network policy that drops mDNS multicast. In those environments the Gateway is

160+

still reachable through its published URL, SSH, Tailnet, or wide-area DNS-SD,

161+

but LAN auto-discovery is not reliable.

162+163+

Prefer the existing environment override when the problem is deployment-scoped:

164+165+

```bash

166+

OPENCLAW_DISABLE_BONJOUR=1

167+

```

168+169+

That disables LAN multicast advertising without changing plugin configuration.

170+

It is safe for Docker images, service files, launch scripts, and one-off

171+

debugging because the setting disappears when the environment does.

172+173+

Use plugin configuration only when you intentionally want to turn off the

174+

bundled LAN discovery plugin for that OpenClaw config:

175+176+

```bash

177+

openclaw plugins disable bonjour

178+

```

179+180+

## Docker gotchas

181+182+

Bundled Docker Compose sets `OPENCLAW_DISABLE_BONJOUR=1` for the Gateway service

183+

by default. Docker bridge networks usually do not forward mDNS multicast

184+

(`224.0.0.251:5353`) between the container and the LAN, so leaving Bonjour on can

185+

produce repeated ciao `probing` or `announcing` failures without making discovery

186+

work.

187+188+

Important gotchas:

189+190+

- Disabling Bonjour does not stop the Gateway. It only stops LAN multicast

191+

advertising.

192+

- Disabling Bonjour does not change `gateway.bind`; Docker still defaults to

193+

`OPENCLAW_GATEWAY_BIND=lan` so the published host port can work.

194+

- Disabling Bonjour does not disable wide-area DNS-SD. Use wide-area discovery

195+

or Tailnet when the Gateway and node are not on the same LAN.

196+

- Reusing the same `OPENCLAW_CONFIG_DIR` outside Docker does not inherit the

197+

Compose default unless the environment still sets `OPENCLAW_DISABLE_BONJOUR`.

198+

- Set `OPENCLAW_DISABLE_BONJOUR=0` only for host networking, macvlan, or another

199+

network where mDNS multicast is known to pass.

200+201+

## Troubleshooting disabled Bonjour

202+203+

If a node no longer auto-discovers the Gateway after Docker setup:

204+205+

1. Confirm whether the Gateway is intentionally suppressing LAN advertising:

206+207+

```bash

208+

docker compose config | grep OPENCLAW_DISABLE_BONJOUR

209+

```

210+211+

2. Confirm the Gateway itself is reachable through the published port:

212+213+

```bash

214+

curl -fsS http://127.0.0.1:18789/healthz

215+

```

216+217+

3. Use a direct target when Bonjour is disabled:

218+

- Control UI or local tools: `http://127.0.0.1:18789`

219+

- LAN clients: `http://<gateway-host>:18789`

220+

- Cross-network clients: Tailnet MagicDNS, Tailnet IP, SSH tunnel, or

221+

wide-area DNS-SD

222+223+

4. If you deliberately enabled Bonjour in Docker with

224+

`OPENCLAW_DISABLE_BONJOUR=0`, test multicast from the host:

225+226+

```bash

227+

dns-sd -B _openclaw-gw._tcp local.

228+

```

229+230+

If browsing is empty or the Gateway logs show repeated ciao watchdog

231+

cancellations, restore `OPENCLAW_DISABLE_BONJOUR=1` and use a direct or

232+

Tailnet route.

233+155234

## Common failure modes

156235157236

- **Bonjour doesn’t cross networks**: use Tailnet or SSH.