#Unauthorized Token

1 messages · Page 1 of 1 (latest)

brave smelt
#

hi , how are you ? I have a problem . I can not connect OpenClaw control panel
unauthorized: gateway token missing (open the dashboard URL and paste the token in Control UI settings)
how can I fix that ?

boreal vaporBOT
#

Yep — this error usually means the Control UI is trying to connect without sending a token (or it’s empty).

Quick fix checklist:

  1. On the gateway host, run:
openclaw --version
openclaw status
openclaw config get gateway.auth.mode
openclaw config get gateway.auth.token
  1. If gateway.auth.mode is token and token is empty/missing:
openclaw doctor --generate-gateway-token
openclaw config get gateway.auth.token
#
  1. Open dashboard again:
openclaw dashboard
  1. 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:

brave smelt
#

I am trying