跳转到内容

渠道故障排除

当渠道已连接但行为异常时,请使用此页面。

首先按顺序运行这些命令:

Terminal window
openclaw status
openclaw gateway status
openclaw logs --follow
openclaw doctor
openclaw channels status --probe

健康基线:

  • Runtime: running
  • Connectivity probe: ok
  • Capability: read-onlywrite-capableadmin-capable
  • 渠道探测显示传输已连接,并且在支持的情况下显示 worksaudit ok

当 Telegram、iMessage、BlueBubbles 时代的配置或其他插件渠道在更新后消失时使用此方法。

Terminal window
openclaw status --all
openclaw doctor --fix
openclaw gateway restart
openclaw status --all

查找 plugin load failed: dependency tree corrupted; run openclaw doctor --fix in openclaw status --all。这意味着渠道已配置,但插件设置/加载路径遇到了损坏的依赖树,而不是注册该渠道。openclaw doctor --fix 会删除过时的插件依赖暂存目录和过时的认证影子,然后 openclaw gateway restart 会重新加载干净的状态。

症状最快检查修复
已连接但无私信回复openclaw pairing list whatsapp批准发件人或切换私信策略/允许列表。
群组消息被忽略检查配置中的 requireMention + 提及模式提及机器人或放宽该群组的提及策略。
二维码登录超时并显示 408检查网关 HTTPS_PROXY / HTTP_PROXY 环境变量设置一个可访问的代理;仅将 NO_PROXY 用于绕过。
随机断开连接/重新登录循环openclaw channels status --probe + 日志即使当前已连接,最近的重新连接也会被标记;观察日志,重启网关,如果继续抖动则重新链接。
status=408 Request Time-out 循环探测、日志、诊断,然后是网关状态首先修复主机连接/时序问题;如果循环持续存在,请备份认证并重新链接账户。
回复晚到几秒/几分钟openclaw doctor --fix当验证过的陈旧本地 TUI 客户端降低了 Gateway(网关) 事件循环的性能时,Doctor 会将其停止。

完整故障排除:WhatsApp 故障排除

症状最快检查修复
/start 但没有可用的回复流openclaw pairing list telegram批准配对或更改私信策略。
机器人在线但群组保持静默验证提及要求和机器人隐私模式禁用隐私模式以实现群组可见性或提及机器人。
发送失败并伴有网络错误检查日志中的 Telegram API 调用失败修复指向 api.telegram.org 的 DNS/IPv6/代理路由。
启动时报告 getMe returned 401检查配置的令牌源重新复制或重新生成 BotFather 令牌并更新 botTokentokenFile 或默认账户 TELEGRAM_BOT_TOKEN
轮询停滞或重连缓慢openclaw logs --follow 用于轮询诊断升级;如果重启是误报,请调整 pollingStallThresholdMs。持续停滞仍然指向代理/DNS/IPv6 问题。
启动时 setMyCommands 被拒绝检查日志中的 BOT_COMMANDS_TOO_MUCH减少插件/技能/自定义 Telegram 命令或禁用原生菜单。
已升级且允许列表阻止了您openclaw security audit 和配置允许列表运行 openclaw doctor --fix 或将 @username 替换为数字发送者 ID。

完整故障排除:Telegram 故障排除

症状最快检查修复
机器人在线但没有服务器回复openclaw channels status --probeAllow guild/渠道 and verify message content intent.
Group messages ignoredCheck logs for mention gating dropsMention bot or set guild/渠道 requireMention: false.
Typing/token usage but no Discord messageCheck whether this is an ambient room event or an opted-in message_tool room where the 模型 missed message(action=send)Inspect the gateway verbose log for suppressed final payload metadata, verify messages.groupChat.unmentionedInbound, read Ambient room events, or keep messages.groupChat.visibleReplies: "automatic" for normal group requests.
私信 replies missingopenclaw pairing list discordApprove 私信 pairing or adjust 私信 policy.

Full 故障排除: Discord 故障排除

症状最快检查修复
Socket mode connected but no responsesopenclaw channels status --probeVerify app token + bot token and required scopes; watch for botTokenStatus / appTokenStatus = configured_unavailable on SecretRef-backed setups.
私信 blockedopenclaw pairing list slackApprove pairing or relax 私信 policy.
Channel message ignoredCheck groupPolicy and 渠道 allowlistAllow the 渠道 or switch policy to open.

Full 故障排除: Slack 故障排除

SymptomFastest checkFix
imsg missing or fails on non-macOSopenclaw channels status --probe --channel imessageRun OpenClaw on the Messages Mac or use an SSH wrapper for cliPath.
Can send but no receive on macOSCheck macOS privacy permissions for Messages automationRe-grant TCC permissions and restart 渠道 process.
私信 sender blockedopenclaw pairing list imessageApprove pairing or update allowlist.

Full 故障排除:

症状最快检查修复
守护进程可达但机器人无响应openclaw channels status --probe验证 signal-cli 守护进程 URL/账号和接收模式。
私信被拦截openclaw pairing list signal批准发送者或调整私信策略。
群组回复未触发检查群组白名单和提及模式添加发送者/群组或放宽限制。

完整故障排除:Signal 故障排除

症状最快检查修复
机器人回复“gone to Mars”验证配置中的 appIdclientSecret设置凭据或重启网关。
无传入消息openclaw channels status --probe在 QQ 开放平台上验证凭据。
语音未转写检查 STT 提供商配置配置 channels.qqbot.stttools.media.audio
主动消息未到达检查 QQ 平台交互要求如果没有最近的交互,QQ 可能会阻止机器人发起的消息。

完整故障排除:QQ 机器人故障排除

症状最快检查修复
已登录但忽略房间消息openclaw channels status --probe检查 groupPolicy、房间白名单和提及限制。
私信未处理openclaw pairing list matrix批准发送者或调整私信策略。
加密房间失败openclaw matrix verify status重新验证设备,然后检查 openclaw matrix verify backup status
备份恢复待处理/损坏openclaw matrix verify backup status运行 openclaw matrix verify backup restore 或使用恢复密钥重新运行。
交叉签名/引导程序显示异常openclaw matrix verify bootstrap一次性修复密钥存储、交叉签名和备份状态。

完整设置和配置:Matrix