所依赖版本

<dependency> <groupId>net.mamoe</groupId> <artifactId>mirai-core-qqandroid</artifactId> <version>1.1.3</version> </dependency>

最初的时候还是可以正常使用的但是从某个时间开始就出现了频繁掉线,并且重连出现服务器连接超时的情况

2021-09-16 07:07:01 V/Net 738344224: Recv: Error(title=登录失败, message=服务器连接超时,请稍后重试 (错误码:0x9a), errorInfo=) 2021-09-16 07:07:01 I/Bot 738344224: Cannot reconnect due to fatal error. 2021-09-16 07:07:01 E/Bot 738344224: An exception was thrown under a coroutine of Bot java.util.concurrent.CancellationException: Cannot reconnect due to fatal error. at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22) at net.mamoe.mirai.qqandroid.BotImpl$offlineListener$1$invokeSuspend$$inlined$measureTime$lambda$1.invokeSuspend(BotImpl.kt:126) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(title=登录失败, message=服务器连接超时,请稍后重试 (错误码:0x9a), errorInfo=) at net.mamoe.mirai.qqandroid.network.QQAndroidBotNetworkHandler.closeEverythingAndRelogin(QQAndroidBotNetworkHandler.kt:180) at net.mamoe.mirai.qqandroid.network.QQAndroidBotNetworkHandler$closeEverythingAndRelogin$1.invokeSuspend(QQAndroidBotNetworkHandler.kt) ... 9 more

重启服务就能够正常登录,这是为什么呢