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

code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。 #606

Closed
pure-love-soldier opened this issue Feb 24, 2023 · 9 comments
Assignees
Labels
组件:mirai 与mirai组件相关

Comments

@pure-love-soldier
Copy link

版本号

v3.0.0.0-RC.3

附加版本

No response

涉及的编程语言

Java

项目构建工具

Maven

涉及的组件库

mirai (QQ)

问题描述

在尝试登录的时候提示我Error(bot=Bot(2531712479), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=)

复现方式

image

相关日志

No response

其他补充

No response

@pure-love-soldier pure-love-soldier added the bug? 疑似为bug、存在普遍性问题、待确认 label Feb 24, 2023
@ForliyScarlet ForliyScarlet added the 等待确认 等待负责人员的确认 label Feb 24, 2023
@ForteScarlet
Copy link
Member

mamoe/mirai#2524

@ForteScarlet ForteScarlet added 组件:mirai 与mirai组件相关 等待反馈 等待发起者的反馈 and removed bug? 疑似为bug、存在普遍性问题、待确认 等待确认 等待负责人员的确认 labels Feb 24, 2023
@twwch
Copy link

twwch commented Feb 28, 2023

有解决方案么?卡很久了

@ForteScarlet
Copy link
Member

有解决方案么?卡很久了

如上参考,追踪mirai的解决情况并尝试讨论中出现的各种方案。这可能是新的风控形式。

其他参考:

@twwch
Copy link

twwch commented Mar 1, 2023

image

在账号配置下加上这个配置就行,我就是这样解决的

@pure-love-soldier
Copy link
Author

是的,已解决,切换config.protocol就行

@ForliyScarlet ForliyScarlet added 等待确认 等待负责人员的确认 and removed 等待反馈 等待发起者的反馈 labels Mar 1, 2023
@ForliyScarlet ForliyScarlet removed the 等待确认 等待负责人员的确认 label Mar 1, 2023
@jixiuy
Copy link

jixiuy commented Mar 7, 2023

config.protocol在哪

@healinshadow
Copy link

請問Code45禁止登陸怎麽解決呀?

@YiMengYanYu
Copy link

我切换config.protocol然后变成code=237报错

@ForteScarlet
Copy link
Member

@YiMengYanYu mirai目前建议 protocol 手表相关协议,并且登录方式 authorization.type 更改为二维码扫码 qr_code ,(参考 文档),这样就有概率 可以使用,但无法保证稳定性。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
组件:mirai 与mirai组件相关
Projects
None yet
Development

No branches or pull requests

7 participants