登录不上mirai机器人
-
mirai版本
[20:57:19 INFO]: [MiraiMC] Disabling MiraiMC v1.9-pre3 [20:57:19 INFO]: [MiraiMC] Preparing MiraiMC unload. [20:57:19 INFO]: [MiraiMC] Closing all bots [20:57:19 INFO]: [MiraiMC] Stopping bot event listener. [20:57:19 INFO]: [MiraiMC] Closing database. [20:57:29 INFO]: [MiraiMC] ========== [ MiraiMC 公告版 ] ========== [20:57:29 INFO]: [MiraiMC] 1.9-pre2 已发布,即将为非官方mirai核心提供支持 [20:57:29 INFO]: [MiraiMC] 如果你对 Onebot 感兴趣,欢迎尝试对接第三方 mirai 核心 Overflow: [20:57:29 INFO]: [MiraiMC] https://github.com/DreamVoid/MiraiMCAddon-Overflow/releases/tag/v1.0 [20:57:29 INFO]: [MiraiMC] =======================================
扫码登陆(ANDROID_WATCH)
登录不上
以下为日志> mirai login 2495350235 QRCode ANDROID_WATCH [21:00:36 INFO]: [MiraiMC] 登录新的机器人账号: 2495350235, 协议: ANDROID_WATCH [21:00:36 INFO]: [MiraiMC] EncryptService SPI is not provided, sso secure ecdh will not be initialized. [21:00:36 INFO]: [MiraiMC] ECDH key is invalid, start to fetch ecdh public key from server. [21:00:36 INFO]: [MiraiMC] Successfully fetched ecdh public key from server. [21:00:36 WARN]: [MiraiMC] 当前登录的QQ(2495350235)的登录二维码已准备好 [21:00:36 WARN]: [MiraiMC] 请找到下面的文件并使用登录当前QQ的客户端识别二维码 [21:00:36 WARN]: [MiraiMC] plugins\MiraiMC\qrcode-image\2495350235.png [21:00:36 WARN]: [MiraiMC] 识别完成后,请在客户端完成验证流程 [21:00:36 WARN]: [MiraiMC] 如需取消登录,请输入指令 /miraiverify cancel 2495350235,5秒内将会取消登录 [21:00:36 WARN]: [MiraiMC] 如需帮助,请参阅: https://docs.miraimc.dreamvoid.me/troubleshoot/verify-guide#qrcode [21:00:36 INFO]: [MiraiMC] 已尝试使用系统方式直接打开二维码图片 [21:00:36 INFO]: [MiraiMC] 当前登录的QQ(2495350235)的二维码状态已更新:WAITING_FOR_SCAN [21:00:46 INFO]: [MiraiMC] 当前登录的QQ(2495350235)的二维码状态已更新:WAITING_FOR_CONFIRM [21:00:51 INFO]: [MiraiMC] 当前登录的QQ(2495350235)的二维码状态已更新:CONFIRMED [21:00:51 WARN]: [MiraiMC] Failed with auth method: QRCode net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2495350235), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[mirai-core-all-2.16.0-all.jar:2.16.0] [21:00:51 WARN]: [MiraiMC] Exception in resumeConnection. net.mamoe.mirai.internal.network.handler.selector.SelectorRequireReconnectException: null [21:00:51 INFO]: [MiraiMC] ECDH key is valid. [21:00:51 WARN]: [MiraiMC] Failed with auth method: Error[net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2495350235), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=)]@1911529865 net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[mirai-core-all-2.16.0-all.jar:2.16.0] Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2495350235), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[mirai-core-all-2.16.0-all.jar:2.16.0] Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2495350235), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[mirai-core-all-2.16.0-all.jar:2.16.0] ... 5 more [21:00:51 WARN]: [MiraiMC] Exception in resumeConnection. net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:249) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[mirai-core-all-2.16.0-all.jar:2.16.0] Suppressed: net.mamoe.mirai.internal.network.handler.selector.SelectorRequireReconnectException Caused by: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) ~[mirai-core-all-2.16.0-all.jar:2.16.0] ... 6 more Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2495350235), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[mirai-core-all-2.16.0-all.jar:2.16.0] Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2495350235), code=45, title=禁止登录, message=你当前使用的QQ版本过低,请前往QQ官网im.qq.com下载最新版QQ后重试。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[mirai-core-all-2.16.0-all.jar:2.16.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[mirai-core-all-2.16.0-all.jar:2.16.0] ... 5 more [21:00:51 WARN]: [MiraiMC] Network selector received exception, closing bot. (net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below.) [21:00:51 WARN]: [MiraiMC] 登录机器人时出现异常,原因: BotAuthorization(BotAuthorization.byQRCode()) threw an exception during authorization process. See cause below. [21:00:51 INFO]: [MiraiMC] Bot cancelled: Bot closed
-
我前两天刚开始用Mirai, 昨天也在找扫码登录报code=45的解决方案. 今天早上我侥幸成功登录了.
- 在console界面通过login密码登陆先尝试登录一次, 会生成一些登录信息在 '/bots/QQ账号' 下方
- 加载 https://github.com/MrXiaoM/fpv/releases/tag/v1.13.3 到consul中, 并重启console使用扫码登录, 扫码即可成功
-
@zhanyan-Ader1y
@zhanyan-Ader1y 在 登录不上mirai机器人 中说:请问如何加载这个插件,我将其放入插件文件夹后没有重启控制台查看插件列表,其中并没有这个插件
> plugins [13:08:57 INFO]: Server Plugins (16): [13:08:57 INFO]: Paper Plugins: [13:08:57 INFO]: - ISeeYou, MiraiMC [13:08:57 INFO]: Bukkit Plugins: [13:08:57 INFO]: - BedWars, BlueMap, Chat2QQ, Chunky, CreeperGuard, eBackup, LuckPerms, My_Worlds, SimpleTpa, SkinsRestorer [13:08:57 INFO]: TAB, ViaBackwards, ViaRewind, ViaVersion
感谢
-
@wwbtbgm 需要在放入mcl的plugins目录下然后重启console; 如果是开发环境通过runConsole的话需要放入工程下的debug-sendbox下的plugins目录中然后重新运行
-
MiraiMC≠MCL