mamoe / mirai-console

mirai 的高效率 QQ 机器人控制台
GNU Affero General Public License v3.0
1.19k stars 412 forks source link

使用login指令一直弹出输入验证码 #372

Closed JESVN closed 3 years ago

JESVN commented 3 years ago

Snipaste_2021-06-22_10-05-22 一直弹出这个输入验证码,无论输入的验证码的对错,我qq上登录保护啥的都关闭了的,请问这该怎么解决啊?

Him188 commented 3 years ago

看看网络日志(bots/qq号/logs)

xtyuns commented 3 years ago

I ran into the same problem

this is my log, I replace my bot's ID inside with $QQ

2021-06-22 15:49:25 V/Net $QQ: [BotSessionSyncer] No server list cached.
2021-06-22 15:49:25 V/Net $QQ: Send: wtlogin.login
2021-06-22 15:49:25 V/Net $QQ: Recv: wtlogin.login
2021-06-22 15:49:25 V/Net $QQ: Send: wtlogin.login
2021-06-22 15:49:25 V/Net $QQ: Recv: wtlogin.login
2021-06-22 15:49:37 V/Net $QQ: Send: wtlogin.login
2021-06-22 15:49:37 V/Net $QQ: Recv: wtlogin.login
2021-06-22 15:49:37 W/Net $QQ: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot($QQ), code=237, title=禁止登录, message=当前上网环境异常,请更换网络环境或在常用设备上登录或稍后再试。, errorInfo=), tips=若频繁出现, 请尝试开启设备锁
net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot($QQ), code=237, title=禁止登录, message=当前上网环境异常,请更换网络环境或在常用设备上登录或稍后再试。, errorInfo=), tips=若频繁出现, 请尝试开启设备锁
    at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:247)
    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:571)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

2021-06-22 15:49:37 V/Net $QQ: [BotSessionSyncer] No server list cached.
2021-06-22 15:49:37 V/Net $QQ: Send: wtlogin.login
2021-06-22 15:49:37 V/Net $QQ: Recv: wtlogin.login
2021-06-22 15:49:37 V/Net $QQ: Send: wtlogin.login
2021-06-22 15:49:37 V/Net $QQ: Recv: wtlogin.login
Him188 commented 3 years ago

https://github.com/mamoe/mirai/issues/1352 一样

JESVN commented 3 years ago

Snipaste_2021-06-22_16-28-28 @Him188