Hey everyone — I’m running OpenClaw locally via Docker on macOS and I’m stuck in a gateway auth loop.
Environment
• Running via docker compose
• Accessing dashboard at:
http://localhost:18789/__openclaw__/
• Container shows healthy and listening on:
ws://0.0.0.0:18789
• Browser returns 200 OK on curl
Issue
The dashboard loads, but I get:
unauthorized: gateway token missing
(open the dashboard URL and paste the token in Control UI settings)
Status shows:
• Health: Offline
• Disconnected from gateway
Even after:
• Removing ~/.openclaw
• Removing OPENCLAW_GATEWAY_TOKEN from .env
• Clearing browser site data for localhost
• Restarting Docker containers
• Restarting from clean volumes
The UI never gives me a visible place to paste the token, and it keeps showing the same unauthorized message. Any suggestions to fix?