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

挂机1天后断线无限重连 #882

Open
BlackcatWatcher opened this issue May 13, 2021 · 17 comments
Open

挂机1天后断线无限重连 #882

BlackcatWatcher opened this issue May 13, 2021 · 17 comments
Labels
bug? The issue author think this is a bug

Comments

@BlackcatWatcher
Copy link

环境信息

go-cqhttp版本: v1.0.0-beta3
运行环境: windows
连接方式: 正向ws
使用协议: ipad

bug内容
正常连接使用1天后,会突然出现如下情况,然后是重连的无限循环。说是其他端T下线,但我并没有登录其他端,包括PC、手机、其他BOT进程。关闭go-cq后,重新打开后就恢复了正常。
Q号背景:该客户端使用的Q号被其他人举报过,添加该Q好友显示被他人举报请谨慎添加。
服务器:挂有其他go-cq端,其他Q号正常,使用均正常。

LOG如下:
[2021-05-13 12:50:04] [ERROR]: Protocol -> parse incoming packet error: return code unsuccessful: 539142312
[2021-05-13 12:50:11] [ERROR]: Protocol -> parse incoming packet error: return code unsuccessful: -1822467864
[2021-05-13 12:50:15] [ERROR]: Protocol -> parse incoming packet error: packet dropped
[2021-05-13 12:50:46] [ERROR]: Protocol -> register client failed: Packet timed out
[2021-05-13 12:50:46] [WARNING]: Bot已离线: register error
[2021-05-13 12:50:50] [WARNING]: 尝试重连...
[2021-05-13 12:51:20] [WARNING]: 快速重连失败: Packet timed out
[2021-05-13 12:51:20] [WARNING]: 快速重连失败, 尝试普通登录. 这可能是因为其他端强行T下线导致的.
[2021-05-13 12:51:51] [ERROR]: 登录时发生致命错误: Packet timed out
[2021-05-13 12:51:52] [WARNING]: 尝试重连...
[2021-05-13 12:52:22] [WARNING]: 快速重连失败: Packet timed out
[2021-05-13 12:52:22] [WARNING]: 快速重连失败, 尝试普通登录. 这可能是因为其他端强行T下线导致的.
[2021-05-13 12:52:53] [ERROR]: 登录时发生致命错误: Packet timed out

复现方法
挂机一段时间后出现,可能需要被举报的Q号。是否需要打开DEBUG?

@BlackcatWatcher BlackcatWatcher added the bug? The issue author think this is a bug label May 13, 2021
@BlackcatWatcher
Copy link
Author

已更换,后续再报告

@clacknya
Copy link

同样问题,未被举报过

@BlackcatWatcher
Copy link
Author

另一个未被举报过的号1.30-beta3出现该问题,服务器同时挂了几个号。9.40fix5的还没到时间暂未发现问题

@Ink-33
Copy link
Contributor

Ink-33 commented May 14, 2021

应该是新版MiraiGo网络方面的bug,参考Mrs4s/MiraiGo#155

@hswyxj
Copy link

hswyxj commented May 14, 2021

这边也出现这个问题,断线无限重连,重连失败,
登录时发生致命错误: Packet timed out

@hswyxj
Copy link

hswyxj commented May 15, 2021

尝试fix5

v1.0.0-beta3 挂机一段时间不断断线重连,重连失败,换v0.9.40-fix5 群发消息一直被风控无法发出消息
有开启强制开启分片的

[2021-05-15 10:32:41] [DEBUG]: Protocol -> rev pkt: OidbSvc.0x88d_0 seq: 13896
[2021-05-15 10:32:41] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbGetGroupMsg seq: 13897
[2021-05-15 10:32:41] [DEBUG]: Protocol -> build fragmented message from history
[2021-05-15 10:32:41] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbGetGroupMsg seq: 13898
[2021-05-15 10:32:41] [DEBUG]: Protocol -> build fragmented message from history
[2021-05-15 10:32:41] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbGetGroupMsg seq: 13899
[2021-05-15 10:32:41] [DEBUG]: Protocol -> build fragmented message from history
[2021-05-15 10:32:41] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbGetGroupMsg seq: 13900
[2021-05-15 10:32:41] [WARNING]: 群消息发送失败: 账号可能被风控.

@hswyxj
Copy link

hswyxj commented May 15, 2021

请尝试100字以内发送(英文字母),以及100字以上的发送
对比两者,后者是否无法发送

100字以内发送(英文字母)能发送
100字以上英文字母 发送-无法发送

@hswyxj
Copy link

hswyxj commented May 15, 2021

#633
顺便提一下,文字无法发送是因为审核,应该过6个小时以上就会出来了

好的 谢谢

@hswyxj
Copy link

hswyxj commented May 15, 2021

风控了,等一个星期吧 在 2021年5月15日週六 上午11:59,郝斯文 @.***> 寫道:

请尝试100字以内发送(英文字母),以及100字以上的发送 对比两者,后者是否无法发送 100字以内发送(英文字母)能发送 100字以上英文字母 发送-无法发送 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#882 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEY62IG6V63EAYJKPHZEWLTNXWTXANCNFSM44Z5FC6Q .

image
直接被冻结了=,= 尴尬

@hswyxj
Copy link

hswyxj commented May 15, 2021

风控了,等一个星期吧 在 2021年5月15日週六 上午11:59,郝斯文 @.***> 寫道:

请尝试100字以内发送(英文字母),以及100字以上的发送 对比两者,后者是否无法发送 100字以内发送(英文字母)能发送 100字以上英文字母 发送-无法发送 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#882 (comment)>, or unsubscribe github.com/notifications/unsubscribe-auth/AGEY62IG6V63EAYJKPHZEWLTNXWTXANCNFSM44Z5FC6Q .

image
直接被冻结了=,= 尴尬

这边还是建议你别急着用, 先挂一个星期, 什么都不干

好的

@LingMuXing
Copy link

QQ图片20210515211003
同样的问题,go在无限重连中已经挂了。1.0 Ba3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? The issue author think this is a bug
Projects
None yet
Development

No branches or pull requests

6 participants
@BlackcatWatcher @hswyxj @clacknya @Ink-33 @LingMuXing and others