-
-
Notifications
You must be signed in to change notification settings - Fork 52.7k
Open
Description
Bug: 无限"输入中"状态 (Infinite Typing State)
问题描述
无论是主机器人 (main profile) 还是救援机器人 (rescue profile),在执行任何命令后都会无限显示"输入中"(typing)状态,无法正常结束。
环境信息
- OpenClaw 版本: 2026.2.24
- 操作系统: macOS 15.7.4 (arm64)
- Node 版本: v22.22.0
- 部署方式: LaunchAgent (本地双 Gateway 实例)
- 渠道: Telegram
复现步骤
- 配置主机器人和救援机器人(双 Gateway 实例)
- 主 Gateway 端口:18789
- 救援 Gateway 端口:19789
- 通过 Telegram 发送任何命令
- 观察:机器人响应后,持续显示"输入中"状态
关键日志错误
[tools] tools.profile (coding) allowlist contains unknown entries (apply_patch, cron, image)
[gateway] shutdown timed out; exiting without full cleanup
[skills-remote] remote bin probe timed out
[bonjour] gateway name conflict resolved; newName="Kavin 的 Mac mini (OpenClaw) (2)"
[bonjour] watchdog detected non-announced service; attempting re-advertise (state=probing)
问题分析
- Bonjour 服务冲突: 双 Gateway 实例导致 mDNS 广播冲突
- Tools Profile 配置问题: allowlist 与实际工具不匹配
- Shutdown Timeout: Gateway 关闭超时
- Skills Remote Probe Timeout: 远程技能探测超时
建议修复
- Bonjour 服务名称隔离(救援 Gateway 使用不同的 mDNS 名称)
- Tools Profile 同步(确保 allowlist 与实际工具匹配)
- 添加响应超时机制
- 官方文档说明如何正确部署双 Gateway 实例
临时解决方法
- 重启 Telegram Bot 连接
- 发送
/start重置会话 - 等待超时(约 60 秒)
报告时间: 2026-02-26
影响范围: 双 Gateway 部署 + Telegram 渠道
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels