故障排查
如果您只有 2 分钟,请使用此页面作为分诊前门。前 60 秒
按顺序运行以下命令:openclaw status→ 显示已配置的频道且无明显认证错误。openclaw status --all→ 完整报告已生成且可共享。openclaw gateway probe→ 目标网关可访问。openclaw gateway status→Runtime: running和RPC probe: ok。openclaw doctor→ 无阻塞配置/服务错误。openclaw channels status --probe→ 频道状态显示connected或ready。openclaw logs --follow→ 活跃稳定,无重复致命错误。
Anthropic 长上下文 429
如果看到:HTTP 429: rate_limit_error: Extra usage is required for long context requests,
请访问 /gateway/troubleshooting#anthropic-429-extra-usage-required-for-long-context。
插件安装失败,提示缺少 openclaw 扩展
若安装失败并提示package.json missing openclaw.extensions,说明插件包使用了 OpenClaw 已不再接受的旧格式。
插件包修复步骤:
- 在
package.json中添加openclaw.extensions。 - 指定入口文件为构建后的运行时代码文件(通常为
./dist/index.js)。 - 重新发布插件并再次运行
openclaw plugins install <npm-spec>。
决策树
无响应
无响应
Runtime: runningRPC probe: ok- 在
channels status --probe中频道显示 connected/ready - 发送者显示已批准(或私信策略开放/白名单)
drop guild message (mention required→ Discord 中提及限制阻止了消息。pairing request→ 发送者未批准,等待私信配对批准。- 频道日志中出现
blocked/allowlist→ 发送者、房间或组被过滤。
仪表盘或控制界面无法连接
仪表盘或控制界面无法连接
网关无法启动或服务已安装但未运行
网关无法启动或服务已安装但未运行
Service: ... (loaded)Runtime: runningRPC probe: ok
Gateway start blocked: set gateway.mode=local→ 网关模式未设置或为远程。refusing to bind gateway ... without auth→ 非回环地址绑定缺少令牌/密码。another gateway instance is already listening或EADDRINUSE→ 端口已被占用。
频道连接成功但消息未流通
频道连接成功但消息未流通
- 频道传输已连接。
- 配对/白名单检查通过。
- 在需要时检测到提及。
mention required→ 群组提及限制阻止了消息处理。pairing/pending→ 私信发送者尚未批准。not_in_channel、missing_scope、Forbidden、401/403→ 频道权限令牌问题。
Cron 或心跳未触发或未发送
Cron 或心跳未触发或未发送
cron.status显示启用且有下次唤醒时间。cron runs显示最近有ok条目。- 心跳启用且未处于非活跃时间段。
cron: scheduler disabled; jobs will not run automatically→ cron 被禁用。heartbeat skipped并带有reason=quiet-hours→ 处于配置的非活跃时间。requests-in-flight→ 主线路忙,心跳唤醒被延迟。unknown accountId→ 心跳目标账号不存在。
节点已配对但工具执行摄像头画布屏幕失败
节点已配对但工具执行摄像头画布屏幕失败
浏览器工具失败
浏览器工具失败
- 浏览器状态显示
running: true和已选择的浏览器/配置文件。 openclaw配置文件启动,或chrome中继附加了标签页。
Failed to start Chrome CDP on port→ 本地浏览器启动失败。browser.executablePath not found→ 配置的浏览器二进制路径错误。Chrome extension relay is running, but no tab is connected→ 扩展未附加标签页。Browser attachOnly is enabled ... not reachable→ 仅附加配置文件无活动 CDP 目标。