#macos companion app protocol mismatch
1 messages · Page 1 of 1 (latest)
That error usually means the macOS companion app and the running gateway/CLI are from incompatible protocol versions. So the gateway can be “running” and still be rejected by the app.
First, can you paste:
openclaw --version
openclaw gateway status
The most likely fix is to update the CLI/gateway, then restart it:
openclaw update
openclaw gateway restart
openclaw doctor
If openclaw update is not available or fails, re-run the installer:
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw gateway restart
Also fully quit/reopen the macOS app after the restart. The relevant docs are: https://docs.openclaw.ai/install/updating and https://docs.openclaw.ai/platforms/mac/bundled-gateway.
Here is the version: OpenClaw 2026.5.12 (f066dd2)
Here is the status:
Config warnings:
- plugins.entries.openclaw-web-search: plugin openclaw-web-search: installed plugin package requires compiled runtime output for TypeScript entry index.ts: expected ./dist/index.js, ./dist/index.mjs, ./dist/index.cjs, index.js, index.mjs, index.cjs. This is a plugin packaging issue, not a local config problem; update or reinstall the plugin after the publisher ships compiled JavaScript, or disable/uninstall the plugin until then. TypeScript source fallback is only supported for source checkouts and local development paths.
🦞 OpenClaw 2026.5.12 (f066dd2) — One CLI to rule them all, and one more restart because you changed the port.
│
â—‡
Service: LaunchAgent (loaded)
File logs: /tmp/openclaw/openclaw-2026-05-15.log
Command: /opt/homebrew/opt/node/bin/node /opt/homebrew/lib/node_modules/openclaw/dist/index.js gateway --port 18789
Service file: ~/Library/LaunchAgents/ai.openclaw.gateway.plist
Working dir: ~/.openclaw
Service env: OPENCLAW_GATEWAY_PORT=18789
Config (cli): ~/.openclaw/openclaw.json
Config (service): ~/.openclaw/openclaw.json
Gateway: bind=loopback (127.0.0.1), port=18789 (service args)
Probe target: ws://127.0.0.1:18789
Dashboard: http://127.0.0.1:18789/
Probe note: Loopback-only gateway; only local clients can connect.
CLI version: 2026.5.12 (/opt/homebrew/bin/openclaw)
Gateway version: 2026.5.12
Runtime: running (pid 2013, state active)
Connectivity probe: ok
Capability: admin-capable
Listening: 127.0.0.1:18789
Troubles: run openclaw status
Troubleshooting: https://docs.openclaw.ai/troubleshooting
Thanks, that status is actually pretty clean. The openclaw-web-search plugin warning is unrelated to the companion app protocol error.
Since both CLI and gateway are 2026.5.12, the likely mismatch is the macOS app binary itself. The app and gateway need compatible protocol versions, so please check the app version from the menu bar app’s About/Settings UI. If it’s not also 2026.5.12 or newer, update/reinstall the macOS companion app, then fully quit and reopen it.
After updating the app, run:
openclaw gateway restart
openclaw gateway status
If the app is already 2026.5.12+ and still says protocol mismatch, paste the relevant lines from:
openclaw logs --follow
right after opening the app. We’re looking for the handshake line with protocol mismatch and the client version/mode.
Docs reference: https://docs.openclaw.ai/platforms/mac/bundled-gateway
I don't remember how I installed the companion app - can you give me a link?
Yep: grab the macOS app from the GitHub releases page:
https://github.com/openclaw/openclaw/releases/latest
Since your gateway is 2026.5.12, ideally install the matching OpenClaw.app from:
https://github.com/openclaw/openclaw/releases/tag/v2026.5.12
After replacing the app, quit it completely and reopen it, then run:
openclaw gateway restart
I cannot find the dmg installer
You’re not missing it — I checked the release assets, and v2026.5.12 currently has no .dmg attached. The latest release I can see with a macOS DMG is v2026.5.7:
https://github.com/openclaw/openclaw/releases/download/v2026.5.7/OpenClaw-2026.5.7.dmg
But don’t install that against your 2026.5.12 gateway unless you also downgrade the CLI/gateway, because that version skew is probably what caused the protocol mismatch.
Best options:
- Wait for a
2026.5.12macOS app asset / file an issue here: https://github.com/openclaw/openclaw/issues - Or temporarily run the matching older pair: install the
2026.5.7app and downgrade the CLI/gateway to2026.5.7, then restart the gateway.
Docs say the macOS app and gateway need compatible versions: https://docs.openclaw.ai/platforms/mac/bundled-gateway
Ok thanks - was pretty sure I was going crazy
Nope, you weren’t going crazy. This is a real release-asset mismatch: the gateway package exists, but the matching macOS app artifact doesn’t appear to be attached for that tag.
If you file it, I’d include: 2026.5.12 release has no OpenClaw macOS DMG/zip asset, causing companion app protocol mismatch after CLI/gateway update.
Glad we pinned it down. 🦞