-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Bug: forward 插件从tg转发图片或者视频导致应用假死 #975
Comments
cc @Anillc |
经测试,无论是从 qq 转发图片到 tg 还是从 tg 转发图片到 qq, 均没有遇到卡死的情况。 假死是指任何指令都无法触发吗?是否可以提供日志参考一下。 另外你跑机器人的服务器的性能如何呢,有没有可能是内存不足等原因导致的转发失败。如果可以的话尝试一下配置机器人的 |
在图片没有转发成功前,bot不会相应任何指令,转发完成后才会继续响应 |
我这边尝试多种方式仍然无法复现,测试大图片也不会阻塞,机器人能够正常响应指令。希望给出更多信息便于调试。 |
请问你是国外服务器还是国内服务器挂梯子 |
What is your spec for running the Koishi Robot? It would be better to copy your |
System: Binaries: Koishi: 你们的服务器是在国内吗,我有国内和国外的服务器,但是国内服务器我没梯子测试 |
在windows 下测试,没有这个问题。今天尝试在国内ubuntu上测试 |
已经确定 无论国内外服务器,只要是ubuntu,在tg转发图片到QQ群就会假死加分钟,期间所有机器人都不会响应指令。几分钟后图片转发成功,全部指令一起响应。请问开发者有没有在ubuntu下测试,我可以提供服务器,我目前没有任何头绪。 |
感谢楼上提供的线索!这看起来是一个需要在 Koishi 侧优化的点。我会将它加入下一阶段的 roadmap。 |
是否需要考虑用户恶意输入超长字符串 |
Seemed that the string matching task made Node's main thread stuck. Is it possible to move it to |
Describe the bug
forward插件把图片从tg转发到Q群或者频道会导致应用假死

停止应用再启动发现端口被占用,查看进程,发现没有别关闭

从onebot转发到tg没有问题
Steps to reproduce
1、安装onebot和forward插件
2. 让tg频道的消息转发onebot
3. 向tg频道发送一个图片
Expected behavior
能转发并且不会假死
Screenshots
No response
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: