搜图报错这个但过一段时间会返还结果
2022-03-17 17:57:30 E/Pixiv org.jsoup.HttpStatusException: HTTP error fetching URL. Status=404, URL=[https://ascii2d.net/search/bovw/]
org.jsoup.HttpStatusException: HTTP error fetching URL. Status=404, URL=[https://ascii2d.net/search/bovw/]
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:890)
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:829)
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:366)
at org.jsoup.helper.HttpConnection.get(HttpConnection.java:353)
at com.hcyacg.search.Ascii2d.bovw(Ascii2d.kt:88)
at com.hcyacg.search.Ascii2d.picToHtmlSearch(Ascii2d.kt:41)
at com.hcyacg.search.Ascii2d$picToHtmlSearch$1.invokeSuspend(Ascii2d.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:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
lolisiki 发布的帖子
-
RE: Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签
-
RE: Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签
我想问一下来点色图报错这个怎么解决
2022-03-17 17:25:06 W/Pixiv java.net.ConnectException: Failed to connect to konachan.com/31.13.85.53:443
java.net.ConnectException: Failed to connect to konachan.com/31.13.85.53:443
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:285)
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.execute(RealCall.kt:148)
at com.hcyacg.utils.RequestUtil$Companion.httpArray(RequestUtil.kt:109)
at com.hcyacg.utils.RequestUtil$Companion.requestArray(RequestUtil.kt:63)
at com.hcyacg.sexy.SexyCenter.konachan(SexyCenter.kt:93)
at com.hcyacg.sexy.SexyCenter.init(SexyCenter.kt:42)
at com.hcyacg.Pixiv$onEnable$1$10.invokeSuspend(Pixiv.kt:67)
at com.hcyacg.Pixiv$onEnable$1$10.invoke(Pixiv.kt)
at com.hcyacg.Pixiv$onEnable$1$10.invoke(Pixiv.kt)
at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invokeSuspend(MessageSubscribersBuilder.kt:508)
at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invoke(MessageSubscribersBuilder.kt)
at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invoke(MessageSubscribersBuilder.kt)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invokeSuspend(messageSubscribersInternal.kt:27)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invokeSuspend(subscribeMessages.kt:250)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.access$process(InternalEventListeners.kt:1)
at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$2$1.invokeSuspend(InternalEventListeners.kt:132)
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:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Caused by: java.net.ConnectException: Connection timed out: no further information
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:119)
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:283)
... 50 more配置了代理,没有配置都一样
-
RE: Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签
大佬看一下搜图就会报错,其他功能都正常不知道为什么
st[mirai:image:{1D51D4A9-8874-1FA5-0BED-7F0508CE70BD}.jpg] 2021-08-27 22:19:38 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@7e6d2bcf) 2021-08-27 22:19:42 V/Bot.3408749007: Event: Succeed(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@7e6d2bcf, image=[mirai:image:{96AEDBFE-CAEF-25AD-0AB1-EB26F81D3FF4}.png]) 2021-08-27 22:19:43 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@2b5ef4db) 2021-08-27 22:19:46 V/Bot.3408749007: Event: Succeed(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@2b5ef4db, image=[mirai:image:{711C1F6E-ED26-2FC7-04AF-F2EE0320664E}.png]) 2021-08-27 22:19:47 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@77e6a0de) 2021-08-27 22:19:51 V/Bot.3408749007: Event: Succeed(target=Group(682692140), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@77e6a0de, image=[mirai:image:{A3FB0049-2091-AA72-1C0D-CC29726F5D86}.png]) 2021-08-27 22:19:59 W/stderr: java.lang.NullPointerException: Cannot invoke "com.alibaba.fastjson.JSONObject.get(Object)" because the return value of "com.alibaba.fastjson.JSONObject.parseObject(String)" is null 2021-08-27 22:19:59 W/stderr: at com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:86) 2021-08-27 22:19:59 W/stderr: at com.hcyacg.search.Saucenao$picToSearch$1.invokeSuspend(Saucenao.kt) 2021-08-27 22:19:59 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) 2021-08-27 22:19:59 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) 2021-08-27 22:19:59 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) 2021-08-27 22:19:59 V/Bot.3408749007: Event: GroupMessagePreSendEvent(target=Group(682692140), message=请输入正确的命令 st图片) 2021-08-27 22:19:59 V/Bot.3408749007: Group(682692140) <- 请输入正确的命令 st图片 2021-08-27 22:19:59 V/Bot.3408749007: Event: GroupMessagePostSendEvent(target=Group(682692140), message=请输入正确的命令 st图片, exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@12d5be23)
-
RE: Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签
可以访问https://saucenao.com/
这是报错
st[mirai:image:{B60812BD-6D93-8D0B-3140-4A24143A54FD}.jpg]
2021-08-25 22:37:03 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@574064a)
2021-08-25 22:37:04 V/Bot.3408749007: Event: Succeed(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@574064a, image=[mirai:image:{0EC85F8E-572D-998D-F467-0B246BD12342}.png])
2021-08-25 22:37:06 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@4d90a257)
2021-08-25 22:37:07 V/Bot.3408749007: Event: Succeed(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@4d90a257, image=[mirai:image:{D4FD7FD6-9520-E900-F4E5-0E56A45FBD9F}.png])
2021-08-25 22:37:09 V/Bot.3408749007: Event: BeforeImageUploadEvent(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@5f4871cc)
2021-08-25 22:37:09 V/Bot.3408749007: Event: Succeed(target=Group(1038492859), source=net.mamoe.mirai.internal.utils.ExternalResourceImplByByteArray@5f4871cc, image=[mirai:image:{FF36B6CE-1C32-432C-5EC5-B1F7B6D0BC50}.png])
2021-08-25 22:37:10 V/Bot.3408749007: [我的世界(1038492859)] 群底层废物(非洲酋长(再冲是傻批)(2104763066) -> 等我解决搜图错误代码
2021-08-25 22:37:26 W/stderr: java.lang.NullPointerException: Cannot invoke "com.alibaba.fastjson.JSONObject.get(Object)" because the return value of "com.alibaba.fastjson.JSONObject.parseObject(String)" is null
2021-08-25 22:37:26 W/stderr: at com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:86)
2021-08-25 22:37:26 W/stderr: at com.hcyacg.search.Saucenao$picToSearch$1.invokeSuspend(Saucenao.kt)
2021-08-25 22:37:26 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
2021-08-25 22:37:26 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-08-25 22:37:26 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-08-25 22:37:26 V/Bot.3408749007: Event: GroupMessagePreSendEvent(target=Group(1038492859), message=请输入正确的命令 st图片)
2021-08-25 22:37:26 V/Bot.3408749007: Group(1038492859) <- 请输入正确的命令 st图片
2021-08-25 22:37:26 V/Bot.3408749007: Event: GroupMessagePostSendEvent(target=Group(1038492859), message=请输入正确的命令 st图片, exception=null, receipt=net.mamoe.mirai.message.MessageReceipt@37c3073a)