#Unauthorized Token
1 messages · Page 1 of 1 (latest)
Yep — this error usually means the Control UI is trying to connect without sending a token (or it’s empty).
Quick fix checklist:
- On the gateway host, run:
openclaw --version
openclaw status
openclaw config get gateway.auth.mode
openclaw config get gateway.auth.token
- If
gateway.auth.modeistokenand token is empty/missing:
openclaw doctor --generate-gateway-token
openclaw config get gateway.auth.token
- Open dashboard again:
openclaw dashboard
- In Control UI go to Overview → Gateway Access
Paste token into Gateway Token field, then click Connect.
If you’re connecting from another machine, tunnel first:
ssh -N -L 18789:127.0.0.1:18789 user@your-server
Then open http://127.0.0.1:18789/.
If it still fails, paste output of:
openclaw status --all
openclaw gateway status
and I’ll pinpoint it.
Docs: https://docs.openclaw.ai/web/dashboard#if-you-see-unauthorized-1008 | https://docs.openclaw.ai/help/faq
I am trying