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

【功能建议】希望新增 风控事件上报 #515

Open
cokll opened this issue Dec 24, 2020 · 4 comments
Open

【功能建议】希望新增 风控事件上报 #515

cokll opened this issue Dec 24, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@cokll
Copy link

cokll commented Dec 24, 2020

[2020-12-24 01:33:40] [DEBUG]: HTTPServer接收到API调用: send_group_msg
[2020-12-24 01:33:40] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbSendMsg seq: 17866
[2020-12-24 01:33:40] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbSendMsg seq: 17865
[2020-12-24 01:33:41] [DEBUG]: Protocol -> rev pkt: Heartbeat.Alive seq: 17867
[2020-12-24 01:33:45] [DEBUG]: Protocol -> rev pkt: OidbSvc.0x88d_0 seq: 17868
[2020-12-24 01:33:45] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbGetGroupMsg seq: 17869
[2020-12-24 01:33:45] [WARNING]: 群消息发送失败: 账号可能被风控.
[2020-12-24 01:33:45] [WARNING]: 将尝试分片发送...
[2020-12-24 01:33:45] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbSendMsg seq: 17870
[2020-12-24 01:33:45] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbSendMsg seq: 17871
[2020-12-24 01:33:50] [DEBUG]: Protocol -> rev pkt: OidbSvc.0x88d_0 seq: 17872
[2020-12-24 01:33:50] [DEBUG]: Protocol -> rev pkt: MessageSvc.PbGetGroupMsg seq: 17873

现在自动的分片操作100%没有用。。希望新增一个消息发送失败后再上报一次刚刚发送的什么内容失败方便记录失败事件可以视情况重新发送

例如:上报Event数据 {"group_id":xxx,"message":" 群消息发送失败: 账号可能被风控.","message_type":"group","post_type":"message","raw_message":" 群消息发送失败: 账号可能被风控."},"sub_type":"error","time":1608744820} 到 https://127.0.0.1:8000

@scofieldle
Copy link

我今天刚刚从miraiOK转到使用go-cqhttp,群内抽签、抽卡、Twitter转发都没有问题,但是部分群内消息(主要是onprefix)的,会被风控导致没有回复。请问这个情况正常吗。。

@hswyxj
Copy link

hswyxj commented Jan 14, 2021

问下 现在发消息被风控后,会发两条消息一模一样的消息出来,这个问题能优化吗?

@bin-tenkuu
Copy link

现在的分片发送操作确实100%没用,希望增加一个返回码,或者修改现有的返回码
参考响应说明
希望本项目中进入分片操作时发送 retcode: 1,分片发送成功之后再次发送 retcode: 0,分片发送失败则发送其他定义好的retcode: 1xx
理由:因为本项目也支持 echo 字段,会原样返回,所以异步特殊情况可以考虑用特殊的返回格式,不然就考虑激进一点删掉这个分片操作吧🤔

@fumiama fumiama added the enhancement New feature or request label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants
@cokll @hswyxj @bin-tenkuu @scofieldle @fumiama and others