机器人登录时被要求进行滑动验证,输入ticket后报版本过低或网络不稳定,如何解决呢 #55
-
springboot项目,使用的依赖 以下是使用ANDROID_PHONE的报错内容 net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: Error(bot=Bot((机器人的QQ号)), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= ) 2023-01-13 09:15:41.676 WARN 9316 --- [atcher-worker-2] love.forte.simbot.mirai.net.(机器人的QQ号) : Network selector received exception, closing bot. (net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: Error(bot=Bot((机器人的QQ号)), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= )) Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simbotApplicationAfterApplication' defined in love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simboot.spring.autoconfigure.AutoConfigureMarker$AfterApplicationPostProcessor]: Factory method 'simbotApplicationAfterApplication' threw exception; nested exception is java.lang.IllegalStateException: Can't overwrite cause with a null Disconnected from the target VM, address: '127.0.0.1:59271', transport: 'socket' Process finished with exit code 1 net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: Error(bot=Bot((机器人的QQ号)), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo=) 2023-01-13 09:24:22.798 WARN 10784 --- [atcher-worker-1] love.forte.simbot.mirai.net.(机器人的QQ号) : Network selector received exception, closing bot. (net.mamoe.mirai.internal.network.components.LoginFailedExceptionAsNetworkException: Error(bot=Bot((机器人的QQ号)), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo=)) Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simbotApplicationAfterApplication' defined in love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simboot.spring.autoconfigure.AutoConfigureMarker$AfterApplicationPostProcessor]: Factory method 'simbotApplicationAfterApplication' threw exception; nested exception is java.lang.IllegalStateException: Can't overwrite cause with a null |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
网络不稳定的问题参考 mamoe/mirai#2345
其他参考: |
Beta Was this translation helpful? Give feedback.
-
已经知道怎样使用滑块了,但是不论是浏览器还是安卓获取的ticket,最后都报了这个错误,有的奇怪,难道和我的jdk版本有关?我的jdk版本是19,不知作者是多少的呢? 以下是错误信息: |
Beta Was this translation helpful? Give feedback.
网络不稳定的问题参考 mamoe/mirai#2345
仍然提示版本过低的问题理论上应该被 mirai v2.13.0+ 版本修复了,仍然出现那么确实有可能是账号问题,或者尝试删除项目目录下的
device.json
和cache
文件夹来尝试重新生成它们,实在不行则尝试切换其他账号。其他参考: