遇到Code 235后将协议改为Android_watch依旧无法登录,滑块验证后提示Code 238。
更改MACOS登录后报错变为 Code 237,求解决方法。
2023-03-26 19:37:46 I/main: Auto-login **, protocol: ANDROID_WATCH, heartbeatStrategy: STAT_HB
2023-03-26 19:37:46 I/MiraiNative: 插件 Dice.Driver.CQ.dll 已被加载,返回值为 0 。
2023-03-26 19:39:22 I/Bot.: Bot cancelled: Bot closed
2023-03-26 19:39:22 E/main: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(), code=238, title=禁止登录, message=请使用手Q扫描二维码或短信登录。, errorInfo=
)
net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(**), code=238, title=禁止登录, message=请使用手Q扫描二维码或短信登录。, errorInfo=)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:331)
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)
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-03-26 19:39:22 I/main: mirai-console started successfully.
login ***** ***** MASOC
2023-03-26 19:40:35 W/console: 无法解析 MASOC 为 MiraiProtocol
login ***** ***** MACOS
2023-03-26 19:41:40 I/Bot.**: Bot cancelled: Bot closed
Login failed: Error(bot=Bot(), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo=)
2023-03-26 19:41:40 E/console: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设
备或通过手机号登录。, errorInfo=)
net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(**), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo
=)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:331)
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)
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)