🐛 问题描述
openclaw-weixin 通道的登录态反复过期,导致 bot 暂停,形成死循环。
📋 错误日志
Config warnings: plugins.entries.openclaw-weixin: plugin openclaw-weixin: channel plugin manifest declares openclaw-weixin without channelConfigs metadata
21:28:05 [openclaw-weixin] weixin getUpdates: session expired (errcode -14), pausing bot for 60 min
🔁 重现步骤
- 运行
openclaw channels login --channel openclaw-weixin
- 扫码登录成功(Login confirmed!)
- gateway 异常关闭(1006 abnormal closure)
- 新登录的 auth 没被 gateway 加载,立刻又报 session expired
- 系统暂停 60 分钟后重试,还是过期 → 死循环
🕐 时间线
- 4月26日晚 → 4月27日上午:每小时报一次错,连续 11 次
- 4月27日下午:手动重新登录成功,但 gateway 同时异常关闭
- 重启 gateway 后依然同样问题
🔍 根本原因
- 插件 manifest 缺少
channelConfigs 元数据
- 导致登录成功后 auth token 无法被 gateway 正确加载
- contextToken 本身 TTL 可能很短,但系统没有自动刷新机制
🖥️ 环境
- OpenClaw 版本:[你当前的版本]
- 操作系统:Windows
- 安装方式:桌面应用
🐛 问题描述
openclaw-weixin 通道的登录态反复过期,导致 bot 暂停,形成死循环。
📋 错误日志
Config warnings: plugins.entries.openclaw-weixin: plugin openclaw-weixin: channel plugin manifest declares openclaw-weixin without channelConfigs metadata
21:28:05 [openclaw-weixin] weixin getUpdates: session expired (errcode -14), pausing bot for 60 min
🔁 重现步骤
openclaw channels login --channel openclaw-weixin🕐 时间线
🔍 根本原因
channelConfigs元数据🖥️ 环境