当前是整合到了SpringBoot中,本地运行可以登录,没有问题,部署到服务器之后无法实现滑块验证,最后抛出了溢出异常,具体异常如下所示
异常类
NoStandardInputForCaptchaException
信息
[0m2021-12-15 17:04:37 V/Net 742139017: No server list cached.[0m
[92m2021-12-15 17:04:39 I/Net 742139017: ECDH key is invalid, start to fetch ecdh public key from server.[0m
[92m2021-12-15 17:04:40 I/Net 742139017: Successfully fetched ecdh public key from server.[0m
[0m2021-12-15 17:04:40 V/Net 742139017: Send: wtlogin.login[0m
[92m2021-12-15 17:04:41 I/Bot 742139017: [SliderCaptcha] 需要滑动验证码, 请按照以下链接的步骤完成滑动验证码, 然后输入获取到的 ticket[0m
[92m2021-12-15 17:04:41 I/Bot 742139017: [SliderCaptcha] Slider captcha required. Please solve the captcha with following link. Type ticket here after completion.[0m
[92m2021-12-15 17:04:41 I/Bot 742139017: [SliderCaptcha] @see https://github.com/project-mirai/mirai-login-solver-selenium[0m
[92m2021-12-15 17:04:41 I/Bot 742139017: [SliderCaptcha] @see https://docs.mirai.mamoe.net/mirai-login-solver-selenium/[0m
[92m2021-12-15 17:04:41 I/Bot 742139017: [SliderCaptcha] 或者输入 TxCaptchaHelper 来使用 TxCaptchaHelper 完成滑动验证码[0m
[92m2021-12-15 17:04:41 I/Bot 742139017: [SliderCaptcha] Or type `TxCaptchaHelper` to resolve slider captcha with TxCaptchaHelper.apk[0m
[92m2021-12-15 17:04:41 I/Bot 742139017: [SliderCaptcha] Captcha link: https://ssl.captcha.qq.com/template/wireless_mqq_captcha.html?style=simple&aid=16&uin=742139017&sid=7919702786730209192&cap_cd=ghDfcMdCsNDOQXq9UMK8R0mEiCXYd2RhltIjXptfQO0eFoKMMDxrOA**&clientype=1&apptype=2[0m
[0m2021-12-15 17:04:41 V/Net 742139017: Recv: wtlogin.login[0m
[91m2021-12-15 17:04:41 W/Net 742139017: net.mamoe.mirai.network.NoStandardInputForCaptchaException: no standard input for captcha
net.mamoe.mirai.network.NoStandardInputForCaptchaException: no standard input for captcha
at net.mamoe.mirai.utils.StandardCharImageLoginSolver$1.invokeSuspend(LoginSolver.jvm.kt:127)
at net.mamoe.mirai.utils.StandardCharImageLoginSolver$1.invoke(LoginSolver.jvm.kt)
at net.mamoe.mirai.utils.StandardCharImageLoginSolver$1.invoke(LoginSolver.jvm.kt)
at net.mamoe.mirai.utils.StandardCharImageLoginSolver$input$1$1.invokeSuspend(LoginSolver.jvm.kt:139)
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: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)
[0m
17:04:41.264 [http-nio-8080-exec-15] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - [doResolveHandlerMethodException,434] - Failure in @ExceptionHandler com.ruoyi.framework.web.exception.GlobalExceptionHandler#handleRuntimeException(RuntimeException, HttpServletRequest)
java.lang.StackOverflowError: null
服务器信息如下
c1abd955-fa92-4d34-98f1-d9509daefc75-image.png
::本地开发环境无登录问题