Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: KOOK websocket 长时间连接随机失效重置 #283

Open
Nigh opened this issue Jun 21, 2024 · 2 comments
Open

Enhancement: KOOK websocket 长时间连接随机失效重置 #283

Nigh opened this issue Jun 21, 2024 · 2 comments
Labels

Comments

@Nigh
Copy link

Nigh commented Jun 21, 2024

KOOK的websocket连接,会在长时间连接后随机出现失效的情况。表现为心跳包正常,但是没有其他事件推送,也无法收发消息。

由于在koishi和数个api框架中都发生过多次这个问题,可以认为应该是kook服务器端的问题,之前的解决方案是每24小时主动断开重连一次,可以避免这个问题的发生。

所以希望能够增加一个可配置项,用于配置kook适配器自动在设置的间隔下断开重连。

@shigma
Copy link
Contributor

shigma commented Aug 15, 2024

这个问题在 satori / koishi 最新版本中尝试修复了。可以安装最新版本再试试看。

@shigma shigma added await feedback bug Something isn't working platform: kook labels Aug 15, 2024
@Nigh
Copy link
Author

Nigh commented Aug 20, 2024

由于问题本身不易重现,正在长期测试观察中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants