Unsolved 部署 unidbg-fetch-qsign 以后为什么MiraiLogger在Bot.login()的时候总是HttpRequestTimeoutException?
-
需要注意的是:虽然出错了,但是还是登录成功。
具体错误信息如下:
22:06:01.292 [DefaultDispatcher-worker-6] com.tenfond.config.QqBotConfiguration(QqBotConfiguration.java:34) [INFO ] HeartbeatStrategy: STAT_HB 22:06:01.293 [DefaultDispatcher-worker-6] com.tenfond.config.QqBotConfiguration(QqBotConfiguration.java:45) [INFO ] Protocol: ANDROID_PAD 22:06:01.293 [DefaultDispatcher-worker-6] com.tenfond.config.QqBotConfiguration(QqBotConfiguration.java:49) [INFO ] WorkingDir: D:/ProgramData/mirai/30••••66/ 22:06:01.293 [DefaultDispatcher-worker-6] com.tenfond.config.QqBotConfiguration(QqBotConfiguration.java:62) [INFO ] BasedDeviceInfo: android_pad_config.json 22:06:01.293 [DefaultDispatcher-worker-6] com.tenfond.config.QqBotConfiguration(QqBotConfiguration.java:105) [INFO ] EnableContactCache: true 22:06:01.371 [DefaultDispatcher-worker-1] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Validated caches. 22:06:01.372 [DefaultDispatcher-worker-1] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Loading server list from cache. 22:06:01.373 [DefaultDispatcher-worker-1] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Server list: 183.47.103.84:8080, 120.241.130.216:443, 42.81.192.158:80, 180.101.246.123:1400, 157.148.54.141:80, msfwifi.3g.qq.com:8080. 22:06:01.374 [DefaultDispatcher-worker-1] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Loaded account secrets from local cache. 22:06:01.397 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] 永不认输(48•••85) -> 登录 30••••66 22:06:06.393 [DefaultDispatcher-worker-7] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:53) [WARN ] Cannot get qimei from server. net.mamoe.mirai.internal.deps.io.ktor.client.plugins.HttpRequestTimeoutException: Request timeout has expired [url=https://snowflake.qq.com/ola/android, request_timeout=5000 ms] at net.mamoe.mirai.internal.deps.io.ktor.client.plugins.HttpTimeout$Plugin$install$1$1$killer$1.invokeSuspend(HttpTimeout.kt:163) ~[mirai-core-jvm-2.15.0.jar:2.15.0] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] 22:06:06.393 [DefaultDispatcher-worker-7] xyz.cssxsh.mirai.tool.UnidbgFetchQsign(LoggerAdapterImpls.kt:47) [INFO ] Bot(30••••66) initialize by http://127.0.0.1:8080 22:06:09.965 [DefaultDispatcher-worker-7] xyz.cssxsh.mirai.tool.UnidbgFetchQsign(LoggerAdapterImpls.kt:47) [INFO ] Bot(30••••66) register, Instance loaded successfully. 22:06:09.965 [DefaultDispatcher-worker-7] xyz.cssxsh.mirai.tool.UnidbgFetchQsign(LoggerAdapterImpls.kt:47) [INFO ] Bot(30••••66) initialize complete 22:06:09.965 [DefaultDispatcher-worker-7] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] ECDH key is invalid, start to fetch ecdh public key from server. 22:06:19.969 [DefaultDispatcher-worker-7] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:59) [ERROR] Failed to fetch ECDH public key from server, using default key instead kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 1000 ms at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:508) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at java.lang.Thread.run(Thread.java:829) ~[?:?] 22:06:20.721 [DefaultDispatcher-worker-7] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: wtlogin.exchange_emp(10:fast-login) 22:06:20.803 [nioEventLoopGroup-28-3] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: wtlogin.exchange_emp 22:06:20.805 [DefaultDispatcher-worker-1] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Saved account secrets to local cache for fast login. 22:06:20.815 [DefaultDispatcher-worker-1] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: StatSvc.register(online) 22:06:20.904 [nioEventLoopGroup-28-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Server time updated, serverTime: 16••••80, diff: 0ms=0.0s 22:06:20.904 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Login successful. 22:06:20.905 [nioEventLoopGroup-28-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: StatSvc.register 22:06:20.906 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Loading BdhSession from cache file 22:06:20.907 [DefaultDispatcher-worker-1] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Syncing friend message history... 22:06:20.915 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Start loading friendGroup list... 22:06:20.916 [DefaultDispatcher-worker-3] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Loaded 15 friends from local cache. 22:06:20.916 [DefaultDispatcher-worker-5] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: StatSvc.GetDevLoginInfo(StatSvc.GetDevLoginInfo) 22:06:20.916 [DefaultDispatcher-worker-3] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.getFriendGroupList(friendlist.getFriendGroupList) 22:06:20.916 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.getFriendGroupList(friendlist.getFriendGroupList) 22:06:20.916 [DefaultDispatcher-worker-5] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: OidbSvc.0x496(OidbSvc.0x496) 22:06:20.916 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Start loading stranger list... 22:06:20.917 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: OidbSvc.0x5d2_0(OidbSvc.0x5d2_0) 22:06:20.953 [DefaultDispatcher-worker-7] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: trpc.o3.ecdh_access.EcdhAccess.SsoSecureA2Establish(mobileqq.msf.security) 22:06:20.975 [nioEventLoopGroup-28-5] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: OidbSvc.0x5d2_0 22:06:20.975 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Successfully loaded stranger list: 0 in total 22:06:20.996 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Start loading group list... 22:06:20.996 [nioEventLoopGroup-28-6] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: OidbSvc.0x496 22:06:20.996 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.GetTroopListReqV2(friendlist.GetTroopListReqV2) 22:06:20.997 [nioEventLoopGroup-28-6] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: StatSvc.GetDevLoginInfo 22:06:20.997 [DefaultDispatcher-worker-7] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Online OtherClients: 96o0(MOBILE) 22:06:21.033 [nioEventLoopGroup-28-7] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: trpc.o3.ecdh_access.EcdhAccess.SsoSecureA2Establish 22:06:21.049 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Loading friendGroup list: 9/9 22:06:21.049 [nioEventLoopGroup-28-8] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.getFriendGroupList 22:06:21.050 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Successfully loaded friendGroup list: 9 in total 22:06:21.051 [nioEventLoopGroup-28-8] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.getFriendGroupList 22:06:21.096 [nioEventLoopGroup-28-1] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.GetTroopListReqV2 22:06:21.129 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Loaded 7 members from local cache for group 轻轻松松学习群 (10••••67) 22:06:21.135 [DefaultDispatcher-worker-2] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 22:06:21.137 [DefaultDispatcher-worker-2] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Syncing friend message history: Success. 22:06:21.147 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Loaded 68 members from local cache for group AI免费体验学习交流群 (72•••74) 22:06:21.149 [DefaultDispatcher-worker-3] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 22:06:21.149 [DefaultDispatcher-worker-2] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Loaded 43 members from local cache for group <$ÿĀ&>༺千禧᪥家族༻<$ÿĀ&> (78•••28) 22:06:21.158 [DefaultDispatcher-worker-3] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Loaded 4 members from local cache for group 开黑铁三角 (98•••10) 22:06:21.160 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Loaded 6 members from local cache for group 月朗城(交流群) (94•••30) 22:06:21.398 [nioEventLoopGroup-28-3] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.GetTroopMemberListReq 22:06:21.453 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 22:06:21.462 [nioEventLoopGroup-28-3] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.GetTroopMemberListReq 22:06:21.466 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 22:06:21.712 [nioEventLoopGroup-28-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.GetTroopMemberListReq 22:06:21.731 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 22:06:21.794 [nioEventLoopGroup-28-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.GetTroopMemberListReq 22:06:21.795 [nioEventLoopGroup-28-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.GetTroopMemberListReq 22:06:21.796 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq) 22:06:21.988 [nioEventLoopGroup-28-5] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Recv: friendlist.GetTroopMemberListReq 22:06:21.992 [DefaultDispatcher-worker-2] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Successfully loaded group list: 7 in total. 22:06:22.026 [DefaultDispatcher-worker-2] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Saved 2 groups to local cache. 22:06:22.028 [DefaultDispatcher-worker-5] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Scheduled key refresh in 23h 55min 0.0s. 22:06:22.028 [DefaultDispatcher-worker-2] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:35) [TRACE] Event: BotOnlineEvent(bot=Bot(30••••66)) 22:06:22.029 [DefaultDispatcher-worker-4] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Scheduled refresh login session in 19d 23h 55min 0.0s. 22:06:22.030 [DefaultDispatcher-worker-2] net.mamoe.mirai.Bot(LoggerAdapterImpls.kt:47) [INFO ] Bot login successful. 22:06:22.030 [DefaultDispatcher-worker-3] com.tenfond.spring.controller.QqBotEventListener(QqBotEventListener.java:63) [INFO ] 30••••66 上线
-