simple-robot / simpler-robot

Simple Robot,一个bot风格的Kotlin多平台事件调度框架,异步高效、Java友好!/ A Bot-style Kotlin Multiplatform event scheduling framework, asynchronous and high-performance, java-friendly! 🐱😼😻😸
https://simbot.forte.love
GNU Lesser General Public License v3.0
520 stars 43 forks source link

[QU.]当前上网环境异常,启动失败 #147

Closed mookebo closed 3 years ago

mookebo commented 3 years ago

"D:\Program Files (x86)\Java\jdk1.8\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61334,suspend=y,server=n -Dmirai.slider.captcha.supported -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent:C:\Users\mooke\AppData\Local\JetBrains\IntelliJIdea2020.3\captureAgent\debugger-agent.jar -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "D:\Program Files (x86)\java\jdk1.8\jre\lib\charsets.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\deploy.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\access-bridge-64.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\cldrdata.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\dnsns.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\jaccess.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\jfxrt.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\localedata.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\nashorn.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\sunec.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\sunjce_provider.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\sunmscapi.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\sunpkcs11.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\ext\zipfs.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\javaws.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\jce.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\jfr.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\jfxswt.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\jsse.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\management-agent.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\plugin.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\resources.jar;D:\Program Files (x86)\java\jdk1.8\jre\lib\rt.jar;E:\workspace\idea\simbot-mirai-spring-boot-demo\target\classes;C:\Users\mooke.m2\repository\love\forte\simple-robot\component-mirai-spring-boot-starter\2.1.1\component-mirai-spring-boot-starter-2.1.1.jar;C:\Users\mooke.m2\repository\love\forte\simple-robot\core-spring-boot-starter\2.1.1\core-spring-boot-starter-2.1.1.jar;C:\Users\mooke.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.5.0\spring-boot-configuration-processor-2.5.0.jar;C:\Users\mooke.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.5.0\spring-boot-autoconfigure-2.5.0.jar;C:\Users\mooke.m2\repository\org\springframework\boot\spring-boot\2.5.0\spring-boot-2.5.0.jar;C:\Users\mooke.m2\repository\org\springframework\spring-core\5.3.7\spring-core-5.3.7.jar;C:\Users\mooke.m2\repository\org\springframework\spring-jcl\5.3.7\spring-jcl-5.3.7.jar;C:\Users\mooke.m2\repository\org\springframework\spring-context\5.3.7\spring-context-5.3.7.jar;C:\Users\mooke.m2\repository\org\springframework\spring-aop\5.3.7\spring-aop-5.3.7.jar;C:\Users\mooke.m2\repository\org\springframework\spring-beans\5.3.7\spring-beans-5.3.7.jar;C:\Users\mooke.m2\repository\org\springframework\spring-expression\5.3.7\spring-expression-5.3.7.jar;C:\Users\mooke.m2\repository\love\forte\simple-robot\core\2.1.1\core-2.1.1.jar;C:\Users\mooke.m2\repository\love\forte\simple-robot\api\2.1.1\api-2.1.1.jar;C:\Users\mooke.m2\repository\love\forte\catcode\1.0.0-BETA.1\catcode-1.0.0-BETA.1.jar;C:\Users\mooke.m2\repository\love\forte\common\language\1.0.3\language-1.0.3.jar;C:\Users\mooke.m2\repository\love\forte\simple-robot\component-mirai\2.1.1\component-mirai-2.1.1.jar;C:\Users\mooke.m2\repository\love\forte\simple-robot\http\client-core\2.1.1\client-core-2.1.1.jar;C:\Users\mooke.m2\repository\love\forte\simple-robot\http\client-ktor\2.1.1\client-ktor-2.1.1.jar;C:\Users\mooke.m2\repository\love\forte\simple-robot\serialization\json-core\2.1.1\json-core-2.1.1.jar;C:\Users\mooke.m2\repository\love\forte\simple-robot\serialization\json-fastjson\2.1.1\json-fastjson-2.1.1.jar;C:\Users\mooke.m2\repository\com\alibaba\fastjson\1.2.75\fastjson-1.2.75.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-client-core\1.5.4\ktor-client-core-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-http\1.5.4\ktor-http-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-utils\1.5.4\ktor-utils-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-io\1.5.4\ktor-io-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-http-cio\1.5.4\ktor-http-cio-1.5.4.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\atomicfu\0.15.1\atomicfu-0.15.1.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-client-core-jvm\1.5.4\ktor-client-core-jvm-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-http-jvm\1.5.4\ktor-http-jvm-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-utils-jvm\1.5.4\ktor-utils-jvm-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-io-jvm\1.5.4\ktor-io-jvm-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-http-cio-jvm\1.5.4\ktor-http-cio-jvm-1.5.4.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-client-okhttp\1.5.4\ktor-client-okhttp-1.5.4.jar;C:\Users\mooke.m2\repository\com\squareup\okhttp3\okhttp\3.14.9\okhttp-3.14.9.jar;C:\Users\mooke.m2\repository\com\squareup\okio\okio\1.17.2\okio-1.17.2.jar;C:\Users\mooke.m2\repository\cn\hutool\hutool-crypto\5.5.1\hutool-crypto-5.5.1.jar;C:\Users\mooke.m2\repository\cn\hutool\hutool-core\5.5.1\hutool-core-5.5.1.jar;C:\Users\mooke.m2\repository\net\mamoe\mirai-core-jvm\2.6.7\mirai-core-jvm-2.6.7.jar;C:\Users\mooke.m2\repository\net\mamoe\mirai-core-api-jvm\2.6.7\mirai-core-api-jvm-2.6.7.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlin\kotlin-serialization\1.4.30\kotlin-serialization-1.4.30.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlin\kotlin-gradle-plugin-api\1.4.30\kotlin-gradle-plugin-api-1.4.30.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-coroutines-jdk8\1.5.0\kotlinx-coroutines-jdk8-1.5.0.jar;C:\Users\mooke.m2\repository\io\ktor\ktor-network-jvm\1.5.1\ktor-network-jvm-1.5.1.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-coroutines-io-jvm\0.1.16\kotlinx-coroutines-io-jvm-0.1.16.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-serialization-core-jvm\1.1.0\kotlinx-serialization-core-jvm-1.1.0.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-serialization-json-jvm\1.1.0\kotlinx-serialization-json-jvm-1.1.0.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\atomicfu-jvm\0.15.1\atomicfu-jvm-0.15.1.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-io-jvm\0.1.16\kotlinx-io-jvm-0.1.16.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\atomicfu-common\0.14.1\atomicfu-common-0.14.1.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-io\0.1.16\kotlinx-io-0.1.16.jar;C:\Users\mooke.m2\repository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;C:\Users\mooke.m2\repository\org\junit\jupiter\junit-jupiter-api\5.7.2\junit-jupiter-api-5.7.2.jar;C:\Users\mooke.m2\repository\org\apiguardian\apiguardian-api\1.1.0\apiguardian-api-1.1.0.jar;C:\Users\mooke.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\mooke.m2\repository\org\junit\platform\junit-platform-commons\1.7.2\junit-platform-commons-1.7.2.jar;C:\Users\mooke.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.7.2\junit-jupiter-engine-5.7.2.jar;C:\Users\mooke.m2\repository\org\junit\platform\junit-platform-engine\1.7.2\junit-platform-engine-1.7.2.jar;C:\Users\mooke.m2\repository\net\mamoe\kotlin-jvm-blocking-bridge-jvm\1.10.3\kotlin-jvm-blocking-bridge-jvm-1.10.3.jar;C:\Users\mooke.m2\repository\net\mamoe\mirai-core-utils-jvm\2.6.7\mirai-core-utils-jvm-2.6.7.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-serialization-protobuf-jvm\1.1.0\kotlinx-serialization-protobuf-jvm-1.1.0.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-coroutines-io\0.1.16\kotlinx-coroutines-io-0.1.16.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.5.10\kotlin-stdlib-jdk8-1.5.10.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.5.10\kotlin-stdlib-jdk7-1.5.10.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-coroutines-core\1.5.0\kotlinx-coroutines-core-1.5.0.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlinx\kotlinx-coroutines-core-jvm\1.5.0\kotlinx-coroutines-core-jvm-1.5.0.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.5.10\kotlin-stdlib-common-1.5.10.jar;C:\Users\mooke.m2\repository\love\forte\common\configuration\1.0.3\configuration-1.0.3.jar;C:\Users\mooke.m2\repository\love\forte\common\utils\1.0.3\utils-1.0.3.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlin\kotlin-reflect\1.5.10\kotlin-reflect-1.5.10.jar;C:\Users\mooke.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.12.3\jackson-dataformat-yaml-2.12.3.jar;C:\Users\mooke.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.11.3\jackson-databind-2.11.3.jar;C:\Users\mooke.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.12.3\jackson-annotations-2.12.3.jar;C:\Users\mooke.m2\repository\org\yaml\snakeyaml\1.28\snakeyaml-1.28.jar;C:\Users\mooke.m2\repository\com\fasterxml\jackson\core\jackson-core\2.12.3\jackson-core-2.12.3.jar;C:\Users\mooke.m2\repository\org\jetbrains\kotlin\kotlin-stdlib\1.5.10\kotlin-stdlib-1.5.10.jar;C:\Users\mooke.m2\repository\org\jetbrains\annotations\13.0\annotations-13.0.jar;C:\Users\mooke.m2\repository\love\forte\common\ioc\1.0.3\ioc-1.0.3.jar;C:\Users\mooke.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.5.0\spring-boot-starter-logging-2.5.0.jar;C:\Users\mooke.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\mooke.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\mooke.m2\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;C:\Users\mooke.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.14.1\log4j-to-slf4j-2.14.1.jar;C:\Users\mooke.m2\repository\org\apache\logging\log4j\log4j-api\2.14.1\log4j-api-2.14.1.jar;C:\Users\mooke.m2\repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\Program Files (x86)\IntelliJ IDEA 2020.3.2\lib\idea_rt.jar" simbot.example.SimbotExampleApplication Connected to the target VM, address: '127.0.0.1:61334', transport: 'socket'

. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.5.0)

2021-07-28 09:27:51.270 INFO 24192 --- [ main] simbot.example.SimbotExampleApplication : Starting SimbotExampleApplication using Java 1.8.0_241 on LAPTOP-OC7PALT7 with PID 24192 (E:\workspace\idea\simbot-mirai-spring-boot-demo\target\classes started by mooke in E:\workspace\idea\simbot-mirai-spring-boot-demo) 2021-07-28 09:27:51.274 INFO 24192 --- [ main] simbot.example.SimbotExampleApplication : No active profile set, falling back to default profiles: default

 _           _           _   
(_)         | |         | |  

_ _ | | __ | | / | | ' ` | ' \ / | | _ \ | | | | | | |) | () | | |__/|| || ||./ _/ \| @ForteScarlet D

Tips: 你可以通过AtDetectionRegistrar.registryAtDetection来注册一个AT匹配器。

2021-07-28 09:27:52.364 INFO 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : Active resources: [simbot.properties, simbot.yml] 2021-07-28 09:27:52.401 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/core/2.1.1/core-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.419 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/component-mirai/2.1.1/component-mirai-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.430 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/http/client-core/2.1.1/client-core-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.433 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/http/client-ktor/2.1.1/client-ktor-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.436 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/serialization/json-fastjson/2.1.1/json-fastjson-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.438 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/core/2.1.1/core-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.439 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/component-mirai/2.1.1/component-mirai-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.440 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/http/client-core/2.1.1/client-core-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.440 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/http/client-ktor/2.1.1/client-ktor-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:52.440 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : load auto configure resource: jar:file:/C:/Users/mooke/.m2/repository/love/forte/simple-robot/serialization/json-fastjson/2.1.1/json-fastjson-2.1.1.jar!/META-INF/simbot.factories 2021-07-28 09:27:53.389 DEBUG 24192 --- [ main] l.f.s.s.a.SimbotAppConfiguration : package scan: love.forte.simbot.spring.autoconfigure 2021-07-28 09:27:54.155 INFO 24192 --- [ main] l.f.s.c.m.c.MiraiEventCacheConfiguration : Disable default mirai message cache. 2021-07-28 09:27:54.720 DEBUG 24192 --- [ main] l.f.s.bot.BotVerifyInfoConfiguration : Bot resource Type: RESOURCE_FIRST 2021-07-28 09:27:54.723 DEBUG 24192 --- [ main] l.f.s.bot.BotVerifyInfoConfiguration : Bot verify info by file:/E:/workspace/idea/simbot-mirai-spring-boot-demo/target/classes/simbot-bots/yourBot1.bot 2021-07-28 09:27:54.723 DEBUG 24192 --- [ main] l.f.s.bot.BotVerifyInfoConfiguration : Uri stream null: file:/E:/workspace/idea/simbot-mirai-spring-boot-demo/target/classes/simbot-bots/yourBot1.bot, try use url 2021-07-28 09:27:54.729 DEBUG 24192 --- [ main] l.f.s.c.configuration.CoreBotRegistrar : Configured bot: 982541831 2021-07-28 09:27:54.729 DEBUG 24192 --- [ main] l.f.s.c.configuration.CoreBotRegistrar : Try to verify the bot(982541831) information. 2021-07-28 09:27:54.729 DEBUG 24192 --- [ main] l.f.s.c.m.configuration.MiraiBotManager : Verify Bot 982541831. 2021-07-28 09:27:54.729 DEBUG 24192 --- [ main] l.f.s.c.m.c.MiraiBotVerifier : verify bot code: 982541831 2021-07-28 09:27:55.678 ERROR 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : Failed to load account secrets from local cache. Invalidating cache...

net.mamoe.mirai.internal.utils.crypto.DecryptionFailedException: null at net.mamoe.mirai.internal.utils.crypto.TEA.fail(TEA.kt:295) ~[mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.utils.crypto.TEA.access$fail(TEA.kt:33) ~[mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.utils.crypto.TEA$doOption$7.invoke(TEA.kt:271) ~[mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.utils.crypto.TEA.doOption(TEA.kt:291) ~[mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt(TEA.kt:315) ~[mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.utils.crypto.TEA.decrypt$default(TEA.kt:314) ~[mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.QQAndroidBot.loadSecretsFromCacheOrCreate(QQAndroidBot.kt:107) [mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.QQAndroidBot.initClient(QQAndroidBot.kt:131) [mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.QQAndroidBot.(QQAndroidBot.kt:124) [mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.BotFactoryImpl.newBot(BotFactory.kt:34) [mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.BotFactory$INSTANCE.newBot(BotFactory.kt:115) [mirai-core-api-jvm-2.6.7.jar:na] at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:79) [component-mirai-2.1.1.jar:na] at love.forte.simbot.component.mirai.configuration.MiraiBotManager.registerBot(MiraiBotManager.kt:100) [component-mirai-2.1.1.jar:na] at love.forte.simbot.core.configuration.CoreBotRegistrar.registerBots(CoreBotRegistrar.kt:64) [core-2.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_241] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_241] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_241] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_241] at love.forte.common.ioc.MethodDependPass.invoke(DependPass.kt:76) [ioc-1.0.3.jar:na] at love.forte.common.ioc.DependCenter.init(DependCenter.kt:108) [ioc-1.0.3.jar:na] at love.forte.simbot.core.SimbotApp.initDependCenter(SimbotApp.kt:402) [core-2.1.1.jar:na] at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:247) [core-2.1.1.jar:na] at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:471) [core-2.1.1.jar:na] at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt) [core-2.1.1.jar:na] at love.forte.simbot.spring.autoconfigure.SimbotAppConfiguration.simbotApp(SimbotAppConfiguration.java:84) [core-spring-boot-starter-2.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_241] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_241] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_241] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_241] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1334) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) [spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.7.jar:5.3.7] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.7.jar:5.3.7] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:438) ~[spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:337) ~[spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1336) ~[spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1325) ~[spring-boot-2.5.0.jar:2.5.0] at simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:18) ~[classes/:na]

2021-07-28 09:27:57.027 INFO 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : Logging in... 2021-07-28 09:27:57.257 INFO 24192 --- [ main] l.f.s.component.mirai.net.982541831 : Connected to server 221.198.69.96:80 2021-07-28 09:27:57.559 INFO 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : [SliderCaptcha] 需要滑动验证码, 请在浏览器中打开以下链接并完成验证码, 完成后请输入提示 ticket. 2021-07-28 09:27:57.559 INFO 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : [SliderCaptcha] Slider captcha required, please open the following link in any browser and solve the captcha. Type ticket here after completion. 2021-07-28 09:27:57.559 INFO 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : [SliderCaptcha] @see https://github.com/project-mirai/mirai-login-solver-selenium#%E4%B8%8B%E8%BD%BD-chrome-%E6%89%A9%E5%B1%95%E6%8F%92%E4%BB%B6 2021-07-28 09:27:57.559 INFO 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : https://ssl.captcha.qq.com/template/wireless_mqq_captcha.html?style=simple&aid=16&uin=982541831&sid=269258686893961885&cap_cd=j2_RwIYgvA9aB_aknKmOSDqxEftbCzyCE0D1pB1xhyCFohQ_ZM1afA**&clientype=1&apptype=2 t03cdcX12OJXDgK68Bhc5H6T1z-3k5aWanlR_D4nxHaWAvxlq4mlqyURm5hy_cBOmMWSsfMwsRe-LTyiBnccXbITmmL4UbgGf58QWr7aOa4sihk1nUM_sx39Q** 2021-07-28 09:28:24.432 INFO 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : [SliderCaptcha] 正在提交中... 2021-07-28 09:28:24.433 INFO 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : [SliderCaptcha] Submitting... 2021-07-28 09:28:24.582 ERROR 24192 --- [ main] l.f.s.c.m.c.MiraiBotVerifier : Verifier bot(982541831) failed. 2021-07-28 09:28:24.585 INFO 24192 --- [ main] l.f.s.component.mirai.bot.982541831 : Bot cancelled: Bot closed 2021-07-28 09:28:24.587 WARN 24192 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simbotContext' defined in love.forte.simbot.spring.autoconfigure.SimbotAppConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simbot.core.SimbotContext]: Factory method 'simbotApp' threw exception; nested exception is java.lang.reflect.InvocationTargetException 2021-07-28 09:28:24.684 INFO 24192 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-07-28 09:28:24.732 ERROR 24192 --- [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simbotContext' defined in love.forte.simbot.spring.autoconfigure.SimbotAppConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simbot.core.SimbotContext]: Factory method 'simbotApp' threw exception; nested exception is java.lang.reflect.InvocationTargetException at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1334) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.7.jar:5.3.7] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.7.jar:5.3.7] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:438) [spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:337) [spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1336) [spring-boot-2.5.0.jar:2.5.0] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1325) [spring-boot-2.5.0.jar:2.5.0] at simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:18) [classes/:na] Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simbot.core.SimbotContext]: Factory method 'simbotApp' threw exception; nested exception is java.lang.reflect.InvocationTargetException at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.7.jar:5.3.7] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.7.jar:5.3.7] ... 18 common frames omitted Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_241] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_241] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_241] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_241] at love.forte.common.ioc.MethodDependPass.invoke(DependPass.kt:76) ~[ioc-1.0.3.jar:na] at love.forte.common.ioc.DependCenter.init(DependCenter.kt:108) ~[ioc-1.0.3.jar:na] at love.forte.simbot.core.SimbotApp.initDependCenter(SimbotApp.kt:402) ~[core-2.1.1.jar:na] at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:247) ~[core-2.1.1.jar:na] at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:471) ~[core-2.1.1.jar:na] at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt) ~[core-2.1.1.jar:na] at love.forte.simbot.spring.autoconfigure.SimbotAppConfiguration.simbotApp(SimbotAppConfiguration.java:84) ~[core-spring-boot-starter-2.1.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_241] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_241] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_241] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_241] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.7.jar:5.3.7] ... 19 common frames omitted Caused by: love.forte.simbot.bot.BotVerifyException: Cannot verifier bot code: 982541831 at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:115) ~[component-mirai-2.1.1.jar:na] at love.forte.simbot.component.mirai.configuration.MiraiBotManager.registerBot(MiraiBotManager.kt:100) ~[component-mirai-2.1.1.jar:na] at love.forte.simbot.core.configuration.CoreBotRegistrar.registerBots(CoreBotRegistrar.kt:64) ~[core-2.1.1.jar:na] ... 35 common frames omitted Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(982541831), code=237, title=禁止登录, message=当前上网环境异常,请更换网络环境或在常用设备上登录或稍后再试。, errorInfo=), tips=若频繁出现, 请尝试开启设备锁 at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler.doSlowLogin(QQAndroidBotNetworkHandler.kt:333) ~[mirai-core-jvm-2.6.7.jar:na] at net.mamoe.mirai.internal.network.handler.QQAndroidBotNetworkHandler$doSlowLogin$1.invokeSuspend(QQAndroidBotNetworkHandler.kt) ~[mirai-core-jvm-2.6.7.jar:na] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.5.10.jar:1.5.10-release-890 (1.5.10)] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[kotlin-stdlib-1.5.10.jar:1.5.10-release-890 (1.5.10)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking$default(Builders.kt:38) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.5.0.jar:na] at love.forte.simbot.component.mirai.configuration.MiraiBotVerifier.verity(MiraiBotVerifier.kt:84) ~[component-mirai-2.1.1.jar:na] ... 37 common frames omitted

Disconnected from the target VM, address: '127.0.0.1:61334', transport: 'socket'

Process finished with exit code 1

ForteScarlet commented 3 years ago

有关网络环境异常的错误你可以参考:https://www.yuque.com/simpler-robot/simpler-robot-doc/ul3m12