Closed dalamudx closed 1 year ago
这个问题我也遇到过,感觉是网络波动问题。
这个问题我也遇到过,感觉是网络波动问题。
那我写个守护进程处理下,遇到掉线先重启下koishi,观察一段时间,要是实在影响使用,不行只能换代理了😣
好的。这个问题之前还专门修过一次,不过看起来没完全解决 :rofl:。后面我也会继续跟踪它。
追一下,这个问题复现在使用 socks5 代理的情况下,将 koishi 直接放在美国服务器后稳定运行了一个月。
再次,discord 适配器复现了重连失败的问题,koishi 端显示在线但不响应任何消息。discord 端显示机器人离线。沙盒内正常 discord: 3.4.2 koishi: 4.11.2 网络环境: aws 美国,未配置代理
重启 koishi 后可以正常使用数小时。 与此同时,telegram 适配器数月全程未出现不响应消息,基本排除网络问题。
🚀
Describe the bug
连接到代理的网络可能不大稳定,会时常出现断线重连的情况,查koishi日志发现最后应该是重连成功了,但是实际discord上看机器人是离线状态,重启koishi后机器人正常在线,不知道有没有解决办法还是只能换代理?
Steps to reproduce
断线重连后会发生
Expected behavior
断线重连后机器人能够正常在线
Screenshots
koishi日志
机器人状态离线 重启koishi之后机器人为正常在线状态
Versions
Additional context
No response