MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Mirai登录报错

    BUG反馈
    2
    2
    487
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 如梦初醒
      如梦初醒 摸鱼 last edited by

      Mirai登录后报错
      2023-05-20 19:34:30 E/main: Exception in coroutine Bot 3127201349.MessageSvcSyncerImpl
      java.lang.IllegalStateException: NetworkHandler is already closed.
      at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateClosed.sendPacketImpl(CommonNetworkHandler.kt:389)
      at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler.sendPacketImpl(CommonNetworkHandler.kt:36)
      at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport.sendAndExpect(NetworkHandlerSupport.kt:123)
      at net.mamoe.mirai.internal.network.handler.NetworkHandlerSupport$sendAndExpect$1.invokeSuspend(NetworkHandlerSupport.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:104)
      at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      Suppressed: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 5000 ms
      at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184)
      at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154)
      at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:508)
      at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
      at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108)
      at java.base/java.lang.Thread.run(Unknown Source)

      运行环境:
      Java 17 OpenJ9
      Mirai 2.14

      1 Reply Last reply Reply Quote 0
      • S
        shido2333 last edited by

        同错误同环境,未解
        顶一下楼求高手解决

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact