@whiterasbk 不好意思大佬回复晚了,像 偶尔会失败,多试几次就会成功,再短一点基本上都能成功
x像这种长度的,基本上都转换不了。
CCC3115 发布的最新帖子
-
RE: 在线作曲(唱歌)插件
2022-10-24 23:47:38 E/MiderBot: io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://sinsy.sp.nitech.ac.jp/index.php, socket_timeout=unknown] ms
io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://sinsy.sp.nitech.ac.jp/index.php, socket_timeout=unknown] ms
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//io.ktor.client.plugins.HttpTimeoutKt.SocketTimeoutException(HttpTimeout.kt:219)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:79)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:525)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.net.SocketTimeoutException: timeout
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okio.SocketAsyncTimeout.newTimeoutException(JvmOkio.kt:143)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okio.AsyncTimeout.access$newTimeoutException(AsyncTimeout.kt:162)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:335)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okio.RealBufferedSource.indexOf(RealBufferedSource.kt:427)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:320)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:178)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:106)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
... 3 more
Caused by: java.net.SocketException: Socket closed
at java.base/sun.nio.ch.NioSocketImpl.endRead(NioSocketImpl.java:248)
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:327)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okio.InputStreamSource.read(JvmOkio.kt:90)
at mider-bot-0.1.8-bundled-silk4j.mirai2.jar[private]//okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:129)
... 20 more
大佬你好,请问一些在输入稍微长点的带有歌词的代码后出现这样的报错该如何解决