mirai 2.0-mirai-core-all 登陆失败
-
求助大佬们,报错该如何解决
2021-04-07 17:07:34 W/Bot : java.net.SocketException: Broken pipe (Write failed)
java.net.SocketException: Broken pipe (Write failed)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at net.mamoe.mirai.internal.utils.PlatformSocket$send$2.invokeSuspend(PlatformSocket.kt:56)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
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) -
有人见过吗?求助求助求助求助
-
网络错误,尝试重启路由器
-
@karlatemp
重启了路由器,也换了网络 ,仍然不ok ,请问下是什么原因呢? -
是mcl报错? 如果不是mcl报错,看看mirai库是不是最新(2.5.0)
-
检查网络,更新你的mirai core版本可能能够解决问题