希望增加SMS短信验证
-
Log日志:
221月2023 14:39:28.401] [DefaultDispatcher-worker-4/WARN] [MiraiMC/]: Exception in resumeConnection. net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: This login session requires SMS verification, but current LoginSolver(me.dreamvoid.miraimc.internal.MiraiLoginSolver@56c4d363) does not support it. Please override `LoginSolver.onSolveDeviceVerification`. at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:248) ~[mirai-core-all-2.13.2.jar:?] {} at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [mirai-core-all-2.13.2.jar:?] {} at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) [mirai-core-all-2.13.2.jar:?] {} at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) [mirai-core-all-2.13.2.jar:?] {} at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) [mirai-core-all-2.13.2.jar:?] {} at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [mirai-core-all-2.13.2.jar:?] {} at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) [mirai-core-all-2.13.2.jar:?] {} at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) [mirai-core-all-2.13.2.jar:?] {} at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) [mirai-core-all-2.13.2.jar:?] {} at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) [mirai-core-all-2.13.2.jar:?] {} Caused by: net.mamoe.mirai.network.UnsupportedSmsLoginException: This login session requires SMS verification, but current LoginSolver(me.dreamvoid.miraimc.internal.MiraiLoginSolver@56c4d363) does not support it. Please override `LoginSolver.onSolveDeviceVerification`. at net.mamoe.mirai.utils.LoginSolver.onSolveDeviceVerification$suspendImpl(LoginSolver.kt:94) ~[mirai-core-all-2.13.2.jar:?] {} at net.mamoe.mirai.utils.LoginSolver.onSolveDeviceVerification(LoginSolver.kt) ~[mirai-core-all-2.13.2.jar:?] {} at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:259) ~[mirai-core-all-2.13.2.jar:?] {} at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-all-2.13.2.jar:?] {} ... 9 more [221月2023 14:39:28.401] [DefaultDispatcher-worker-4/WARN] [MiraiMC/]: Network selector received exception, closing bot. (net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: This login session requires SMS verification, but current LoginSolver(me.dreamvoid.miraimc.internal.MiraiLoginSolver@56c4d363) does not support it. Please override `LoginSolver.onSolveDeviceVerification`.) [221月2023 14:39:28.402] [Craft Scheduler Thread - 83/WARN] [MiraiMC/]: 登录机器人时出现异常,原因: This login session requires SMS verification, but current LoginSolver(me.dreamvoid.miraimc.internal.MiraiLoginSolver@56c4d363) does not support it. Please override `LoginSolver.onSolveDeviceVerification`. [221月2023 14:39:28.403] [nioEventLoopGroup-4-5/INFO] [MiraiMC/]: Bot cancelled: Bot closed
希望Mirai能支持短信验证,比如新增提交验证码的指令
/miraiverify sms <qq> <验证码> -
MiraiMC 没有实现短信验证码解决器,这和 mirai 无关,请反馈给 DreamVoid,不要在这里反馈。
-
@MrXiaoM 所以你的意思是Mirai有短信验证解决器,但是MiraiMC没有适配?
-
@BaimoQilin 是,而且你应该向 MiraiMC 的作者反馈,这里是 mirai 论坛,你反馈它的衍生作品 MiraiMC 的问题是没有用的。
-
@MrXiaoM 感谢!
-
-
@MrXiaoM miraimc是什么,mc专供版本吗(
-
@Mr-喜 是适用于 mc 各大服务端的 mirai 加载器以及包装,将 mirai 的接口包装得更适合 mc 服务器插件 本 地 化
-
@Mr-喜 基于mirai的mc&qq聊天互通转发服务端插件