-
[2021-01-21 21:08:01][VERB][MiraiNet]Send: Heartbeat.Alive
[2021-01-21 21:08:06][VERB][MiraiNet]Send: Heartbeat.Alive
[2021-01-21 21:08:16][INFO][MiraiBot]Connection lost, retrying login
[2021-01-21 21:08:16][INFO][MiraiNet]Connected to server 42.81.172.81:80
[2021-01-21 21:08:16][VERB][MiraiNet]Send: wtlogin.login
[2021-01-21 21:08:21][WARN][MiraiBot]null
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:186)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:497)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:69)
at java.base/java.lang.Thread.run(Thread.java:834)
[2021-01-21 21:08:21][INFO][MiraiNet]Connected to server msfwifi.3g.qq.com:8080
[2021-01-21 21:08:21][VERB][MiraiNet]Send: wtlogin.login
[2021-01-21 21:08:26][WARN][MiraiBot]null
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:186)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:497)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:69)
at java.base/java.lang.Thread.run(Thread.java:834)
[2021-01-21 21:08:26][INFO][MiraiNet]Connected to server 42.81.172.147:443
[2021-01-21 21:08:26][VERB][MiraiNet]Send: wtlogin.login
[2021-01-21 21:08:31][WARN][MiraiBot]null
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:186)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:497)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:69)
at java.base/java.lang.Thread.run(Thread.java:834)
[2021-01-21 21:08:31][INFO][MiraiNet]Connected to server 125.94.60.146:80
[2021-01-21 21:08:31][VERB][MiraiNet]Send: wtlogin.login
[2021-01-21 21:08:36][WARN][MiraiBot]null
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:186)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:497)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:69)
at java.base/java.lang.Thread.run(Thread.java:834)
[2021-01-21 21:08:36][INFO][MiraiNet]Connected to server 114.221.148.59:14000
[2021-01-21 21:08:36][VERB][MiraiNet]Send: wtlogin.login
[2021-01-21 21:08:41][WARN][MiraiBot]null
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:186)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:497)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:69)
at java.base/java.lang.Thread.run(Thread.java:834)
[2021-01-21 21:08:41][INFO][MiraiNet]Connected to server 42.81.172.22:80
[2021-01-21 21:08:41][VERB][MiraiNet]Send: wtlogin.login
[2021-01-21 21:08:46][WARN][MiraiBot]null
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:186)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:497)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:69)
at java.base/java.lang.Thread.run(Thread.java:834)
[2021-01-21 21:08:46][INFO][MiraiBot]Cannot reconnect.
[2021-01-21 21:08:46][WARN][MiraiBot]null
net.mamoe.mirai.network.NoServerAvailableException: no server available
at net.mamoe.mirai.internal.QQAndroidBot.relogin(QQAndroidBot.kt:200)
at net.mamoe.mirai.internal.QQAndroidBot$relogin$1.invokeSuspend(QQAndroidBot.kt)
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:104)
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: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:186)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:497)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:69)
at java.base/java.lang.Thread.run(Thread.java:834) 这种情况连续出现了好几天,以前用1.3.2/1.3.3没有遇到过 |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
PS 很长 每次发现掉线以后这种报错栈都刷了好几M的日志 不是某次重连连不上 |
Beta Was this translation helpful? Give feedback.
-
2.0 做的修改都很保守, 应该不会出现 regression, 这个问题已经很久了, 还没找到原因 |
Beta Was this translation helpful? Give feedback.
-
我的版本是1.3.3也会出现这种情况。日志中有 |
Beta Was this translation helpful? Give feedback.
-
2.0.0一样,最近掉线无法连接很频繁。相反之前用的2.0RC好像是2没有出现过一次问题。 |
Beta Was this translation helpful? Give feedback.
-
这是磁盘里的log,不知道能不能帮上忙
|
Beta Was this translation helpful? Give feedback.
2.0 做的修改都很保守, 应该不会出现 regression, 这个问题已经很久了, 还没找到原因