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

用户入群申请 MemberJoinRequestEvent 没有广播 #542

Closed
Andy-shi001 opened this issue Aug 25, 2020 · 11 comments
Closed

用户入群申请 MemberJoinRequestEvent 没有广播 #542

Andy-shi001 opened this issue Aug 25, 2020 · 11 comments
Labels
M 优先级: 主要 t:bug 类型: bug x:protocol 属性: 协议相关
Milestone

Comments

@Andy-shi001
Copy link

确认bot是管理员,试了多次,机器人是管理员,申请入群,还是监听不到,还有什么处理方式可以解决?
mirai-api-http [ws] /all?sessionKey=YourSessionKey 监听该接口,插件将推送Bot收到的事件和消息 监听失效无任何反应
image

@Andy-shi001 Andy-shi001 added the t:problem 类型: 不容易归类为特性或 bug 的综合问题 label Aug 25, 2020
@Him188
Copy link
Member

Him188 commented Aug 25, 2020

请提供使用的版本号. 因为此问题在 1.2.0 被改善

@Him188 Him188 added x:question 标签: 需要更多信息 and removed t:problem 类型: 不容易归类为特性或 bug 的综合问题 labels Aug 25, 2020
@Him188
Copy link
Member

Him188 commented Aug 25, 2020

如果正在使用的版本低于 1.2.0, 请先更新然后测试

@milkice233
Copy link

milkice233 commented Aug 25, 2020

嗯……跟我遇到的情况比较像,MemberJoinRequestEvent 大概率收不到 #536

版本 1.2.2

@Him188 Him188 added M 优先级: 主要 x:protocol 属性: 协议相关 t:bug 类型: bug and removed x:question 标签: 需要更多信息 labels Aug 25, 2020
@Him188 Him188 added this to the 1.3.0 milestone Aug 25, 2020
@sandtechnology
Copy link
Collaborator

sandtechnology commented Aug 27, 2020

之前在调试 #358 并发送PR的时候也有遇到过这种问题,貌似只有开始运行的一小段时间内能正常接收邀请入群信息,原因未知
也许是相关的(

@ly1102
Copy link

ly1102 commented Aug 29, 2020

我的也是这样的,不过我的还有更奇怪的问题。如果是机器人自己新加入群或者是有别人加入机器人已经存在的群。新人进来不仅收不到新人加入的event,还会收不到新人的消息。同时控制台很多unknown group xxxx的提示。

@fengberd
Copy link

fengberd commented Sep 1, 2020

存在相同的问题, 大约只有 1/10 的加群申请会被接收到, 并且重启 Bot 后大概率能正常处理加群一段时间
版本 1.2.2

@Him188 Him188 modified the milestones: 1.3.0, 1.2.3 Sep 10, 2020
@Him188 Him188 changed the title 用户入群申请 MemberJoinRequestEvent 失效 用户入群申请 MemberJoinRequestEvent 没有广播 Sep 10, 2020
@Him188
Copy link
Member

Him188 commented Sep 11, 2020

我在 1.2.3 添加了重试操作, 可能会改善这些问题.

如果问题仍然发生, 请提供发生时的网络日志. 这将对解决 #249, #482, #542, #567, #590 都有极大帮助

@Him188 Him188 modified the milestones: 1.2.3, 1.3.0 Sep 13, 2020
@m839336369
Copy link

我在 1.2.3 添加了重试操作, 可能会改善这些问题.

如果问题仍然发生, 请提供发送时的网络日志. 这将对解决 #249, #482, #542, #567, #590 都有极大帮助

依旧,同一个人进群退群,无法捕捉进群和退群事件,只能捕捉到第一次进群,之后就再也抓不到了,其次退群也是失灵时不灵。

@Him188
Copy link
Member

Him188 commented Sep 13, 2020

我在 1.2.3 添加了重试操作, 可能会改善这些问题.
如果问题仍然发生, 请提供发送时的网络日志. 这将对解决 #249, #482, #542, #567, #590 都有极大帮助

依旧,同一个人进群退群,无法捕捉进群和退群事件,只能捕捉到第一次进群,之后就再也抓不到了,其次退群也是失灵时不灵。

请提供发生时的网络日志.

@m839336369
Copy link

我在 1.2.3 添加了重试操作, 可能会改善这些问题.
如果问题仍然发生, 请提供发送时的网络日志. 这将对解决 #249, #482, #542, #567, #590 都有极大帮助

依旧,同一个人进群退群,无法捕捉进群和退群事件,只能捕捉到第一次进群,之后就再也抓不到了,其次退群也是失灵时不灵。

请提供发生时的网络日志.

2020-09-13.log

Him188 added a commit that referenced this issue Sep 15, 2020
@Him188 Him188 closed this as completed Sep 15, 2020
@kenvix
Copy link
Contributor

kenvix commented Oct 2, 2020

V1.3.1,仍然存在此问题

2020-10-02 21:05:00 V/Net 1513002057: Send: Heartbeat.Alive
2020-10-02 21:05:00 V/Net 1513002057: Recv: Heartbeat.Alive.Response
2020-10-02 21:05:07 V/Net 1513002057: Recv: net.mamoe.mirai.qqandroid.network.protocol.data.jce.RequestPushNotify@23c6873c 
2020-10-02 21:05:07 V/Net 1513002057: Send: MessageSvc.PbGetMsg
2020-10-02 21:05:07 V/Net 1513002057: Send: OnlinePush.RespPush
2020-10-02 21:05:15 V/Net 1513002057: Send: OnlinePush.RespPush
2020-10-02 21:05:53 V/Net 1513002057: Send: OnlinePush.RespPush
2020-10-02 21:05:53 V/Net 1513002057: Recv: net.mamoe.mirai.qqandroid.network.protocol.data.jce.RequestPushNotify@2d017d34
2020-10-02 21:05:53 V/Net 1513002057: Send: MessageSvc.PbGetMsg
2020-10-02 21:05:53 V/Net 1513002057: Send: MessageSvc.PbDeleteMsg
2020-10-02 21:05:53 V/Bot 1513002057: Event: MemberJoinEvent.Active(member=996052885)
// 成员入群已被同意

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 优先级: 主要 t:bug 类型: bug x:protocol 属性: 协议相关
Projects
None yet
Development

No branches or pull requests

8 participants