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

使用基于nonebot框架的插件出现反向WS不上报信息情况 #108

Closed
genres17 opened this issue Aug 15, 2020 · 0 comments
Closed

Comments

@genres17
Copy link

环境信息
请根据实际使用环境修改以下信息
go-cqhttp版本: v0.9.16
运行环境: windows_amd64
连接方式: 反向WS

bug内容
基于nonebot框架编写的bot插件,反向ws会出现自动断开不上报信息的情况,该问题每次重启nonebot一段时间后就会自动发生,导致nonebot插件获取不到qq信息而无法执行命令。此外,该bug倒是不影响interval方法所执行的不依赖于命令触发的周期功能插件(比如定点报时功能,消息是能发出去的,但是依旧在nonebot上收不到消息,go-cqhttp控制台能收到消息)。
该bug还有一个特点是在插件执行过io操作后就容易立即发生(也有可能不立刻),比如发送图片功能,和插件的爬虫功能

复现方法
nonebot收不到本应该获得上报的消息
图片
但此时
图片

@Mrs4s Mrs4s closed this as completed in 1a1f860 Aug 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant