在使用插件「DanceCubeBot」当中,我发现在个别用户私信bot尝试登录时,会发生「网络错误」的报错。咨询插件作者发现并非插件问题导致,仅加载了ChatCommand和DanceCubeBot插件。
Overflow日志见下
2024-08-31 18:54:29 D/Onebot: [Recv] <-- {"self_id":3467905248,"user_id":1033967331,"time":1725101668,"message_id":1180741623,"real_id":1180741623,"message_seq":1180741623,"message_type":"private","sender":{"user_id":1033967331,"nickname":"Meet°遇见","card":""},"raw_message":"登录","font":14,"sub_type":"friend","message":[{"data":{"text":"登录"},"type":"text"}],"message_format":"array","post_type":"message"}
2024-08-31 18:54:30 D/Onebot: [Send] --> {"action":"send_private_msg","params":{"user_id":1033967331,"message":[{"type":"text","data":{"text":"🤗快用微信扫码,在五分钟内登录上吧~"}},{"type":"image","data":{"file":"base64:///9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/wAALCAGuAa4BAREA/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/9oACAEBAAA/AP1ToooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooorlPil8UvDHwW8Can4y8Zan/Y3hvTfK+13v2eWfy/MlSJPkiVnOXkQcKcZyeATXgH/D0f9mL/AKKb/wCUDVP/AJGo/wCHo/7MX/RTf/KBqn/yNR/w9H/Zi/6Kb/5QNU/+RqP+Ho/7MX/RTf8Aygap/wDI1H/D0f8AZi/6Kb/5QNU/+RqP+Ho/7MX/AEU3/wAoGqf/ACNR/wAPR/2Yv+im/wDlA1T/AORqP+Hof6v5V6K/VT/ghj/wA1s/7gn/t/X6qUUV+AP/BUf/k+z4m/9wz/ANNdpXyrX1V/wS4/5Ps+GX/cT/8ATXd1+/1fyr0UUUUUUUUV/VRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRX/2Q=="}}],"auto_escape":false},"echo":112}
2024-08-31 18:54:30 D/Onebot: [Recv] <-- {"status":"failed","retcode":1200,"data":null,"message":"ntqq api call failed, nodeIKernelMsgService/sendMsg, ","wording":"ntqq api call failed, nodeIKernelMsgService/sendMsg, ","echo":112}
2024-08-31 18:54:30 W/Onebot: 请求失败: [send_private_msg] 请求失败: app=LLOneBot v3.31.2, message=ntqq api call failed, nodeIKernelMsgService/sendMsg, , retJson={"status":"failed","retcode":1200,"data":null,"message":"ntqq api call failed, nodeIKernelMsgService/sendMsg, ","wording":"ntqq api call failed, nodeIKernelMsgService/sendMsg, ","echo":112}。如果你认为这是 Overflow 的问题,请带上 logs/onebot 中的日志来反馈。
2024-08-31 18:54:31 V/Onebot: Stacktrace:
cn.evolvefield.onebot.client.util.ActionFailedException: 请求失败: app=LLOneBot v3.31.2, message=ntqq api call failed, nodeIKernelMsgService/sendMsg, , retJson={"status":"failed","retcode":1200,"data":null,"message":"ntqq api call failed, nodeIKernelMsgService/sendMsg, ","wording":"ntqq api call failed, nodeIKernelMsgService/sendMsg, ","echo":112}
at cn.evolvefield.onebot.client.util.ActionSendRequest.send(ActionSendRequest.kt:67)
at cn.evolvefield.onebot.client.util.ActionSendRequest$send$1.invokeSuspend(ActionSendRequest.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.DispatchedTaskKt.resume(DispatchedTask.kt:178)
at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:166)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:397)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:431)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default(CancellableContinuationImpl.kt:420)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:328)
at kotlinx.coroutines.ResumeAwaitOnCompletion.invoke(JobSupport.kt:1413)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:318)
at kotlinx.coroutines.JobSupport.tryFinalizeSimpleState(JobSupport.kt:295)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:856)
at kotlinx.coroutines.JobSupport.makeCompleting$kotlinx_coroutines_core(JobSupport.kt:806)
at kotlinx.coroutines.CompletableDeferredImpl.complete(CompletableDeferred.kt:92)
at cn.evolvefield.onebot.client.util.ActionSendRequest.onCallback(ActionSendRequest.kt:80)
at cn.evolvefield.onebot.client.handler.ActionHandler.onReceiveActionResp(ActionHandler.kt:41)
at cn.evolvefield.onebot.client.connection.IAdapter$DefaultImpls.onReceiveMessage(IAdapter.kt:27)
at cn.evolvefield.onebot.client.connection.WSClient.onReceiveMessage(WSClient.kt:19)
at cn.evolvefield.onebot.client.connection.WSClient.onMessage(WSClient.kt:62)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:661)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:397)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decode(WebSocketImpl.java:229)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.run(WebSocketClient.java:544)
at java.base/java.lang.Thread.run(Thread.java:840)