@cssxsh 需要把自动登录里的帐号清空。已经登录成功,谢谢啊
Y
yrdmj2023 发布的帖子
-
RE: 协议问题汇报
@cssxsh 去掉自动登录后,扫码能够登录,然后出现验证,验证过后,失败,提示237错误
2023-07-11 20:45:27 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17. 2023-07-11 20:45:27 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies 2023-07-11 20:45:27 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-07-11 20:45:28 I/QRLogin: Loading QRLogin v0.1.9 2023-07-11 20:45:28 W/QRLogin: 本插件仅在 2.15.0 或以上工作,且在正式版或先行发布版(RC)中可能无法使用 2023-07-11 20:45:28 I/plugin: Successfully loaded plugin QRLogin v0.1.9 2023-07-11 20:45:28 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.10 2023-07-11 20:45:28 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-07-11 20:45:28 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-07-11 20:45:28 I/QRLogin: 正在启用插件 QRLogin v0.1.9 2023-07-11 20:45:28 I/QRLogin: Mirai 版本: 2.15.0 2023-07-11 20:45:28 I/QRLogin: 正在进行自动登录... 2023-07-11 20:45:28 I/QRLogin: Auto-login 865043709, protocol: ANDROID_WATCH, heartbeatStrategy: STAT_HB 2023-07-11 20:45:28 I/QRLoginSolver: 登录解决器更换为 QRLoginSolver 2023-07-11 20:45:29 I/QRLoginSolver: 将会在弹出窗口显示二维码图片,请在相似网络环境下使用手机QQ扫码登录。若看不清图片,请查看文件: 2023-07-11 20:45:29 I/QRLoginSolver: file:///E:/mirai-2.15.0/mirai-2.15.0/data/top.mrxiaom.qrlogin/mirai-qrcode-865043709-1689079529.png 2023-07-11 20:45:29 I/QRLoginSolver: 等待扫描二维码中 2023-07-11 20:45:44 I/QRLoginSolver: 扫描完成,请在手机 QQ 确认登录 2023-07-11 20:45:55 I/QRLoginSolver: 已确认登录 2023-07-11 20:45:55 I/Bot.865043709: Login successful 2023-07-11 20:45:55 I/Bot.865043709: Saved account secrets to local cache for fast login. 2023-07-11 20:45:55 I/Bot.865043709: Login successful. 2023-07-11 20:46:05 V/Bot.865043709: Event: BotOnlineEvent(bot=Bot(865043709)) 2023-07-11 20:46:05 I/Bot.865043709: Bot login successful. 2023-07-11 20:46:05 V/Bot.865043709: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Success@11574592 2023-07-11 20:46:05 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2023-07-11 20:46:05 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2023-07-11 20:46:05 I/main: 3 plugin(s) enabled. 2023-07-11 20:46:05 I/main: Auto-login 12345, protocol: ANDROID_PHONE, heartbeatStrategy: STAT_HB 2023-07-11 20:46:06 I/Bot.12345: Calculating type 2 PoW, it can take some time.... 2023-07-11 20:46:06 I/Bot.12345: Got PoW result, cost: 112 ms 2023-07-11 20:47:49 E/main: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(12345), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ... 5 more Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(12345), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo=)] 2023-07-11 20:47:49 I/Bot.12345: Bot cancelled: Bot closed 2023-07-11 20:47:49 V/Bot.12345: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Failure@5ba184fc 2023-07-11 20:47:49 I/main: mirai-console started successfully.
-
RE: 协议问题汇报
1、mirai版本
===================================[ Mirai console 2.15.0 ]=================================== __ __ __ __ ______ __ | \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ \/ \ | \| \ ▓▓ \▓▓/ \| \ / \/ \| ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ \| ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓ 2023-07-11 18:21:02 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17.
2、协议版本信息
没有安装 fix-protocol-version
3、登录方式及使用的协议
扫码登录(ANDROID_WATCH)
4、出现的问题
能登录,但是稍等马上出错退出,错误代码2382023-07-11 18:21:02 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17. 2023-07-11 18:21:02 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies 2023-07-11 18:21:02 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-07-11 18:21:02 I/QRLogin: Loading QRLogin v0.1.9 2023-07-11 18:21:02 W/QRLogin: 本插件仅在 2.15.0 或以上工作,且在正式版或先行发布版(RC)中可能无法使用 2023-07-11 18:21:02 I/plugin: Successfully loaded plugin QRLogin v0.1.9 2023-07-11 18:21:03 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.10 2023-07-11 18:21:03 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-07-11 18:21:03 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-07-11 18:21:03 I/QRLogin: 正在启用插件 QRLogin v0.1.9 2023-07-11 18:21:03 I/QRLogin: Mirai 版本: 2.15.0 2023-07-11 18:21:03 I/QRLogin: 正在进行自动登录... 2023-07-11 18:21:03 I/QRLogin: Auto-login 865043709, protocol: ANDROID_WATCH, heartbeatStrategy: STAT_HB 2023-07-11 18:21:03 I/QRLoginSolver: 登录解决器更换为 QRLoginSolver 2023-07-11 18:21:04 I/QRLoginSolver: 将会在弹出窗口显示二维码图片,请在相似网络环境下使用手机QQ扫码登录。若看不清图片,请查看文件: 2023-07-11 18:21:04 I/QRLoginSolver: file:///E:/mirai-2.15.0/mirai-2.15.0/data/top.mrxiaom.qrlogin/mirai-qrcode-865043709-1689070864.png 2023-07-11 18:21:04 I/QRLoginSolver: 等待扫描二维码中 2023-07-11 18:21:14 I/QRLoginSolver: 扫描完成,请在手机 QQ 确认登录 2023-07-11 18:21:19 I/QRLoginSolver: 已确认登录 2023-07-11 18:21:19 I/Bot.865043709: Login successful 2023-07-11 18:21:19 I/Bot.865043709: Saved account secrets to local cache for fast login. 2023-07-11 18:21:19 I/Bot.865043709: Login successful. 2023-07-11 18:21:29 V/Bot.865043709: Event: BotOnlineEvent(bot=Bot(865043709)) 2023-07-11 18:21:29 I/Bot.865043709: Bot login successful. 2023-07-11 18:21:29 V/Bot.865043709: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Success@194911c1 2023-07-11 18:21:29 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2023-07-11 18:21:29 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2023-07-11 18:21:29 I/main: 3 plugin(s) enabled. 2023-07-11 18:21:29 I/main: Auto-login 865043709, protocol: ANDROID_WATCH, heartbeatStrategy: STAT_HB 2023-07-11 18:21:30 E/Bot.865043709: Failed to load account secrets from local cache. Invalidating cache... net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException at net.mamoe.mirai.internal.utils.crypto.TEA.fail(TEA.kt:299) at net.mamoe.mirai.internal.utils.crypto.TEA.doOption$decrypt(TEA.kt:275) at net.mamoe.mirai.internal.utils.crypto.TEA.doOption(TEA.kt:295) at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt(TEA.kt:319) at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt$default(TEA.kt:318) at net.mamoe.mirai.internal.network.components.FileCacheAccountSecretsManager.getSecretsImpl(AccountSecretsManager.kt:196) at net.mamoe.mirai.internal.network.components.FileCacheAccountSecretsManager.getSecrets(AccountSecretsManager.kt:190) at net.mamoe.mirai.internal.network.components.CombinedAccountSecretsManager.getSecrets(AccountSecretsManager.kt:238) at net.mamoe.mirai.internal.network.components.AccountSecretsManagerKt.getSecretsOrCreate(AccountSecretsManager.kt:150) at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.createClient(BotClientHolder.kt:42) at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.access$createClient(BotClientHolder.kt:26) at net.mamoe.mirai.internal.network.components.BotClientHolderImpl$client$2.invoke(BotClientHolder.kt:30) at net.mamoe.mirai.internal.network.components.BotClientHolderImpl$client$2.invoke(BotClientHolder.kt:30) at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:47) at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.getClient(BotClientHolder.kt:30) at net.mamoe.mirai.internal.network.qimei.QimeiKt.requestQimei(Qimei.kt:43) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:218) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2023-07-11 18:21:30 E/main: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(865043709), code=238, title=禁止登录, message=请使用手Q扫描二维码或短信登录。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ... 5 more Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(865043709), code=238, title=禁止登录, message=请使用手Q扫描二维码或短信登录。, errorInfo=)] 2023-07-11 18:21:30 I/Bot.865043709: Bot cancelled: Bot closed 2023-07-11 18:21:30 V/Bot.865043709: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Failure@7019d619 2023-07-11 18:21:30 I/main: mirai-console started successfully.