坐等小白化,话说我这小水管带不动啊
未来のミライ 发布的帖子
-
RE: Mirai-Setu - 在群里获取loliconapi的setu插件
2021-07-22 16:13:53 V/Bot.71*****: Event: GroupMessagePostSendEvent(target=Group(799******), message=[mirai:quote:[28212],[2055720215]]出现错误, 请联系管理员检查后台或重试
Connect timeout has expired [url=https://api.fantasyzone.cc/tu?type=json&class=pc&r18=0, connect_timeout=unknown ms], exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@4746fa51)
2021-07-22 16:13:53 E/main: Exception in coroutine <unnamed>
io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://api.fantasyzone.cc/tu?type=json&class=pc&r18=0, connect_timeout=unknown ms]
at io.ktor.client.features.HttpTimeoutKt.ConnectTimeoutException(HttpTimeout.kt:183)
at io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:75)
at io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1)
at io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:510)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method)
at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:107)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:609)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:119)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:283)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:195)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:502)
... 3 more
出现这种情况时怎么回事? -
RE: Mirai-Setu - 在群里获取loliconapi的setu插件
@simple config\mirai-setu中setting.yml设置管理员,并使用管理员在群里面开启权限
-
RE: Mirai-Setu - 在群里获取loliconapi的setu插件
开启模式显示需要授权
是在config/mirai-setu/Settings.yml里吗?
permitMode: 1设置此插件主人的id。
masterId:
- 123456------------这里的数据我改成自己的qq就模式就出现一堆红字。
下面是红字显示内容
2021-06-30 14:40:19 E/mirai-setu: net.mamoe.yamlkt.YamlDecodingException: There must be a COLON between class key and value but found STRING for 'Settings'
permitMode: 1
^ at line 6, column 12
net.mamoe.yamlkt.YamlDecodingException: There must be a COLON between class key and value but found STRING for 'Settings'
permitMode: 1
^ at line 6, column 12at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source) at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException$default(ContextualException.kt:128) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException$default(Unknown Source) at net.mamoe.yamlkt.internal.YamlDecoder$BlockClassDecoder.decodeElementIndex(YamlDecoder.kt:285) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:75) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:47) at net.mamoe.yamlkt.Yaml.decodeFromString(Yaml.kt:162) at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.load(MultiFilePluginDataStorageImpl.kt:39)
- 123456------------这里的数据我改成自己的qq就模式就出现一堆红字。