当前登录存在安全风险,请使用常用设备或通过手机号登录 #14
Unanswered
Baishou-Kl
asked this question in
Q&A
Replies: 1 comment 1 reply
-
参考: 目前来看没什么特别有效的解决办法,可以尝试变更网络环境、开/关设备锁等各种玄学操作,但是不保证有用。可以尝试等待一段时间或更换其他账号尝试。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
<simbot.version>3.0.0.preview.8.1</simbot.version>
<simbot-component-mirai.version>3.0.0.0.preview.2.3</simbot-component-mirai.version>
密码是正确的
今天动了一下cache就登不上了 最开先是报错版本太低后面就是设备不安全
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'runAndConfigSimbotContext' defined in love.forte.simboot.autoconfigure.SimbootAutoconfigure: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simboot.SimbootContext]: Factory method 'runAndConfigSimbotContext' threw exception; nested exception is love.forte.simboot.SimbootApplicationException: java.lang.IllegalStateException: Can't overwrite cause with a null
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at club.gggd.qqrobot.QqRobotApplication.main(QqRobotApplication.java:12)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simboot.SimbootContext]: Factory method 'runAndConfigSimbotContext' threw exception; nested exception is love.forte.simboot.SimbootApplicationException: java.lang.IllegalStateException: Can't overwrite cause with a null
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
... 19 common frames omitted
Caused by: love.forte.simboot.SimbootApplicationException: java.lang.IllegalStateException: Can't overwrite cause with a null
at love.forte.simboot.SimbootApp.run(SimbootApp.kt:75)
at love.forte.simboot.autoconfigure.DefaultSimbootAppRunner.run(SimbootAppRunnerConfiguration.kt:49)
at love.forte.simboot.autoconfigure.SimbootAutoconfigure.runAndConfigSimbotContext(SimbootAutoconfigure.kt:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 20 common frames omitted
Caused by: java.lang.IllegalStateException: Can't overwrite cause with a null
at java.lang.Throwable.initCause(Throwable.java:457)
at love.forte.simbot.component.mirai.internal.MiraiBotImpl.start(MiraiBotImpl.kt:171)
at love.forte.simbot.component.mirai.internal.MiraiBotImpl$start$1.invokeSuspend(MiraiBotImpl.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:34)
at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking$default(BlockingRunner.kt:31)
at love.forte.simboot.core.CoreBootEntrance.run0(CoreBootEntrance.kt:261)
at love.forte.simboot.core.CoreBootEntrance.run(CoreBootEntrance.kt:127)
at love.forte.simboot.SimbootApp.run(SimbootApp.kt:73)
... 27 common frames omitted
Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2148597943), code=237, title=安全提醒, message=当前登录存在安全风险,请使用常用设备或通过手机号登录。, errorInfo=)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:265)
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)
Suppressed: java.util.concurrent.CancellationException: Bot closed
at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22)
at net.mamoe.mirai.internal.AbstractBot.close(AbstractBot.kt:112)
at net.mamoe.mirai.internal.QQAndroidBot.close(QQAndroidBot.kt:80)
at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:136)
at net.mamoe.mirai.internal.AbstractBot$login$1.invokeSuspend(AbstractBot.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:34)
at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking$default(BlockingRunner.kt:31)
at love.forte.simboot.core.CoreBootEntrance.run0(CoreBootEntrance.kt:261)
at love.forte.simboot.core.CoreBootEntrance.run(CoreBootEntrance.kt:127)
at love.forte.simboot.SimbootApp.run(SimbootApp.kt:73)
at love.forte.simboot.autoconfigure.DefaultSimbootAppRunner.run(SimbootAppRunnerConfiguration.kt:49)
at love.forte.simboot.autoconfigure.SimbootAutoconfigure.runAndConfigSimbotContext(SimbootAutoconfigure.kt:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at club.gggd.qqrobot.QqRobotApplication.main(QqRobotApplication.java:12)
Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(2148597943), code=237, title=安全提醒, message=当前登录存在安全风险,请使用常用设备或通过手机号登录。, errorInfo=)
Beta Was this translation helpful? Give feedback.
All reactions