问题描述
遇到 unauthorized: gateway token mismatch 问题
完整如下:
unauthorized: gateway token mismatch (open the dashboard URL and paste the token in Control UI settings)
问题产生的原因
原因就是,你可能不停的折腾了太多次 openclaw 了,重装了太多次 openclaw,导致浏览器缓存的还是老的 token,导致 token 验证失效
如果你要一份靠谱的安装 openclaw 的文章,看看我之前发的教程:# 沉浸式安装 openclaw 小龙虾,对接 GLM-4.7-FlashX 和飞书,实现免费使用不花一分token钱!!!
问题解决方案
打开终端输入下面的命令
openclaw dashboard --no-open
会得到下面的输出, 即带最新 token 的 url,打开就一切正常了
[root@iZ0xic4s2ha2wqrm3zc4eeZ ~]# openclaw dashboard --no-open
🦞 OpenClaw 2026.3.11 (29dc654) — Runs on a Raspberry Pi. Dreams of a rack in Iceland.
Dashboard URL: http://127.0.0.1:18789/#token=2af2c4a37a07f46677b3dc6f92eea1793c4b7c5b2eb1b196