Skip to content

上层使用overflow 1.0.5 链接 报错 #23

Description

@Kloping

以下是 相关 日志

2025-06-03 21:15:39 I/onebot-mirai: Bot: 3474006766 正向WebSocket服务端 / 正在监听端口:1347
2025-06-03 21:15:40 I/onebot-mirai: Bot: 3474006766 正向Websocket服务端 / 成功连接
2025-06-03 21:15:40 I/onebot-mirai: Bot: 3474006766 正向Websocket服务端 / 连接被关闭
2025-06-03 21:15:45 I/main: mirai-console started successfully.
2025-06-03 21:16:05 I/onebot-mirai: Bot: 3474006766 正向Websocket服务端 / 成功连接
2025-06-03 21:16:05 I/onebot-mirai: Bot: 3474006766 正向Websocket服务端 收到请求
2025-06-03 21:16:05 E/onebot-mirai: Cannot invoke "com.google.gson.JsonElement.getAsJsonObject()" because the return value of "com.google.gson.JsonObject.get(String)" is null
----------------------------------------------------------------------------------------------------
2025-06-03 21:21:42 D/Onebot: [Send] --> {"action":"get_version","echo":1}
2025-06-03 21:21:52 V/Onebot: 请求失败: [get_version] Timed out waiting for 10000 ms。如果你认为这是 Overflow 的问题,请带上 logs/onebot 中的日志来反馈。
2025-06-03 21:21:52 V/Onebot: Stacktrace: 
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
	at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:184)
	at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:154)
	at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:508)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
	at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108)
	at java.base/java.lang.Thread.run(Thread.java:834)

2025-06-03 21:21:52 E/Onebot: 未连接到 Onebot
2025-06-03 21:21:52 I/Onebot: ▌ 服务器连接因 未知原因 已关闭 (关闭码: NORMAL)
----------------------------------------------------------------------------------------------------
2025-06-03 21:21:24 I/onebot-mirai: Bot : 3474006766 开始创建
2025-06-03 21:21:25 I/onebot-mirai: 创建正向HTTP服务器: 0.0.0.0:6700
2025-06-03 21:21:25 W/stderr: [2025-06-03 21:21:25]KHTTP Server listen on 【0:0:0:0:0:0:0:0:6700】 use time 20ms 
2025-06-03 21:21:25 I/onebot-mirai: 创建正向WS服务器: 0.0.0.0:1347
2025-06-03 21:21:25 I/onebot-mirai: Bot: 3474006766 创建Session
2025-06-03 21:21:25 I/main: 3 plugin(s) enabled.
2025-06-03 21:21:25 I/onebot-mirai: Bot: 3474006766 正向WebSocket服务端 / 正在监听端口:1347
2025-06-03 21:21:32 I/onebot-mirai: Bot: 3474006766 正向Websocket服务端 / 成功连接
2025-06-03 21:21:32 I/main: mirai-console started successfully.
2025-06-03 21:21:32 I/onebot-mirai: Bot: 3474006766 正向Websocket服务端 收到请求
2025-06-03 21:21:32 E/onebot-mirai: Cannot invoke "com.google.gson.JsonElement.getAsJsonObject()" because the return value of "com.google.gson.JsonObject.get(String)" is null
2025-06-03 21:21:42 I/onebot-mirai: Bot: 3474006766 正向Websocket服务端 收到请求
2025-06-03 21:21:42 E/onebot-mirai: Cannot invoke "com.google.gson.JsonElement.getAsJsonObject()" because the return value of "com.google.gson.JsonObject.get(String)" is null
2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions