Giter Club home page Giter Club logo

napcatqq's Issues

[BUG] 无法使用 systemctl 守护

系统版本

Linux KLSA-Bot 6.5.13-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-3 (2024-03-20T10:45Z) x86_64 x86_64 x86_64 GNU/Linux

QQNT 版本

Linux QQ 2.3.7-23361

NapCat 版本

1.3.3

OneBot 客户端

Nonebot

发生了什么?

5月 17 19:13:46 KLSA-Bot napcat.sh[57723]: 2024-05-17 19:13:46 [INFO] -
5月 17 19:13:46 KLSA-Bot napcat.sh[57723]: 正在快速登录  *
5月 17 19:13:46 KLSA-Bot napcat.sh[57723]: [NapCat] [WebUi] Current WebUi is running at IP:6099
5月 17 19:13:48 KLSA-Bot napcat.sh[57723]: linux-bugly: init bugly ...
5月 17 19:13:48 KLSA-Bot napcat.sh[57719]: /root/NapCat.linux.x64/napcat.sh: line 21: 57723 Segmentation fault      /opt/QQ/qq "${SCRIPT_DIR}/napcat.cjs" "$@"
5月 17 19:13:48 KLSA-Bot systemd[1]: napcat.service: Main process exited, code=exited, status=139/n/a
5月 17 19:13:48 KLSA-Bot systemd[1]: napcat.service: Failed with result 'exit-code'.
5月 17 19:13:48 KLSA-Bot systemd[1]: napcat.service: Consumed 2.539s CPU time.
5月 17 19:13:48 KLSA-Bot systemd[1]: napcat.service: Scheduled restart job, restart counter is at 1.

如何复现

systemctl 配置文件:

[Unit]
Description=NapCatQQ
After=network.target

[Service]
Type=simple
ExecStart=/root/NapCat.linux.x64/napcat.sh -q *
WorkingDirectory=/root/NapCat.linux.x64
Restart=always

[Install]
WantedBy=multi-user.target

期望的结果?

能够使用 systemctl 做守护

NapCat 运行日志

No response

OneBot 客户端运行日志

No response

[BUG] 在获取群成员列表时,部分键值出现问题

系统版本

Debian 12 bookworm

QQNT 版本

Docker

NapCat 版本

Docker

OneBot 客户端

Nonebot2 / 2.2.1

发生了什么?

在下面信息中last_sent_time为0,还有其它多个键值未正常显示,join_time等(已给测试群字符打码)

{
    "group_id": 9**01**20,
    "user_id": 1990248284,
    "nickname": "Mr.ling",
    "card": "",
    "sex": "unknown",
    "age": 0,
    "area": "",
    "level": 0,
    "qq_level": 0,
    "join_time": 0,
    "last_sent_time": 0,
    "title_expire_time": 0,
    "unfriendly": false,
    "card_changeable": true,
    "is_robot": false,
    "shut_up_timestamp": 0,
    "role": "member",
    "title": ""
  }

如何复现

https://github.com/CrashVibe/U1bot/blob/main/src/plugins/waifu/__init__.py#L176-L181

期望的结果?

构建出完整的信息,如go-cq返回的

  {
    "age": 0,
    "area": "",
    "card": "",
    "card_changeable": false,
    "group_id": 9**01**20,
    "join_time": 1675189660,
    "last_sent_time": 1713321801,
    "level": "1",
    "nickname": "Mr.ling",
    "role": "member",
    "sex": "male",
    "shut_up_timestamp": 0,
    "title": "",
    "title_expire_time": 0,
    "unfriendly": false,
    "user_id": 1990248284
  }

NapCat 运行日志

无相关api日志输出

OneBot 客户端运行日志

No response

[BUG] 没有收到群成员减少事件

系统版本

Ubuntu 22.04.4 LTS

QQNT 版本

Linux 3.2.7-23361

NapCat 版本

1.3.3

OneBot 客户端

None

发生了什么?

Napcat没有接收到群成员减少事件,控制台无输出无日志

如何复现

群组成员主动退群/被踢出

期望的结果?

修复添加群成员减少事件的支持

NapCat 运行日志

No response

OneBot 客户端运行日志

No response

[BUG] 启动失败 code: 'ERR_DLOPEN_FAILED'

系统版本

Ubuntu 22.04.3 LTS

QQNT 版本

Linux QQ 2.3.7-23361

NapCat 版本

NapCatQQ v1.2.0(beta)

OneBot 客户端

overflow 216

发生了什么?

执行napcat.sh文件,无法正确启动

如何复现

1.按照教程安装了Linux QQ 2.3.7-23361
但是运行qq命令 提示:
[0506/235513.745721:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. Trace/breakpoint trap (core dumped)
因为我的服务器没有gui,不确定这样是否算安装成功

2.运行./napcat.sh命令出现以下输出
`
/home/qq/node_modules/bindings/bindings.js:121
throw e;
^
Error: /home/qq/node_modules/sqlite3/build/Release/node_sqlite3.node: cannot open shared object file: No such file or directory
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2792)
at Module._extensions..node (node:internal/modules/cjs/loader:1356:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2792)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at Module._load (node:internal/modules/cjs/loader:967:12)
at u._load (node:electron/js2c/asar_bundle:2:14589)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:119:18)
at bindings (/home/qq/node_modules/bindings/bindings.js:112:48)
at Object. (/home/qq/node_modules/sqlite3/lib/sqlite3-binding.js:1:37) {
code: 'ERR_DLOPEN_FAILED'
}

Node.js v18.18.2
`

期望的结果?

不出现错误

NapCat 运行日志

No response

OneBot 客户端运行日志

No response

[BUG] bot私聊信息发不出来,并且导致程序崩溃

系统版本

ubuntu

QQNT 版本

QQ_3.2.7_240428_amd64

NapCat 版本

1.3.3

OneBot 客户端

yobot_remix v4.0.2

发生了什么?

对bot私聊触发词后,bot返回的私聊信息发不出去,并且报错崩溃。但同时bot在群聊中能正常发出消息。

如何复现

1.使用反向WebSocket监听对接yobot
2.启用HTTP 事件上报,将yobot的默认页面设置为HTTP 事件上报地址
3.对bot私聊触发词version,或者任何其他触发词

期望的结果?

应在私聊中正常返回bot版本号,并且不崩溃

NapCat 运行日志

发送消息 给私聊 0: Remix-[v4.0.2]

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "发送超时".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Node.js v18.18.2

OneBot 客户端运行日志

[2024-05-16 20:40:46 +0000] [498865] [INFO] 127.0.0.1:59248 POST / 1.1 204 0 2352
[2024-05-16 20:40:46 +0000] [498865] [INFO] 127.0.0.1:59248 POST / 1.1 - - 2654
[2024-05-16 20:42:32,147] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:42:32 +0000] [498865] [INFO] 127.0.0.1:40398 POST / 1.1 204 0 1469
[2024-05-16 20:42:32 +0000] [498865] [INFO] 127.0.0.1:40398 POST / 1.1 - - 1855
[2024-05-16 20:42:51,938] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:42:51 +0000] [498865] [INFO] 127.0.0.1:53126 POST / 1.1 204 0 1946
[2024-05-16 20:42:51 +0000] [498865] [INFO] 127.0.0.1:53126 POST / 1.1 - - 2189
[2024-05-16 20:43:49,818] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:43:49 +0000] [498865] [INFO] 127.0.0.1:49944 POST / 1.1 204 0 2704
[2024-05-16 20:43:49 +0000] [498865] [INFO] 127.0.0.1:49944 POST / 1.1 - - 3035
[2024-05-16 20:43:55,191] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:43:55 +0000] [498865] [INFO] 127.0.0.1:36556 POST / 1.1 204 0 1669
[2024-05-16 20:43:55 +0000] [498865] [INFO] 127.0.0.1:36556 POST / 1.1 - - 1896
[2024-05-16 20:44:12,928] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:44:12 +0000] [498865] [INFO] 127.0.0.1:50476 POST / 1.1 204 0 3079
[2024-05-16 20:44:12 +0000] [498865] [INFO] 127.0.0.1:50476 POST / 1.1 - - 4453
[2024-05-16 20:44:18,106] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:44:18 +0000] [498865] [INFO] 127.0.0.1:50486 POST / 1.1 204 0 1854
[2024-05-16 20:44:18 +0000] [498865] [INFO] 127.0.0.1:50486 POST / 1.1 - - 2087
[2024-05-16 20:44:29,397] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:44:29 +0000] [498865] [INFO] 127.0.0.1:35958 POST / 1.1 204 0 1431
[2024-05-16 20:44:29 +0000] [498865] [INFO] 127.0.0.1:35958 POST / 1.1 - - 1696
[2024-05-16 20:45:05 +0000] [498865] [INFO] 127.0.0.1:45758 GET /ws/ 1.1 101 - 700
[2024-05-16 20:45:11,350] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:45:11 +0000] [498865] [INFO] 127.0.0.1:34238 POST / 1.1 204 0 1566
[2024-05-16 20:45:11 +0000] [498865] [INFO] 127.0.0.1:34238 POST / 1.1 - - 1825
[2024-05-16 20:45:23,513] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:45:23 +0000] [498865] [INFO] 127.0.0.1:43874 POST / 1.1 204 0 1905
[2024-05-16 20:45:23 +0000] [498865] [INFO] 127.0.0.1:43874 POST / 1.1 - - 2338
[2024-05-16 20:45:30,985] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:45:30 +0000] [498865] [INFO] 127.0.0.1:46678 POST / 1.1 200 44 1571
[2024-05-16 20:45:30 +0000] [498865] [INFO] 127.0.0.1:46678 POST / 1.1 - - 1824
[2024-05-16 20:45:58 +0000] [498865] [INFO] 127.0.0.1:58502 GET /ws/ 1.1 101 - 870
[2024-05-16 20:48:06,579] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:48:06 +0000] [498865] [INFO] 127.0.0.1:33326 POST / 1.1 204 0 1626
[2024-05-16 20:48:06 +0000] [498865] [INFO] 127.0.0.1:33326 POST / 1.1 - - 1878
[2024-05-16 20:48:06,918] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:48:06 +0000] [498865] [INFO] 127.0.0.1:33326 POST / 1.1 204 0 2486
[2024-05-16 20:48:06 +0000] [498865] [INFO] 127.0.0.1:33326 POST / 1.1 - - 2753
[2024-05-16 20:49:29,951] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:49:29 +0000] [498865] [INFO] 127.0.0.1:34272 POST / 1.1 204 0 1518
[2024-05-16 20:49:29 +0000] [498865] [INFO] 127.0.0.1:34272 POST / 1.1 - - 2175
[2024-05-16 20:49:31,106] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:49:31 +0000] [498865] [INFO] 127.0.0.1:34272 POST / 1.1 204 0 7393
[2024-05-16 20:49:31 +0000] [498865] [INFO] 127.0.0.1:34272 POST / 1.1 - - 7770
[2024-05-16 20:50:29,755] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:50:29 +0000] [498865] [INFO] 127.0.0.1:36970 POST / 1.1 204 0 2240
[2024-05-16 20:50:29 +0000] [498865] [INFO] 127.0.0.1:36970 POST / 1.1 - - 2604
[2024-05-16 20:53:57,216] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:53:57 +0000] [498865] [INFO] 127.0.0.1:50980 POST / 1.1 204 0 2277
[2024-05-16 20:53:57 +0000] [498865] [INFO] 127.0.0.1:50980 POST / 1.1 - - 2925
[2024-05-16 20:54:21,198] WARNING in __init__: there is already a reverse websocket api connection, so the event may be handled twice.
[2024-05-16 20:54:21 +0000] [498865] [INFO] 127.0.0.1:60708 POST / 1.1 204 0 1857
[2024-05-16 20:54:21 +0000] [498865] [INFO] 127.0.0.1:60708 POST / 1.1 - - 2085

[BUG] 使用-q参数快捷登录时报错闪退

系统版本

Windows 10 LTSC

QQNT 版本

9.9.9-22868

NapCat 版本

1.0.2

OneBot 客户端

发生了什么?

使用-q参数快捷登录时报错闪退,切换为扫码登录方式可正常登录。已确定在登录前已经使用QQNT客户端成功登录QQ,且可以正常一键登录。

如何复现

使用控制台执行 napcat-utf8.bat -q XXXXX 进行快捷登录

期望的结果?

能够正常使用快捷登录

NapCat 运行日志

ob11 msg listener added
ob11 buddy listener added
ob11 group listener added
login success
node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on ClientRequest instance at:
    at TLSSocket.socketErrorListener (node:_http_client:501:9)
    at TLSSocket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4077,
  code: 'ECONNRESET',
  syscall: 'read'
}

Node.js v18.18.2
Press any key to continue . . .

OneBot 客户端运行日志

No response

[BUG] 使用提示超时并卡住无法运行

系统版本

Windows [版本 10.0.19043.928] (Windows 10 Pro 专业版)

QQNT 版本

9.9.9-240412

NapCat 版本

1.0.2

OneBot 客户端

Koishi 4.17.4 (最新) / adapter-onebot 6.5.1 (最新)

发生了什么?

无法连接 Vercel 的服务而导致脚本卡住

如何复现

  1. 在一台禁海外IP访问的Windows机器上运行ps1脚本
  2. 正常发送消息,可在后端接收到
  3. 等待超时(30s?)
  4. 抛出错误 Error: connect ETIMEDOUT 76.76.21.21:443
  5. 脚本卡住,无法继续处理新的信息。复现完成

期望的结果?

上报失败继续运行而不是卡着

NapCat 运行日志

ws 消息上报 ws://xxxxx:11451/onebot {
  status: 'ok',
  retcode: 0,
  data: { message_id: 6 },
  message: '',
  wording: '',
  echo: 10
}
node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: connect ETIMEDOUT 76.76.21.21:443
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
Emitted 'error' event on ClientRequest instance at:
    at TLSSocket.socketErrorListener (node:_http_client:501:9)
    at TLSSocket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4039,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '76.76.21.21',
  port: 443
}

Node.js v21.7.1

OneBot 客户端运行日志

[BUG] 不兼容旧版本QQ消息的换行符解析

系统版本

Debian 11.9

QQNT 版本

3.2.7_240428

NapCat 版本

1.3.3

OneBot 客户端

overflow 2.16.0-c49aec1-SNAPSHOT

发生了什么?

在接收来自PC端旧版本QQ的消息时,具体版本是9.7.9(29059),当消息包含换行时,napcat接收到的消息如下

"message":[{"data":{"text":"第一行\r第二行"},"type":"text"}]

\r只会被识别为回车符CR,解析后的内容变成以下这样

第二行 group(114514)] user(114514): 第一行

如何复现

使用NT架构之前的PC QQ发送换行内容

期望的结果?

希望能把单独的\r换行符转换为\n,或者\r\n,兼容旧版本客户端发送的消息

"message":[{"data":{"text":"第一行\r第二行"},"type":"text"}]

解析为

群[group(114514)] user(114514): 第一行
第二行

NapCat 运行日志

No response

OneBot 客户端运行日志

No response

[BUG] Linux版本启动报错,以及 Supervisor 运行问题

系统版本

Ubuntu 22.04 LTS

QQNT 版本

2.3.7-23361

NapCat 版本

v1.2.0(beta)

OneBot 客户端

nonebot

发生了什么?

启动的时候报错

 [ERROR] - 
加载 moehoo 失败 {"code":"MODULE_NOT_FOUND","requireStack":["/root/NapCat/NapCat.linux.x64/napcat.cjs"]} 

后续可以正常使用,暂时没发现别的问题

另外我想使用Supervisor来运行NapCat,日志显示启动成功后就重启,配置如下

[program:napcat]
command                 = bash ./napcat.sh -q 1234567890
directory               = /root/NapCat/NapCat.linux.x64
autorestart             = true
startsecs               = 3
stdout_logfile          = /opt/1panel/tools/supervisord/log/napcat.out.log
stderr_logfile          = /opt/1panel/tools/supervisord/log/napcat.err.log
stdout_logfile_maxbytes = 2MB
stderr_logfile_maxbytes = 2MB
user                    = root
priority                = 999
numprocs                = 1
process_name            = %(program_name)s_%(process_num)02d

如何复现

100%复现

期望的结果?

启动不报error
能使用Supervisor

NapCat 运行日志

Supervisor日志,一直在循环:
2024-05-07 16:24:14 [ERROR] - 
加载 moehoo 失败 {"code":"MODULE_NOT_FOUND","requireStack":["/root/NapCat/NapCat.linux.x64/napcat.cjs"]} 

2024-05-07 16:24:14 [INFO] - 
正在快速登录  1234567890

2024-05-07 16:24:15 [INFO] - 
[NapCat]  当前版本: 1.2.0 

2024-05-07 16:24:15 [DEBUG] - 
[NapCat]  当前已是最新版本 

linux-bugly: init bugly ...
2024-05-07 16:24:23 [ERROR] - 
加载 moehoo 失败 {"code":"MODULE_NOT_FOUND","requireStack":["/root/NapCat/NapCat.linux.x64/napcat.cjs"]} 

2024-05-07 16:24:23 [INFO] - 
正在快速登录  1234567890 

2024-05-07 16:24:24 [INFO] - 
[NapCat]  当前版本: 1.2.0 

2024-05-07 16:24:24 [DEBUG] - 
[NapCat]  当前已是最新版本 

linux-bugly: init bugly ...

OneBot 客户端运行日志

No response

[BUG] 真寻bot的消息全部发送到私聊了

系统版本

Ubuntu 22.04.4 LTS

QQNT 版本

Linux QQ 2.3.7-23361

NapCat 版本

1.3.5

OneBot 客户端

I don't know

发生了什么?

群聊消息私聊发送

如何复现

随便发送bot的一个命令即可

期望的结果?

发送到对应群聊

NapCat 运行日志

2024-05-18 19:13:23 [INFO] - 
正在快速登录  3067656659 

2024-05-18 19:13:24 [INFO] - 
[NapCat]  当前版本: 1.3.5 

2024-05-18 19:13:24 [DEBUG] - 
[NapCat]  当前已是最新版本 

2024-05-18 19:13:25 [DEBUG] - 
配置文件/home/qqbot/napcatqq/config/napcat_3067656659.json已加载 {"fileLog":true,"consoleLog":true,"fileLogLevel":"debug","consoleLogLevel":"info"} 

2024-05-18 19:13:25 [DEBUG] (3067656659) 
本账号数据/缓存目录: /home/qqbot/.config/QQ/NapCat/data 

2024-05-18 19:13:25 [DEBUG] (3067656659) 
数据库中消息最大短id -2147473175 

2024-05-18 19:13:25 [DEBUG] (3067656659) 
ob11 ready 

2024-05-18 19:13:25 [DEBUG] (3067656659) 
配置文件/home/qqbot/napcatqq/config/onebot11_3067656659.json已加载 {"http":{"enable":false,"host":"","port":3000,"secret":"","enableHeart":false,"enablePost":false,"postUrls":[]},"ws":{"enable":true,"host":"","port":6700},"reverseWs":{"enable":true,"urls":["ws://127.0.0.1:2536/OneBotv11","ws://127.0.0.1:14514/onebot/v11/ws","ws://127.0.0.1:5140/onebot","ws://xxx:28280/onebot/v11/ws"]},"debug":false,"heartInterval":30000,"messagePostFormat":"array","enableLocalFile2Url":true,"musicSignUrl":"","reportSelfMessage":false,"token":""} 

2024-05-18 19:13:25 [INFO] (3067656659) 

    HTTP服务 未启动, :3000
    HTTP上报服务 未启动, 上报地址: 
    WebSocket服务 已启动, :6700
    WebSocket反向服务 已启动, 反向地址: ws://127.0.0.1:2536/OneBotv11,ws://127.0.0.1:14514/onebot/v11/ws,ws://127.0.0.1:5140/onebot,ws://xxx:28280/onebot/v11/ws
     

2024-05-18 19:13:25 [INFO] (3067656659) 
ws服务启动成功, :6700 

2024-05-18 19:13:25 [INFO] (3067656659) 
开始连接反向ws ws://127.0.0.1:2536/OneBotv11 

2024-05-18 19:13:25 [DEBUG] (3067656659) 
Trying to connect to the websocket server: ws://127.0.0.1:2536/OneBotv11 

2024-05-18 19:13:25 [INFO] (3067656659) 
开始连接反向ws ws://127.0.0.1:14514/onebot/v11/ws 

2024-05-18 19:13:25 [DEBUG] (3067656659) 
Trying to connect to the websocket server: ws://127.0.0.1:14514/onebot/v11/ws 

2024-05-18 19:13:25 [INFO] (3067656659) 
开始连接反向ws ws://127.0.0.1:5140/onebot 

2024-05-18 19:13:25 [DEBUG] (3067656659) 
Trying to connect to the websocket server: ws://127.0.0.1:5140/onebot 

2024-05-18 19:13:26 [INFO] (3067656659) 
开始连接反向ws ws://xxx:28280/onebot/v11/ws 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
Trying to connect to the websocket server: ws://xxx:28280/onebot/v11/ws 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
ob11 msg listener added 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
ob11 buddy listener added 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
ob11 group listener added 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
Connected to the websocket server: ws://127.0.0.1:2536/OneBotv11 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"time":1716030806,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"lifecycle","sub_type":"connect"} 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
Connected to the websocket server: ws://127.0.0.1:5140/onebot 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"time":1716030806,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"lifecycle","sub_type":"connect"} 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_login_info","params":{},"echo":3736} 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_guild_service_profile","params":{},"echo":3738} 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"status":"failed","retcode":1404,"data":null,"message":"不支持的api get_guild_service_profile","wording":"不支持的api get_guild_service_profile","echo":3738} 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"status":"ok","retcode":0,"data":{"user_id":3067656659,"nickname":"Makise Kurisu"},"message":"","wording":"","echo":3736} 

2024-05-18 19:13:26 [INFO] (3067656659) 
ws connect / 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
event上报ws客户端已连接 

2024-05-18 19:13:26 [DEBUG] (3067656659) 
ws 消息上报  {"time":1716030806,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"lifecycle","sub_type":"connect"} 

2024-05-18 19:13:27 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"_set_model_show","params":{"model":"TRSS Yunzai ","model_show":"TRSS Yunzai "},"echo":"6a08eb05-2e54-47cd-9b15-b3f07c4200a7"} 

2024-05-18 19:13:27 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"status":"failed","retcode":1404,"data":null,"message":"不支持的api _set_model_show","wording":"不支持的api _set_model_show","echo":"6a08eb05-2e54-47cd-9b15-b3f07c4200a7"} 

2024-05-18 19:13:27 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_login_info","echo":"9a5cadb5-ec7a-4b55-96d2-f80e31473c37"} 

2024-05-18 19:13:27 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"status":"ok","retcode":0,"data":{"user_id":3067656659,"nickname":"Makise Kurisu"},"message":"","wording":"","echo":"9a5cadb5-ec7a-4b55-96d2-f80e31473c37"} 

2024-05-18 19:13:27 [DEBUG] (3067656659) 
Connected to the websocket server: ws://127.0.0.1:14514/onebot/v11/ws 

2024-05-18 19:13:27 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"time":1716030807,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"lifecycle","sub_type":"connect"} 

2024-05-18 19:13:27 [DEBUG] (3067656659) 
Connected to the websocket server: ws://xxx:28280/onebot/v11/ws 

2024-05-18 19:13:27 [DEBUG] (3067656659) 
ws 消息上报 ws://xxx:28280/onebot/v11/ws {"time":1716030807,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"lifecycle","sub_type":"connect"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_guild_service_profile","echo":"f837a748-7eca-41b5-8944-a6bb97bba2f8"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"status":"failed","retcode":1404,"data":null,"message":"不支持的api get_guild_service_profile","wording":"不支持的api get_guild_service_profile","echo":"f837a748-7eca-41b5-8944-a6bb97bba2f8"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_online_clients","echo":"4b5eb9d4-c379-4326-8dd8-265dec8f86a0"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"status":"failed","retcode":1404,"data":null,"message":"不支持的api get_online_clients","wording":"不支持的api get_online_clients","echo":"4b5eb9d4-c379-4326-8dd8-265dec8f86a0"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_version_info","echo":"60572720-a1a7-4f63-9ea7-4652a4f193fc"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"status":"ok","retcode":0,"data":{"app_name":"NapCat.Onebot","protocol_version":"v11","app_version":"1.3.5"},"message":"","wording":"","echo":"60572720-a1a7-4f63-9ea7-4652a4f193fc"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_friend_list","echo":"6f6ee269-1f87-4b48-8594-560753d93b1d"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_group_list","echo":"e24b5282-3e39-4e3b-9678-bacf56af770c"} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"status":"failed","retcode":1400,"data":null,"message":"must be object","wording":"must be object","echo":null} 

2024-05-18 19:13:28 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"status":"failed","retcode":1400,"data":null,"message":"must be object","wording":"must be object","echo":null} 

2024-05-18 19:13:30 [ERROR] (3067656659) 
getUserDetailInfo timeout 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
收到消息 [{"msgId":"7370296213789612474","msgRandom":"777739746","msgSeq":"10501","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_3cUl26ylTWkrehSaGtp2PQ","peerUid":"826737286","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1716030811","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"Need For Speed","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7370296213789612473","extBufForUI":"0x","textElement":{"content":"真寻签到","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"绪山真寻、Makise Kurisu","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2247403951","peerUin":"826737286","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null}] 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
记录消息到数据库, 消息长id: 7370296213789612474, 短id: -2147473174 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
收到新消息 {"msgId":"7370296213789612474","msgRandom":"777739746","msgSeq":"10501","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_3cUl26ylTWkrehSaGtp2PQ","peerUid":"826737286","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1716030811","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"Need For Speed","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7370296213789612473","extBufForUI":"0x","textElement":{"content":"真寻签到","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"绪山真寻、Makise Kurisu","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2247403951","peerUin":"826737286","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null,"id":-2147473174} 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
收到消息:  {"self_id":3067656659,"user_id":2247403951,"time":1716030811,"message_id":-2147473174,"message_seq":-2147473174,"real_id":-2147473174,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻签到","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻签到"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"self_id":3067656659,"user_id":2247403951,"time":1716030811,"message_id":-2147473174,"message_seq":-2147473174,"real_id":-2147473174,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻签到","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻签到"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"self_id":3067656659,"user_id":2247403951,"time":1716030811,"message_id":-2147473174,"message_seq":-2147473174,"real_id":-2147473174,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻签到","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻签到"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"self_id":3067656659,"user_id":2247403951,"time":1716030811,"message_id":-2147473174,"message_seq":-2147473174,"real_id":-2147473174,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻签到","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻签到"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
ws 消息上报 ws://xxx:28280/onebot/v11/ws {"self_id":3067656659,"user_id":2247403951,"time":1716030811,"message_id":-2147473174,"message_seq":-2147473174,"real_id":-2147473174,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻签到","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻签到"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
ws 消息上报  {"self_id":3067656659,"user_id":2247403951,"time":1716030811,"message_id":-2147473174,"message_seq":-2147473174,"real_id":-2147473174,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻签到","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻签到"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:31 [INFO] (3067656659) 
群[Need For Speed、绪山真寻、Makise Kurisu(826737286)] Need For Speed(2247403951): 真寻签到
 

2024-05-18 19:13:31 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_group_list","params":{},"echo":3740} 

2024-05-18 19:13:32 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"status":"ok","retcode":0,"data":[{"group_id":991915534,"group_name":"一群勾八玩意<$ÿĀ\u0011\u0010>","member_count":51,"max_member_count":200},{"group_id":950909053,"group_name":"Low、超、克里斯缇娜、琳一、の、Need For Speed、Makise Kurisu","member_count":7,"max_member_count":200},{"group_id":768556279,"group_name":"NSG Gaming Club","member_count":185,"max_member_count":500},{"group_id":531452505,"group_name":"ACG●爱动漫●二次元","member_count":981,"max_member_count":1000},{"group_id":826737286,"group_name":"Need For Speed、绪山真寻、Makise Kurisu","member_count":3,"max_member_count":200},{"group_id":557989346,"group_name":"就是这么","member_count":21,"max_member_count":200},{"group_id":628966760,"group_name":"修仙","member_count":21,"max_member_count":200}],"message":"","wording":"","echo":3740} 

2024-05-18 19:13:32 [DEBUG] (3067656659) 
收到正向Websocket消息 {"action":"mark_msg_as_read","params":{"message_id":-2147473174},"echo":1824} 

2024-05-18 19:13:32 [DEBUG] (3067656659) 
ws 消息上报  {"status":"ok","retcode":0,"data":null,"message":"","wording":"","echo":1824} 

2024-05-18 19:13:32 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"send_msg","params":{"user_id":2247403951,"group_id":826737286,"message_type":"group","message":[{"type":"at","data":{"qq":"2247403951"}},{"type":"text","data":{"text":" "}},{"type":"image","data":{"file":"file:///home/qqbot/zhenxun_bot/resources/image/sign/today_card/2247403951_826737286_sign_2024-05-18.png","type":null,"cache":"true","proxy":"true","timeout":null}}]},"echo":"2029"} 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
图片信息 {"md5HexStr":"68f986110b1bbbc527fa41af716a22f5","fileSize":"281315","picWidth":876,"picHeight":424,"fileName":"2247403951_826737286_sign_2024-05-18.png","sourcePath":"/home/qqbot/.config/QQ/nt_qq_778a6a3e21f0e901ee9f978affe4ee69/nt_data/Pic/2024-05/Ori/68f986110b1bbbc527fa41af716a22f5.png","original":true,"picType":1000,"picSubType":0,"fileUuid":"","fileSubId":"","thumbFileSize":0,"summary":""} 

2024-05-18 19:13:33 [INFO] (3067656659) 
发送消息 给私聊 2247403951: 
[图片]https://gchat.qpic.cn/gchatpic_new/0/0-0-68F986110B1BBBC527FA41AF716A22F5/0
 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
记录消息到数据库, 消息长id: 7370296216734557529, 短id: -2147473173 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
更新消息, shortId:undefined, seq: 1382, msgId: 7370296216734557529 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"status":"ok","retcode":0,"data":{"message_id":-2147473173},"message":"","wording":"","echo":"2029"} 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
收到消息 [{"msgId":"7370296221635430378","msgRandom":"151089141","msgSeq":"10502","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_3cUl26ylTWkrehSaGtp2PQ","peerUid":"826737286","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1716030813","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"Need For Speed","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7370296221635430377","extBufForUI":"0x","textElement":{"content":"真寻帮助","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"绪山真寻、Makise Kurisu","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2247403951","peerUin":"826737286","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null}] 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
记录消息到数据库, 消息长id: 7370296221635430378, 短id: -2147473172 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
收到新消息 {"msgId":"7370296221635430378","msgRandom":"151089141","msgSeq":"10502","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_3cUl26ylTWkrehSaGtp2PQ","peerUid":"826737286","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1716030813","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"Need For Speed","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7370296221635430377","extBufForUI":"0x","textElement":{"content":"真寻帮助","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"绪山真寻、Makise Kurisu","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2247403951","peerUin":"826737286","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null,"id":-2147473172} 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
收到消息:  {"self_id":3067656659,"user_id":2247403951,"time":1716030813,"message_id":-2147473172,"message_seq":-2147473172,"real_id":-2147473172,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻帮助","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻帮助"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"self_id":3067656659,"user_id":2247403951,"time":1716030813,"message_id":-2147473172,"message_seq":-2147473172,"real_id":-2147473172,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻帮助","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻帮助"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"self_id":3067656659,"user_id":2247403951,"time":1716030813,"message_id":-2147473172,"message_seq":-2147473172,"real_id":-2147473172,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻帮助","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻帮助"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:33 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"self_id":3067656659,"user_id":2247403951,"time":1716030813,"message_id":-2147473172,"message_seq":-2147473172,"real_id":-2147473172,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻帮助","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻帮助"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
ws 消息上报 ws://xxx:28280/onebot/v11/ws {"self_id":3067656659,"user_id":2247403951,"time":1716030813,"message_id":-2147473172,"message_seq":-2147473172,"real_id":-2147473172,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻帮助","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻帮助"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
ws 消息上报  {"self_id":3067656659,"user_id":2247403951,"time":1716030813,"message_id":-2147473172,"message_seq":-2147473172,"real_id":-2147473172,"message_type":"group","sender":{"user_id":2247403951,"nickname":"Need For Speed","card":"","role":"owner"},"raw_message":"真寻帮助","font":14,"sub_type":"normal","message":[{"data":{"text":"真寻帮助"},"type":"text"}],"message_format":"array","post_type":"message","group_id":826737286} 

2024-05-18 19:13:34 [INFO] (3067656659) 
群[Need For Speed、绪山真寻、Makise Kurisu(826737286)] Need For Speed(2247403951): 真寻帮助
 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_group_list","params":{},"echo":3742} 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"status":"ok","retcode":0,"data":[{"group_id":991915534,"group_name":"一群勾八玩意<$ÿĀ\u0011\u0010>","member_count":51,"max_member_count":200},{"group_id":950909053,"group_name":"Low、超、克里斯缇娜、琳一、の、Need For Speed、Makise Kurisu","member_count":7,"max_member_count":200},{"group_id":768556279,"group_name":"NSG Gaming Club","member_count":185,"max_member_count":500},{"group_id":531452505,"group_name":"ACG●爱动漫●二次元","member_count":981,"max_member_count":1000},{"group_id":826737286,"group_name":"Need For Speed、绪山真寻、Makise Kurisu","member_count":3,"max_member_count":200},{"group_id":557989346,"group_name":"就是这么","member_count":21,"max_member_count":200},{"group_id":628966760,"group_name":"修仙","member_count":21,"max_member_count":200}],"message":"","wording":"","echo":3742} 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
收到正向Websocket消息 {"action":"mark_msg_as_read","params":{"message_id":-2147473172},"echo":1825} 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
ws 消息上报  {"status":"ok","retcode":0,"data":null,"message":"","wording":"","echo":1825} 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"send_msg","params":{"user_id":2247403951,"group_id":826737286,"message_type":"group","message":[{"type":"image","data":{"file":"file:///home/qqbot/zhenxun_bot/data/group_help/826737286.png","type":null,"cache":"true","proxy":"true","timeout":null}}]},"echo":"2030"} 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
图片信息 {"md5HexStr":"17f98eb5a0318ac459e36089925e742c","fileSize":"995198","picWidth":1195,"picHeight":1195,"fileName":"826737286.png","sourcePath":"/home/qqbot/.config/QQ/nt_qq_778a6a3e21f0e901ee9f978affe4ee69/nt_data/Pic/2024-05/Ori/17f98eb5a0318ac459e36089925e742c.png","original":true,"picType":1000,"picSubType":0,"fileUuid":"","fileSubId":"","thumbFileSize":0,"summary":""} 

2024-05-18 19:13:34 [INFO] (3067656659) 
发送消息 给私聊 2247403951: 
[图片]https://gchat.qpic.cn/gchatpic_new/0/0-0-17F98EB5A0318AC459E36089925E742C/0
 

2024-05-18 19:13:34 [DEBUG] (3067656659) 
记录消息到数据库, 消息长id: 7370296221635430379, 短id: -2147473171 

2024-05-18 19:13:35 [DEBUG] (3067656659) 
更新消息, shortId:undefined, seq: 1383, msgId: 7370296221635430379 

2024-05-18 19:13:35 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"status":"ok","retcode":0,"data":{"message_id":-2147473171},"message":"","wording":"","echo":"2030"} 

2024-05-18 19:13:38 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_group_member_list","params":{"group_id":950909053},"echo":"2031"} 

2024-05-18 19:13:38 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"status":"failed","retcode":1400,"data":null,"message":"must have required property 'user_id'","wording":"must have required property 'user_id'","echo":null} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
收到消息 [{"msgId":"7370296300108342055","msgRandom":"239480048","msgSeq":"3207525","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_vwJ71hg9JvatQlbJk5ORkw","peerUid":"531452505","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1716030830","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"青淡","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7370296300108342054","extBufForUI":"0x","textElement":{"content":"中锋?","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"ACG●爱动漫●二次元","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2645590646","peerUin":"531452505","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null}] 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
记录消息到数据库, 消息长id: 7370296300108342055, 短id: -2147473170 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
收到新消息 {"msgId":"7370296300108342055","msgRandom":"239480048","msgSeq":"3207525","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_vwJ71hg9JvatQlbJk5ORkw","peerUid":"531452505","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1716030830","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"青淡","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7370296300108342054","extBufForUI":"0x","textElement":{"content":"中锋?","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"ACG●爱动漫●二次元","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2645590646","peerUin":"531452505","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null,"id":-2147473170} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
收到消息:  {"self_id":3067656659,"user_id":2645590646,"time":1716030830,"message_id":-2147473170,"message_seq":-2147473170,"real_id":-2147473170,"message_type":"group","sender":{"user_id":2645590646,"nickname":"青淡","card":"","role":"member"},"raw_message":"中锋?","font":14,"sub_type":"normal","message":[{"data":{"text":"中锋?"},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"self_id":3067656659,"user_id":2645590646,"time":1716030830,"message_id":-2147473170,"message_seq":-2147473170,"real_id":-2147473170,"message_type":"group","sender":{"user_id":2645590646,"nickname":"青淡","card":"","role":"member"},"raw_message":"中锋?","font":14,"sub_type":"normal","message":[{"data":{"text":"中锋?"},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"self_id":3067656659,"user_id":2645590646,"time":1716030830,"message_id":-2147473170,"message_seq":-2147473170,"real_id":-2147473170,"message_type":"group","sender":{"user_id":2645590646,"nickname":"青淡","card":"","role":"member"},"raw_message":"中锋?","font":14,"sub_type":"normal","message":[{"data":{"text":"中锋?"},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"self_id":3067656659,"user_id":2645590646,"time":1716030830,"message_id":-2147473170,"message_seq":-2147473170,"real_id":-2147473170,"message_type":"group","sender":{"user_id":2645590646,"nickname":"青淡","card":"","role":"member"},"raw_message":"中锋?","font":14,"sub_type":"normal","message":[{"data":{"text":"中锋?"},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
ws 消息上报 ws://xxx:28280/onebot/v11/ws {"self_id":3067656659,"user_id":2645590646,"time":1716030830,"message_id":-2147473170,"message_seq":-2147473170,"real_id":-2147473170,"message_type":"group","sender":{"user_id":2645590646,"nickname":"青淡","card":"","role":"member"},"raw_message":"中锋?","font":14,"sub_type":"normal","message":[{"data":{"text":"中锋?"},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
ws 消息上报  {"self_id":3067656659,"user_id":2645590646,"time":1716030830,"message_id":-2147473170,"message_seq":-2147473170,"real_id":-2147473170,"message_type":"group","sender":{"user_id":2645590646,"nickname":"青淡","card":"","role":"member"},"raw_message":"中锋?","font":14,"sub_type":"normal","message":[{"data":{"text":"中锋?"},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:13:51 [INFO] (3067656659) 
群[ACG●爱动漫●二次元(531452505)] 青淡(2645590646): 中锋?
 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_group_list","params":{},"echo":3744} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"status":"ok","retcode":0,"data":[{"group_id":991915534,"group_name":"一群勾八玩意<$ÿĀ\u0011\u0010>","member_count":51,"max_member_count":200},{"group_id":950909053,"group_name":"Low、超、克里斯缇娜、琳一、の、Need For Speed、Makise Kurisu","member_count":7,"max_member_count":200},{"group_id":768556279,"group_name":"NSG Gaming Club","member_count":185,"max_member_count":500},{"group_id":531452505,"group_name":"ACG●爱动漫●二次元","member_count":981,"max_member_count":1000},{"group_id":826737286,"group_name":"Need For Speed、绪山真寻、Makise Kurisu","member_count":3,"max_member_count":200},{"group_id":557989346,"group_name":"就是这么","member_count":21,"max_member_count":200},{"group_id":628966760,"group_name":"修仙","member_count":21,"max_member_count":200}],"message":"","wording":"","echo":3744} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
收到正向Websocket消息 {"action":"mark_msg_as_read","params":{"message_id":-2147473170},"echo":1826} 

2024-05-18 19:13:51 [DEBUG] (3067656659) 
ws 消息上报  {"status":"ok","retcode":0,"data":null,"message":"","wording":"","echo":1826} 

2024-05-18 19:13:55 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"time":1716030835,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"heartbeat","status":{"online":true,"good":true},"interval":30000} 

2024-05-18 19:13:55 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"time":1716030835,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"heartbeat","status":{"online":true,"good":true},"interval":30000} 

2024-05-18 19:13:55 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"time":1716030835,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"heartbeat","status":{"online":true,"good":true},"interval":30000} 

2024-05-18 19:13:56 [DEBUG] (3067656659) 
ws 消息上报 ws://xxx:28280/onebot/v11/ws {"time":1716030836,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"heartbeat","status":{"online":true,"good":true},"interval":30000} 

2024-05-18 19:13:56 [DEBUG] (3067656659) 
ws 消息上报  {"time":1716030836,"self_id":3067656659,"post_type":"meta_event","meta_event_type":"heartbeat","status":{"online":true,"good":true},"interval":30000} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_group_member_list","params":{"group_id":768556279},"echo":"2032"} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"status":"failed","retcode":1400,"data":null,"message":"must have required property 'user_id'","wording":"must have required property 'user_id'","echo":null} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
收到消息 [{"msgId":"7370296371570544854","msgRandom":"461208027","msgSeq":"3207526","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_J3qCcUaATiANQAtndZQDHw","peerUid":"531452505","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1716030848","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"🍂","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7370296371570544853","extBufForUI":"0x","textElement":{"content":"对","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"ACG●爱动漫●二次元","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"1327301727","peerUin":"531452505","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null}] 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
记录消息到数据库, 消息长id: 7370296371570544854, 短id: -2147473169 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
收到新消息 {"msgId":"7370296371570544854","msgRandom":"461208027","msgSeq":"3207526","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_J3qCcUaATiANQAtndZQDHw","peerUid":"531452505","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1716030848","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"🍂","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7370296371570544853","extBufForUI":"0x","textElement":{"content":"对","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"ACG●爱动漫●二次元","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"1327301727","peerUin":"531452505","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null,"id":-2147473169} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
收到消息:  {"self_id":3067656659,"user_id":1327301727,"time":1716030848,"message_id":-2147473169,"message_seq":-2147473169,"real_id":-2147473169,"message_type":"group","sender":{"user_id":1327301727,"nickname":"🍂","card":"","role":"member"},"raw_message":"","font":14,"sub_type":"normal","message":[{"data":{"text":""},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:2536/OneBotv11 {"self_id":3067656659,"user_id":1327301727,"time":1716030848,"message_id":-2147473169,"message_seq":-2147473169,"real_id":-2147473169,"message_type":"group","sender":{"user_id":1327301727,"nickname":"🍂","card":"","role":"member"},"raw_message":"","font":14,"sub_type":"normal","message":[{"data":{"text":""},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:14514/onebot/v11/ws {"self_id":3067656659,"user_id":1327301727,"time":1716030848,"message_id":-2147473169,"message_seq":-2147473169,"real_id":-2147473169,"message_type":"group","sender":{"user_id":1327301727,"nickname":"🍂","card":"","role":"member"},"raw_message":"","font":14,"sub_type":"normal","message":[{"data":{"text":""},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"self_id":3067656659,"user_id":1327301727,"time":1716030848,"message_id":-2147473169,"message_seq":-2147473169,"real_id":-2147473169,"message_type":"group","sender":{"user_id":1327301727,"nickname":"🍂","card":"","role":"member"},"raw_message":"","font":14,"sub_type":"normal","message":[{"data":{"text":""},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
ws 消息上报 ws://xxx:28280/onebot/v11/ws {"self_id":3067656659,"user_id":1327301727,"time":1716030848,"message_id":-2147473169,"message_seq":-2147473169,"real_id":-2147473169,"message_type":"group","sender":{"user_id":1327301727,"nickname":"🍂","card":"","role":"member"},"raw_message":"","font":14,"sub_type":"normal","message":[{"data":{"text":""},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
ws 消息上报  {"self_id":3067656659,"user_id":1327301727,"time":1716030848,"message_id":-2147473169,"message_seq":-2147473169,"real_id":-2147473169,"message_type":"group","sender":{"user_id":1327301727,"nickname":"🍂","card":"","role":"member"},"raw_message":"","font":14,"sub_type":"normal","message":[{"data":{"text":""},"type":"text"}],"message_format":"array","post_type":"message","group_id":531452505} 

2024-05-18 19:14:08 [INFO] (3067656659) 
群[ACG●爱动漫●二次元(531452505)] 🍂(1327301727): 对
 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
收到反向Websocket消息 {"action":"get_group_list","params":{},"echo":3746} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
ws 消息上报 ws://127.0.0.1:5140/onebot {"status":"ok","retcode":0,"data":[{"group_id":991915534,"group_name":"一群勾八玩意<$ÿĀ\u0011\u0010>","member_count":51,"max_member_count":200},{"group_id":950909053,"group_name":"Low、超、克里斯缇娜、琳一、の、Need For Speed、Makise Kurisu","member_count":7,"max_member_count":200},{"group_id":768556279,"group_name":"NSG Gaming Club","member_count":185,"max_member_count":500},{"group_id":531452505,"group_name":"ACG●爱动漫●二次元","member_count":981,"max_member_count":1000},{"group_id":826737286,"group_name":"Need For Speed、绪山真寻、Makise Kurisu","member_count":3,"max_member_count":200},{"group_id":557989346,"group_name":"就是这么","member_count":21,"max_member_count":200},{"group_id":628966760,"group_name":"修仙","member_count":21,"max_member_count":200}],"message":"","wording":"","echo":3746} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
收到正向Websocket消息 {"action":"mark_msg_as_read","params":{"message_id":-2147473169},"echo":1827} 

2024-05-18 19:14:08 [DEBUG] (3067656659) 
ws 消息上报  {"status":"ok","retcode":0,"data":null,"message":"","wording":"","echo":1827}

OneBot 客户端运行日志

05-18 19:03:39 [SUCCESS] nonebot | OneBot V11 3067656659 | [message.group.normal]: Message -2147473310 from 2247403951@[群:826737286] '真寻签到'
05-18 19:03:39 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.black_word)
05-18 19:03:39 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.mute)
05-18 19:03:39 [INFO] nonebot | Event will be handled by Matcher(type='message', module=basic_plugins.chat_history.chat_message)
05-18 19:03:39 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.parse_bilibili_json)
05-18 19:03:39 [INFO] nonebot | Matcher(type='message', module=plugins.black_word) running complete
05-18 19:03:39 [INFO] nonebot | Matcher(type='message', module=plugins.mute) running complete
05-18 19:03:40 [INFO] nonebot | Matcher(type='message', module=plugins.parse_bilibili_json) running complete
05-18 19:03:40 [INFO] nonebot | Matcher(type='message', module=basic_plugins.chat_history.chat_message) running complete
05-18 19:03:40 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.sign_in)
05-18 19:03:40 [INFO] services | (USER 2247403951, GROUP 826737286) CHECKED IN successfully. score: 10089.33 (+0.60).获取金币:92
05-18 19:03:40 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.fudu)
05-18 19:03:40 [INFO] services | 下载 https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=CgoyNDAxNzcwOTY1EhRsRYjdZD1S9qjHu1s09voKHAgwbBj5_wUg_wooiaz824aXhgNQgL2jAQ&spec=0&rkey=CAMSKMa3OFokB_TlKCmHmTf_p-LLYnAIiFG7pyDR_Q3aw5FP2ftF6IuiG2U 成功.. Path:/home/qqbot/zhenxun_bot/resources/temp/compare_531452505_img.jpg
05-18 19:03:40 [INFO] nonebot | Matcher(type='message', module=plugins.fudu) running complete
05-18 19:03:44 [INFO] nonebot | Matcher(type='message', module=plugins.sign_in) running complete
05-18 19:03:49 [SUCCESS] nonebot | OneBot V11 3067656659 | [message.group.normal]: Message -2147473308 from 3438162106@[群:531452505] '[image:file=A48546B8ADDCEA66723EAFB4254F6A68.jpg,url=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=CgozNDM4...,file_size=97592]'
05-18 19:03:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.black_word)
05-18 19:03:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.mute)
05-18 19:03:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=basic_plugins.chat_history.chat_message)
05-18 19:03:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.parse_bilibili_json)
05-18 19:03:49 [INFO] nonebot | Matcher(type='message', module=plugins.black_word) running complete
05-18 19:03:49 [INFO] nonebot | Matcher(type='message', module=plugins.parse_bilibili_json) running complete
05-18 19:03:49 [INFO] nonebot | Matcher(type='message', module=basic_plugins.chat_history.chat_message) running complete
05-18 19:03:50 [INFO] nonebot | Matcher(type='message', module=plugins.mute) running complete
05-18 19:03:50 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.fudu)
05-18 19:03:51 [INFO] services | 下载 https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=CgozNDM4MTYyMTA2EhRtmEcVQHwP3yyg7LNnm0tGq8l8Vxi4-gUg_woo6KLG4YaXhgNQgL2jAQ&spec=0&rkey=CAMSKMa3OFokB_TlKCmHmTf_p-LLYnAIiFG7pyDR_Q3aw5FP2ftF6IuiG2U 成功.. Path:/home/qqbot/zhenxun_bot/resources/temp/compare_531452505_img.jpg
05-18 19:03:51 [INFO] nonebot | Matcher(type='message', module=plugins.fudu) running complete
05-18 19:03:53 [WARNING] nonebot | OneBot V11 | Error when getting message reply info: NetWorkError(message='WebSocket call api get_msg timeout')
Traceback (most recent call last):

  File "/home/qqbot/zhenxun_bot/bot.py", line 21, in <module>
    nonebot.run()
    │       └ <function run at 0x7f1cee527010><module 'nonebot' from '/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/none...

  File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/nonebot/__init__.py", line 333, in run
    get_driver().run(*args, **kwargs)
    │                 │       └ {}
    │                 └ ()
    └ <function get_driver at 0x7f1cee526e60>
  File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/nonebot/drivers/fastapi.py", line 199, in run
    uvicorn.run(
    │       └ <function run at 0x7f1ced5616c0>
    └ <module 'uvicorn' from '/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/uvic...
  File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/uvicorn/main.py", line 587, in run
    server.run()
    │      └ <function Server.run at 0x7f1ced561870><uvicorn.server.Server object at 0x7f1cd496d210>
  File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
           │       │   │    │             └ None
           │       │   │    └ <function Server.serve at 0x7f1ced561900>
           │       │   └ <uvicorn.server.Server object at 0x7f1cd496d210>
           │       └ <function run at 0x7f1cef4c4160><module 'asyncio' from '/usr/lib/python3.10/asyncio/__init__.py'>
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
           │    │                  └ <coroutine object Server.serve at 0x7f1cd49a8120>
           │    └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects><uvloop.Loop running=True closed=False debug=False>
  File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/nonebot/adapters/onebot/v11/bot.py", line 190, in handle_event
    await _check_reply(self, event)
          │            │     └ GroupMessageEvent(time=1716030202, self_id=3067656659, post_type='message', sub_type='normal', user_id=304102705, message_typ...
          │            └ Bot(type='OneBot V11', self_id='3067656659')
          └ <function _check_reply at 0x7f1cee24d6c0>
> File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/nonebot/adapters/onebot/v11/bot.py", line 34, in _check_reply
    event.reply = Reply.parse_obj(await bot.get_msg(message_id=msg_seg.data["id"]))
    │     │       │     │               │                      │       └ {'id': '-2147473318'}
    │     │       │     │               │                      └ MessageSegment(type='reply', data={'id': '-2147473318'})
    │     │       │     │               └ Bot(type='OneBot V11', self_id='3067656659')
    │     │       │     └ <classmethod(<cyfunction BaseModel.parse_obj at 0x7f1cee8b6400>)>
    │     │       └ <class 'nonebot.adapters.onebot.v11.event.Reply'>
    │     └ None
    └ GroupMessageEvent(time=1716030202, self_id=3067656659, post_type='message', sub_type='normal', user_id=304102705, message_typ...
  File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/nonebot/internal/adapter/bot.py", line 120, in call_api
    raise exception
          └ NetWorkError(message='WebSocket call api get_msg timeout')
  File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/nonebot/internal/adapter/bot.py", line 98, in call_api
    result = await self.adapter._call_api(self, api, **data)
                   │    │       │         │     │      └ {'message_id': '-2147473318'}
                   │    │       │         │     └ 'get_msg'
                   │    │       │         └ Bot(type='OneBot V11', self_id='3067656659')
                   │    │       └ <function Adapter._call_api at 0x7f1cee24f760>
                   │    └ Adapter(name='OneBot V11')
                   └ Bot(type='OneBot V11', self_id='3067656659')
  File "/home/qqbot/.cache/pypoetry/virtualenvs/zhenxun-bot-zvIVWuAT-py3.10/lib/python3.10/site-packages/nonebot/adapters/onebot/v11/adapter.py", line 145, in _call_api
    raise NetworkError(f"WebSocket call api {api} timeout") from None
          └ <class 'nonebot.adapters.onebot.v11.exception.NetworkError'>

nonebot.adapters.onebot.v11.exception.NetworkError: NetWorkError(message='WebSocket call api get_msg timeout')
05-18 19:03:53 [SUCCESS] nonebot | OneBot V11 3067656659 | [message.group.normal]: Message -2147473313 from 304102705@[群:531452505] '[reply:id=-2147473318][at:qq=2594297680] 为了去码头整点薯条'
05-18 19:03:53 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.black_word)
05-18 19:03:53 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.mute)
05-18 19:03:53 [INFO] nonebot | Event will be handled by Matcher(type='message', module=basic_plugins.chat_history.chat_message)
05-18 19:03:53 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.parse_bilibili_json)
05-18 19:03:53 [INFO] nonebot | Matcher(type='message', module=plugins.black_word) running complete
05-18 19:03:53 [INFO] nonebot | Matcher(type='message', module=plugins.mute) running complete
05-18 19:03:53 [INFO] nonebot | Matcher(type='message', module=plugins.parse_bilibili_json) running complete
05-18 19:03:53 [INFO] nonebot | Matcher(type='message', module=basic_plugins.chat_history.chat_message) running complete
05-18 19:03:53 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.fudu)
05-18 19:03:53 [INFO] nonebot | Matcher(type='message', module=plugins.fudu) running complete
05-18 19:03:58 [SUCCESS] nonebot | OneBot V11 3067656659 | [message.group.normal]: Message -2147473307 from 2247403951@[群:826737286] '真寻帮助'
05-18 19:03:58 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.black_word)
05-18 19:03:58 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.mute)
05-18 19:03:58 [INFO] nonebot | Event will be handled by Matcher(type='message', module=basic_plugins.chat_history.chat_message)
05-18 19:03:58 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.parse_bilibili_json)
05-18 19:03:58 [INFO] nonebot | Event will be handled by Matcher(type='message', module=basic_plugins.help)
05-18 19:03:58 [INFO] nonebot | Matcher(type='message', module=plugins.black_word) running complete
05-18 19:03:58 [INFO] nonebot | Matcher(type='message', module=plugins.mute) running complete
05-18 19:03:58 [INFO] nonebot | Matcher(type='message', module=plugins.parse_bilibili_json) running complete
05-18 19:03:58 [INFO] nonebot | Matcher(type='message', module=basic_plugins.chat_history.chat_message) running complete
05-18 19:04:02 [SUCCESS] nonebot | OneBot V11 3067656659 | [message.group.normal]: Message -2147473306 from 1912919591@[群:557989346] '我没问你'
05-18 19:04:02 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.black_word)
05-18 19:04:02 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.mute)
05-18 19:04:02 [INFO] nonebot | Event will be handled by Matcher(type='message', module=basic_plugins.chat_history.chat_message)
05-18 19:04:02 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.parse_bilibili_json)
05-18 19:04:02 [INFO] nonebot | Matcher(type='message', module=plugins.black_word) running complete
05-18 19:04:02 [INFO] nonebot | Matcher(type='message', module=plugins.mute) running complete
05-18 19:04:02 [INFO] nonebot | Matcher(type='message', module=plugins.parse_bilibili_json) running complete
05-18 19:04:02 [INFO] nonebot | Matcher(type='message', module=basic_plugins.chat_history.chat_message) running complete
05-18 19:04:03 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.fudu)
05-18 19:04:03 [INFO] nonebot | Matcher(type='message', module=plugins.fudu) running complete
05-18 19:04:07 [INFO] nonebot | Matcher(type='message', module=basic_plugins.help) running complete
05-18 19:04:07 [SUCCESS] nonebot | OneBot V11 3067656659 | [message.group.normal]: Message -2147473304 from 2247403951@[群:826737286] '真寻'
05-18 19:04:07 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.black_word)
05-18 19:04:07 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.mute)
05-18 19:04:08 [INFO] nonebot | Event will be handled by Matcher(type='message', module=basic_plugins.chat_history.chat_message)
05-18 19:04:08 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.parse_bilibili_json)
05-18 19:04:08 [INFO] nonebot | Matcher(type='message', module=plugins.black_word) running complete

[BUG] 群聊单条消息包含多个图片,napcat.linux获取的全是第一张

系统版本

LXC ubuntu-22.04-standard_22.04-1_amd64

QQNT 版本

Linux 3.2.7-23361

NapCat 版本

1.3.0

OneBot 客户端

自己搓的

发生了什么?

群里发三张不同的图片
image
napcat推送的全部是同一张
可以看下面的日志,url全部相同,但是file_size不同

如何复现

  • 正确安装linux napcat x64
  • 往群里一起发三张图
  • napcat推送的是同一张

期望的结果?

单消息多张图片每张图都正确获取

NapCat 运行日志

2024-05-09 16:33:43 [INFO] -
正在快速登录  XXXXXXXXXX

2024-05-09 16:33:43 [INFO] -
[NapCat]  当前版本: 1.3.0

2024-05-09 16:33:43 [DEBUG] -
[NapCat]  当前已是最新版本

2024-05-09 16:33:44 [DEBUG] -
配置文件/root/NapCat.linux.x64/config/napcat_XXXXXXXXXX.json已加载 {"fileLog":true,"consoleLog":true,"fileLogLevel":"debug","consoleLogLevel":"info"}

2024-05-09 16:33:44 [DEBUG] (XXXXXXXXXX)
本账号数据/缓存目录: /root/.config/QQ/NapCat/data

2024-05-09 16:33:44 [DEBUG] (XXXXXXXXXX)
数据库中消息最大短id -2147472192

2024-05-09 16:33:44 [DEBUG] (XXXXXXXXXX)
ob11 ready

2024-05-09 16:33:44 [DEBUG] (XXXXXXXXXX)
配置文件/root/NapCat.linux.x64/config/onebot11_XXXXXXXXXX.json已加载 {"httpHost":"","enableHttp":true,"httpPort":3100,"wsHost":"","enableWs":false,"wsPort":3101,"enableWsReverse":false,"wsReverseUrls":[],"enableHttpPost":true,"httpPostUrls":["https://XXXXXXXXXX/cqhttp"],"enableHttpHeart":false,"httpSecret":"","messagePostFormat":"string","reportSelfMessage":false,"debug":false,"enableLocalFile2Url":true,"heartInterval":30000,"token":"","musicSignUrl":""}

2024-05-09 16:33:44 [INFO] (XXXXXXXXXX)

    HTTP服务 已启动, :3100
    HTTP上报服务 已启动, 上报地址: https://XXXXXXXXXX/cqhttp
    WebSocket服务 未启动, :3101
    WebSocket反向服务 未启动, 反向地址:


2024-05-09 16:33:44 [DEBUG] (XXXXXXXXXX)
ob11 msg listener added

2024-05-09 16:33:44 [DEBUG] (XXXXXXXXXX)
ob11 buddy listener added

2024-05-09 16:33:44 [DEBUG] (XXXXXXXXXX)
ob11 group listener added

2024-05-09 16:33:44 [INFO] (XXXXXXXXXX)
OneBot V11 server started 0.0.0.0:3100

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
收到消息 [{"msgId":"7367038982273370672","msgRandom":"966944402","msgSeq":"198563","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":3,"sendType":0,"senderUid":"u_y9fscFIGFPHApAf0ojA7zQ","peerUid":"XXXXXXXXXX","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1715272428","msgMeta":"0x","sendStatus":2,"sendRemarkName":"XXXX","sendMemberName":"XXXX","sendNickName":"","guildName":"","channelName":"","elements":[{"elementType":2,"elementId":"7367038982273370668","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":{"picSubType":0,"fileName":"46015B3DCC816FF1C1AB247B76803F9C.png","fileSize":"13984","picWidth":258,"picHeight":70,"original":true,"md5HexStr":"46015b3dcc816ff1c1ab247b76803f9c","sourcePath":"/root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/46015b3dcc816ff1c1ab247b76803f9c.png","thumbPath":{},"transferStatus":0,"progress":0,"picType":1001,"invalidState":0,"fileUuid":"CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB","fileSubId":"","thumbFileSize":0,"fileBizId":null,"downloadIndex":null,"summary":"","emojiFrom":0,"emojiWebUrl":"","emojiAd":{"url":"","desc":""},"emojiMall":{"packageId":0,"emojiId":0},"emojiZplan":{"actionId":0,"actionName":"","actionType":0,"playerNumber":0,"peerUid":"0","bytesReserveInfo":""},"originImageMd5":"undefined","originImageUrl":"/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&spec=0","import_rich_media_context":null,"isFlashPic":null,"storeID":1},"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null},{"elementType":2,"elementId":"7367038982273370669","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":{"picSubType":0,"fileName":"9E60FE21C78C4664F112B00788E7B5F4.png","fileSize":"12319","picWidth":262,"picHeight":64,"original":true,"md5HexStr":"9e60fe21c78c4664f112b00788e7b5f4","sourcePath":"/root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/9e60fe21c78c4664f112b00788e7b5f4.png","thumbPath":{},"transferStatus":0,"progress":0,"picType":1001,"invalidState":0,"fileUuid":"CgoxNjgzMDE3NjMzEhTablwj_lwZZaWkHLXcpsizyMUKQBifYCD_Cii1lcTd_4CGA1CAvaMB","fileSubId":"","thumbFileSize":0,"fileBizId":null,"downloadIndex":null,"summary":"","emojiFrom":0,"emojiWebUrl":"","emojiAd":{"url":"","desc":""},"emojiMall":{"packageId":0,"emojiId":0},"emojiZplan":{"actionId":0,"actionName":"","actionType":0,"playerNumber":0,"peerUid":"0","bytesReserveInfo":""},"originImageMd5":"undefined","originImageUrl":"/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhTablwj_lwZZaWkHLXcpsizyMUKQBifYCD_Cii1lcTd_4CGA1CAvaMB&spec=0","import_rich_media_context":null,"isFlashPic":null,"storeID":1},"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null},{"elementType":2,"elementId":"7367038982273370670","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":{"picSubType":0,"fileName":"3FB6C1D922161C8A6D4E67005BEF9DA7.png","fileSize":"15157","picWidth":290,"picHeight":71,"original":true,"md5HexStr":"3fb6c1d922161c8a6d4e67005bef9da7","sourcePath":"/root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/3fb6c1d922161c8a6d4e67005bef9da7.png","thumbPath":{},"transferStatus":0,"progress":0,"picType":1001,"invalidState":0,"fileUuid":"CgoxNjgzMDE3NjMzEhRAKYB2Cwcns8amEb_Ypc4mWAJ5MRi1diD_CiiH3uDd_4CGA1CAvaMB","fileSubId":"","thumbFileSize":0,"fileBizId":null,"downloadIndex":null,"summary":"","emojiFrom":0,"emojiWebUrl":"","emojiAd":{"url":"","desc":""},"emojiMall":{"packageId":0,"emojiId":0},"emojiZplan":{"actionId":0,"actionName":"","actionType":0,"playerNumber":0,"peerUid":"0","bytesReserveInfo":""},"originImageMd5":"undefined","originImageUrl":"/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhRAKYB2Cwcns8amEb_Ypc4mWAJ5MRi1diD_CiiH3uDd_4CGA1CAvaMB&spec=0","import_rich_media_context":null,"isFlashPic":null,"storeID":1},"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null},{"elementType":1,"elementId":"7367038982273370671","extBufForUI":"0x","textElement":{"content":"图片测试","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"XXXXXXXXXX","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"XXXXXXXXXX","peerUin":"XXXXXXXXXX","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null}]

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
记录消息到数据库, 消息长id: 7367038982273370672, 短id: -2147472191

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
收到新消息 {"msgId":"7367038982273370672","msgRandom":"966944402","msgSeq":"198563","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":3,"sendType":0,"senderUid":"u_y9fscFIGFPHApAf0ojA7zQ","peerUid":"XXXXXXXXXX","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1715272428","msgMeta":"0x","sendStatus":2,"sendRemarkName":"XXXX","sendMemberName":"XXXX","sendNickName":"","guildName":"","channelName":"","elements":[{"elementType":2,"elementId":"7367038982273370668","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":{"picSubType":0,"fileName":"46015B3DCC816FF1C1AB247B76803F9C.png","fileSize":"13984","picWidth":258,"picHeight":70,"original":true,"md5HexStr":"46015b3dcc816ff1c1ab247b76803f9c","sourcePath":"/root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/46015b3dcc816ff1c1ab247b76803f9c.png","thumbPath":{},"transferStatus":0,"progress":0,"picType":1001,"invalidState":0,"fileUuid":"CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB","fileSubId":"","thumbFileSize":0,"fileBizId":null,"downloadIndex":null,"summary":"","emojiFrom":0,"emojiWebUrl":"","emojiAd":{"url":"","desc":""},"emojiMall":{"packageId":0,"emojiId":0},"emojiZplan":{"actionId":0,"actionName":"","actionType":0,"playerNumber":0,"peerUid":"0","bytesReserveInfo":""},"originImageMd5":"undefined","originImageUrl":"/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&spec=0","import_rich_media_context":null,"isFlashPic":null,"storeID":1},"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null},{"elementType":2,"elementId":"7367038982273370669","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":{"picSubType":0,"fileName":"9E60FE21C78C4664F112B00788E7B5F4.png","fileSize":"12319","picWidth":262,"picHeight":64,"original":true,"md5HexStr":"9e60fe21c78c4664f112b00788e7b5f4","sourcePath":"/root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/9e60fe21c78c4664f112b00788e7b5f4.png","thumbPath":{},"transferStatus":0,"progress":0,"picType":1001,"invalidState":0,"fileUuid":"CgoxNjgzMDE3NjMzEhTablwj_lwZZaWkHLXcpsizyMUKQBifYCD_Cii1lcTd_4CGA1CAvaMB","fileSubId":"","thumbFileSize":0,"fileBizId":null,"downloadIndex":null,"summary":"","emojiFrom":0,"emojiWebUrl":"","emojiAd":{"url":"","desc":""},"emojiMall":{"packageId":0,"emojiId":0},"emojiZplan":{"actionId":0,"actionName":"","actionType":0,"playerNumber":0,"peerUid":"0","bytesReserveInfo":""},"originImageMd5":"undefined","originImageUrl":"/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhTablwj_lwZZaWkHLXcpsizyMUKQBifYCD_Cii1lcTd_4CGA1CAvaMB&spec=0","import_rich_media_context":null,"isFlashPic":null,"storeID":1},"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null},{"elementType":2,"elementId":"7367038982273370670","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":{"picSubType":0,"fileName":"3FB6C1D922161C8A6D4E67005BEF9DA7.png","fileSize":"15157","picWidth":290,"picHeight":71,"original":true,"md5HexStr":"3fb6c1d922161c8a6d4e67005bef9da7","sourcePath":"/root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/3fb6c1d922161c8a6d4e67005bef9da7.png","thumbPath":{},"transferStatus":0,"progress":0,"picType":1001,"invalidState":0,"fileUuid":"CgoxNjgzMDE3NjMzEhRAKYB2Cwcns8amEb_Ypc4mWAJ5MRi1diD_CiiH3uDd_4CGA1CAvaMB","fileSubId":"","thumbFileSize":0,"fileBizId":null,"downloadIndex":null,"summary":"","emojiFrom":0,"emojiWebUrl":"","emojiAd":{"url":"","desc":""},"emojiMall":{"packageId":0,"emojiId":0},"emojiZplan":{"actionId":0,"actionName":"","actionType":0,"playerNumber":0,"peerUid":"0","bytesReserveInfo":""},"originImageMd5":"undefined","originImageUrl":"/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhRAKYB2Cwcns8amEb_Ypc4mWAJ5MRi1diD_CiiH3uDd_4CGA1CAvaMB&spec=0","import_rich_media_context":null,"isFlashPic":null,"storeID":1},"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null},{"elementType":1,"elementId":"7367038982273370671","extBufForUI":"0x","textElement":{"content":"图片测试","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null,"recommendedMsgElement":null,"actionBarElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"XXXXXXXXXX","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"XXXXXXXXXX","peerUin":"XXXXXXXXXX","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgEventInfo":null,"id":-2147472191}

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
rkey过期或着未获取, url:/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&spec=0, rkey:

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
获取图片rkey...

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
receive downloadMedia task 7367038982273370672 2 XXXXXXXXXX 7367038982273370668  /root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/46015b3dcc816ff1c1ab247b76803f9c.png 30000 true

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
start downloadMedia 7367038982273370672 2 XXXXXXXXXX 7367038982273370668  /root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/46015b3dcc816ff1c1ab247b76803f9c.png 30000 true

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
downloadMedia complete {"fileModelId":"7367038982273370668","msgElementId":"7367038982273370668","msgId":"7367038982273370672","fileId":"","fileProgress":"0","fileSpeed":"0","fileErrCode":"0","fileErrMsg":"","fileDownType":1,"thumbSize":0,"filePath":"/root/.config/QQ/nt_qq_13ab66d96911192cdc98dffa3c4f21b3/nt_data/Pic/2024-05/Ori/46015b3dcc816ff1c1ab247b76803f9c.png","totalSize":"0","trasferStatus":4,"step":0,"commonFileInfo":null,"fileSrvErrCode":"0","clientMsg":"","businessId":0,"userTotalSpacePerDay":null,"userUsedSpacePerDay":null} 7367038982273370672

2024-05-09 16:33:48 [DEBUG] XXXX(XXXXXXXXXX)
更新消息, shortId:undefined, seq: 198563, msgId: 7367038982273370672

2024-05-09 16:33:49 [DEBUG] XXXX(XXXXXXXXXX)
开始调用moeHook获取rkey

2024-05-09 16:33:49 [DEBUG] XXXX(XXXXXXXXXX)
检查rkey是否有效 https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&spec=0&rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY

2024-05-09 16:33:49 [DEBUG] XXXX(XXXXXXXXXX)
图片rkey有效 https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&spec=0&rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY

2024-05-09 16:33:49 [DEBUG] XXXX(XXXXXXXXXX)
收到消息:  {"self_id":XXXXXXXXXX,"user_id":XXXXXXXXXX,"time":1715272428,"message_id":-2147472191,"message_seq":-2147472191,"real_id":-2147472191,"message_type":"group","sender":{"user_id":XXXXXXXXXX,"nickname":"XXXX","card":"XXXX","role":"owner"},"raw_message":"[CQ:image,file=46015B3DCC816FF1C1AB247B76803F9C.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=13984][CQ:image,file=9E60FE21C78C4664F112B00788E7B5F4.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=...","font":14,"sub_type":"normal","message":"[CQ:image,file=46015B3DCC816FF1C1AB247B76803F9C.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=13984][CQ:image,file=9E60FE21C78C4664F112B00788E7B5F4.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=...","message_format":"string","post_type":"message","group_id":XXXXXXXXXX}

2024-05-09 16:33:49 [INFO] XXXX(XXXXXXXXXX)
群[XXXXXXXXXX(XXXXXXXXXX)] XXXX(XXXXXXXXXX): [CQ:image,file=46015B3DCC816FF1C1AB247B76803F9C.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=13984][CQ:image,file=9E60FE21C78C4664F112B00788E7B5F4.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=12319][CQ:image,file=3FB6C1D922161C8A6D4E67005BEF9DA7.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=15157]图片测试

2024-05-09 16:33:49 [DEBUG] XXXX(XXXXXXXXXX)
新消息事件HTTP上报成功: https://XXXXXXXXXX/cqhttp  {"self_id":XXXXXXXXXX,"user_id":XXXXXXXXXX,"time":1715272428,"message_id":-2147472191,"message_seq":-2147472191,"real_id":-2147472191,"message_type":"group","sender":{"user_id":XXXXXXXXXX,"nickname":"XXXX","card":"XXXX","role":"owner"},"raw_message":"[CQ:image,file=46015B3DCC816FF1C1AB247B76803F9C.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=13984][CQ:image,file=9E60FE21C78C4664F112B00788E7B5F4.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=12319][CQ:image,file=3FB6C1D922161C8A6D4E67005BEF9DA7.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=15157]图片测试","font":14,"sub_type":"normal","message":"[CQ:image,file=46015B3DCC816FF1C1AB247B76803F9C.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=13984][CQ:image,file=9E60FE21C78C4664F112B00788E7B5F4.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=12319][CQ:image,file=3FB6C1D922161C8A6D4E67005BEF9DA7.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAMSKMa3OFokB_TlOIVcQmGhWRjmk7T0m9HXIaNxY22zivLobBufvwg6CFY,file_size=15157]图片测试","message_format":"string","post_type":"message","group_id":XXXXXXXXXX}

2024-05-09 16:33:49 [DEBUG] XXXX(XXXXXXXXXX)
新消息事件HTTP上报返回快速操作:  {}

OneBot 客户端运行日志

192.168.0.103 - - [10/May/2024 00:28:37] "POST /sendmsg HTTP/1.1" 200 -
{'name': 'XXXX', 'msg': '[CQ:image,file=46015B3DCC816FF1C1AB247B76803F9C.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAESKBkcro_MGujoNP1msrP-QY_6JrJGFSPi2Rjb3DzNJAtczAvNhqjAMOw,file_size=13984][CQ:image,file=9E60FE21C78C4664F112B00788E7B5F4.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAESKBkcro_MGujoNP1msrP-QY_6JrJGFSPi2Rjb3DzNJAtczAvNhqjAMOw,file_size=12319][CQ:image,file=3FB6C1D922161C8A6D4E67005BEF9DA7.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAESKBkcro_MGujoNP1msrP-QY_6JrJGFSPi2Rjb3DzNJAtczAvNhqjAMOw,file_size=15157]图片测试'}
[CQ:image,file=46015B3DCC816FF1C1AB247B76803F9C.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAESKBkcro_MGujoNP1msrP-QY_6JrJGFSPi2Rjb3DzNJAtczAvNhqjAMOw,file_size=13984]
[CQ:image,file=9E60FE21C78C4664F112B00788E7B5F4.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAESKBkcro_MGujoNP1msrP-QY_6JrJGFSPi2Rjb3DzNJAtczAvNhqjAMOw,file_size=12319]
[CQ:image,file=3FB6C1D922161C8A6D4E67005BEF9DA7.png,url=https://multimedia.nt.qq.com.cn/download?appid=1407&amp;fileid=CgoxNjgzMDE3NjMzEhTGVp9P7AQ05-ZwEWGDkBjbR8D7ORigbSD_CiiEwsLd_4CGA1CAvaMB&amp;spec=0&amp;rkey=CAESKBkcro_MGujoNP1msrP-QY_6JrJGFSPi2Rjb3DzNJAtczAvNhqjAMOw,file_size=15157]

[BUG] 报错退出FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal

系统版本

Windows Server 2012 R2

QQNT 版本

9.9.9-22868

NapCat 版本

1.1.1

OneBot 客户端

sealdice1.4.5

发生了什么?

正常使用几天后,未知原因突发报错

如何复现

暂无稳定复现流程

期望的结果?

正常运行

NapCat 运行日志

正在记录消息到数据库 xxx
ws 消息上报  {
  self_id: xxx,
  user_id: xxx,
  time: 1714353029,
  message_id: 2545,
  real_id: 2545,
  message_type: 'group',
  sender: { user_id: xxx, nickname: 'xxx', card: '', role: 'admin' },
  raw_message: 'xxx',
  font: 14,
  sub_type: 'normal',
  message: [ { data: [Object], type: 'text' } ],
  message_format: 'array',
  post_type: 'message',
  group_id: xxx
}
FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal
 1: 00007FF6B216D5A6 node::SetTracingController+75334
 2: 00007FF6B216D6E4 node::OnFatalError+276
 3: 00007FF6B5322CE2 v8::Function::NewInstance+1042
 4: 00007FFAF8444737
 5: 00007FFAF7D5517F
 6: 00007FF6B21F0F70 uv_run+1888
 7: 00007FF6B21F0A0B uv_run+507
 8: 00007FF6B21EB036 node::SpinEventLoop+454
 9: 00007FF6B01A0FA7 node::AsyncResource::CallbackScope::~CallbackScope+2167
10: 00007FF6B019D17F std::__Cr::vector<v8::CpuProfileDeoptInfo,std::__Cr::alloca
tor<v8::CpuProfileDeoptInfo> >::vector<v8::CpuProfileDeoptInfo,std::__Cr::alloca
tor<v8::CpuProfileDeoptInfo> >+62735
11: 00007FF6B47F1C12 Cr_z_adler32+4756226
12: 00007FFB0D8913F2 BaseThreadInitThunk+34
13: 00007FFB0D9E5504 RtlUserThreadStart+52
Press any key to continue . . .

OneBot 客户端运行日志

No response

[Feature Request] 更好的配置文件组织方式

RT,现有的配置文件(尤其是onebot.json)的可读性较差,可能可以做个改进?

这里列出几条可行的方式

  • 仍然使用 json,但是重新组织结构,把各个连接配置分开
{
    "http": {
        "enable": false,
        // ...
    },
    "ws": {
        // ...
    }
}
  • 换用其他配置格式,如 toml,yml 等

yobot框架可以用napcatqq接收消息但无法发送消息

系统版本

Ubuntu 20.04

QQNT 版本

Linux QQ 2.3.7-23361

NapCat 版本

NapCat V1.3.0

OneBot 客户端

nonebot

发生了什么?

yobot可以从Napcat的反向websocket中获取消息,但没办法将消息通过Napcat发送出去

如何复现

all

期望的结果?

yobot通过Napcat的反向websocket正常收发消息

NapCat 运行日志

No response

OneBot 客户端运行日志

No response

[BUG] 图片文件下载失败

系统版本

Windows10专业版

QQNT 版本

9.9.9-23361 (64位)

NapCat 版本

1.1.1

OneBot 客户端

1

发生了什么?

写了一个简单的消息转发功能,当NapCat在接收图片信息时下载失败,感觉有点奇怪,很少一部分图片或表情正常转发,很大一部分图片下载失败,如下图就只有最后一个图片没有正常转发

fd0018da2530a9ea4b9d05ead986a9dc
f92ffe8bfcaa9b6213780382526aa8df

如何复现

接收图片时

期望的结果?

正常下载图片并转发

NapCat 运行日志

正在记录消息到数据库 7364158031059186902
ws 消息上报  {
  self_id: 359980882,
  user_id: 1565481748,
  time: 1714601653,
  message_id: 5,
  real_id: 5,
  message_type: 'private',
  sender: { user_id: 1565481748, nickname: '空虚公子', card: '' },
  raw_message: '[CQ:image,file=30E0643C9F194928021EE2787C223D60.png,url=https://gchat.qpic.cn/download?appid=1407&amp;fileid=CgoxNTY1NDgxNzQ4EhTKkkInXYZsUiki0lwZH0r1Tg779Bjni5oBIP4KKITx9_O87YUDUIC7Lw&amp;rkey=CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64&amp;spec=0,file_size=2524647]',
  font: 14,
  sub_type: 'friend',
  message: [ { data: [Object], type: 'image' } ],
  message_format: 'array',
  post_type: 'message'
}
收到正向Websocket消息 {
  action: 'send_group_msg',
  params: {
    group_id: 615383756,
    message: '[CQ:image,url=https://gchat.qpic.cn/download?appid=1407&amp;fileid=CgoxNTY1NDgxNzQ4EhTKkkInXYZsUiki0lwZH0r1Tg779Bjni5oBIP4KKITx9_O87YUDUIC7Lw&amp;rkey=CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64&amp;spec=0,file_size=2524647,file=30E0643C9F194928021EE2787C223D60.png]'
  },
  echo: 3
}
找到文件缓存 https://gchat.qpic.cn/download?appid=1407&fileid=CgoxNTY1NDgxNzQ4EhTKkkInXYZsUiki0lwZH0r1Tg779Bjni5oBIP4KKITx9_O87YUDUIC7Lw&rkey=CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64&spec=0
文件下载失败 https://gchat.qpic.cn/download?appid=1407&fileid=CgoxNTY1NDgxNzQ4EhTKkkInXYZsUiki0lwZH0r1Tg779Bjni5oBIP4KKITx9_O87YUDUIC7Lw&rkey=CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64&spec=0下载失败,Error: 
下载文件失败: Not Found
发生错误 Error: 文件下载失败https://gchat.qpic.cn/download?appid=1407&fileid=CgoxNTY1NDgxNzQ4EhTKkkInXYZsUiki0lwZH0r1Tg779Bjni5oBIP4KKITx9_O87YUDUIC7Lw&rkey=CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64&spec=0下
载失败,Error: 下载文件失败: Not Found
    at Object.seleJ (C:\Users\i\Desktop\NapCat.win32.x64\napcat.cjs:15:195148)
    at $c (C:\Users\i\Desktop\NapCat.win32.x64\napcat.cjs:15:197237)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async lv._handle (C:\Users\i\Desktop\NapCat.win32.x64\napcat.cjs:15:203322)
    at async lv.websocketHandle (C:\Users\i\Desktop\NapCat.win32.x64\napcat.cjs:15:176819)
    at async Om.handleAction (C:\Users\i\Desktop\NapCat.win32.x64\napcat.cjs:23:148351)
ws 消息上报  {
  status: 'failed',
  retcode: 1200,
  data: null,
  message: 'Error: 文件下载失败https://gchat.qpic.cn/download?appid=1407&fileid=CgoxNTY1NDgxNzQ4EhTKkkInXYZsUiki0lwZH0r1Tg779Bjni5oBIP4KKITx9_O87YUDUIC7Lw&rkey=CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64&spec=0下载失败,Error: 下载文件失败: Not Found\n' +
    '    at Object.seleJ (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:15:195148)\n' +
    '    at $c (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:15:197237)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
    '    at async lv._handle (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:15:203322)\n' +
    '    at async lv.websocketHandle (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:15:176819)\n' +
    '    at async Om.handleAction (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:23:148351)',
  wording: 'Error: 文件下载失败https://gchat.qpic.cn/download?appid=1407&fileid=CgoxNTY1NDgxNzQ4EhTKkkInXYZsUiki0lwZH0r1Tg779Bjni5oBIP4KKITx9_O87YUDUIC7Lw&rkey=CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64&spec=0下载失败,Error: 下载文件失败: Not Found\n' +
    '    at Object.seleJ (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:15:195148)\n' +
    '    at $c (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:15:197237)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
    '    at async lv._handle (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:15:203322)\n' +
    '    at async lv.websocketHandle (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:15:176819)\n' +
    '    at async Om.handleAction (C:\\Users\\i\\Desktop\\NapCat.win32.x64\\napcat.cjs:23:148351)',
  echo: 3
}

OneBot 客户端运行日志

No response

[BUG] 真寻漂流瓶插件造成的napcat异常

系统版本

ubuntu22.04 server

QQNT 版本

使用napcat-docker部署,默认未更改

NapCat 版本

4.15号为止的版本(docker去哪里找版本号)

OneBot 客户端

真寻bot

发生了什么?

漂流瓶插件项目地址 https://github.com/molanp/nonebot_zhenxun_plugin_bottle
当使用捡漂流瓶命令时,真寻bot日志报告ws断开连接,手机qq显示Linux客户端离线,仅5G在线。napcat容器日志见下方

如何复现

使用指令 扔漂流瓶+图片
然后再捡漂流瓶 触发
重复两次现象一致

期望的结果?

正常发送图片消息。
如果发送错误在日志打印错误信息。

NapCat 运行日志

235,1781,Read map line: 7ffd9ba5d000-7ffd9ba7e000 rw-p 00000000 00:00 0                          [stack]

 235,1782,Read map line: 7ffd9bb3c000-7ffd9bb40000 r--p 00000000 00:00 0                          [vvar]

 235,1783,Read map line: 7ffd9bb40000-7ffd9bb42000 r-xp 00000000 00:00 0                          [vdso]

 235,1784,Read map line: ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  [vsyscall]

[BuglyService.cpp][handleSignal][382]Stack is succesfully dumped by libUnwind.
[BuglyService.cpp][handleSignal][384]Native stack:
$$00    pc 00000000000969fc    /usr/lib/x86_64-linux-gnu/libc.so.6 (pthread_kill+300) [x86_64::71a3399de893d2af81d6a30c62646e1e]
$$01    pc 0000000000042476    /usr/lib/x86_64-linux-gnu/libc.so.6 (raise+22) [x86_64::71a3399de893d2af81d6a30c62646e1e]
$$02    pc 00000000000287f3    /usr/lib/x86_64-linux-gnu/libc.so.6 (abort+211) [x86_64::71a3399de893d2af81d6a30c62646e1e]
$$03    pc 0000000009c947b2    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$04    pc 0000000009c94896    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$05    pc 000000000387360c    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$06    pc 0000000002465e7f    /opt/QQ/resources/app/wrapper.node [x86_64::de618b7bec5291db0000000000000000]
$$07    pc 000000000227d1f3    /opt/QQ/resources/app/wrapper.node [x86_64::de618b7bec5291db0000000000000000]
$$08    pc 00000000020d2140    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$09    pc 00000000020d0224    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$10    pc 00000000021e1607    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$11    pc 00000000020d0d8f    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$12    pc 000000000225668d    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$13    pc 00000000020d0224    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$14    pc 00000000020d0224    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$15    pc 000000000210fdc2    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$16    pc 00000000021e372d    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$17    pc 00000000020fd4be    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$18    pc 00000000020cdd07    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$19    pc 0000000003997f4e    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$20    pc 0000000003998d9a    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$21    pc 0000000003998f09    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$22    pc 00000000039cac5d    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$23    pc 00000000020d2140    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$24    pc 00005606da6903fe    <unknown>
$$25    pc 00000000020cdddc    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$26    pc 00000000020cdb07    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$27    pc 000000000399803c    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$28    pc 0000000003997d5b    /opt/QQ/qq (_ZN2v88internal9Execution4CallEPNS0_7IsolateENS0_6HandleINS0_6ObjectEEES6_iPS6_+155) [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$29    pc 000000000388c5d9    /opt/QQ/qq (_ZN2v88Function4CallENS_5LocalINS_7ContextEEENS1_INS_5ValueEEEiPS5_+841) [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$30    pc 0000000009bd9871    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$31    pc 0000000009bd9a12    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$32    pc 0000000009beeea0    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$33    pc 0000000009d7b0d7    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$34    pc 0000000009d7cfc7    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$35    pc 0000000009d81db6    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$36    pc 0000000009d8287c    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$37    pc 000000000248baf4    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]
$$38    pc 0000000002490daa    /opt/QQ/qq [x86_64::418b5e6470d9b4ead85fd19f1a6b7c0a]

[BuglyService.cpp][handleSignal][386]Record map file of thread: 11
[BuglyService.cpp][handleSignal][396]Dumping of native stack finished.
 235,0001,Record EupInfo
 235,0002,EupInfo has been recorded.
 235,0003,Record native key-value list.
 235,0004,Native key-value list has been recorded.
 235,0005,Record native log.
 235,0000,Native log has not been initiated.
 235,0006,Native log has been recorded.
[BuglyService.cpp][clearEupInfo][283]Clear eupInfo object.
 235,0005,Try to unlock file: /root/.config/QQ/crash_files//../files/native_record_lock
 235,0006,Successfully unlock file: /root/.config/QQ/crash_files//../files/native_record_lock
[BuglyService.cpp][handleSignal][441]Restored signal handlers.
2024-04-16 02:22:42,432 INFO reaped unknown pid 8 (exit status 1)

OneBot 客户端运行日志

04-16 10:29:25 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete
{'time': 1713234564, 'self_id': --------, 'post_type': 'message', 'sub_type': 'normal', 'user_id': ---------, 'message_type': 'group', 'message_id': 2644, 'message': [{'type': 'text', 'data': {'text': 'pick'}}], 'original_message': [{'type': 'text', 'data': {'text': 'pick'}}], 'raw_message': 'pick', 'font': 14, 'sender': {'user_id': ----------, 'nickname': '---', 'sex': None, 'age': None, 'card': 'ForE(ᗜ ˰ ᗜ)', 'area': None, 'level': None, 'role': 'admin', 'title': None}, 'to_me': False, 'reply': None, 'group_id': --------, 'anonymous': None, 'message_format': 'array', 'real_id': 2644}
04-16 10:29:25 [INFO] nonebot | Matcher <Matcher from my_plugins.intercept_withdraw, type=message, priority=1, temp=False> running complete
04-16 10:29:25 [INFO] nonebot | Event will be handled by <Matcher from my_plugins.nonebot_zhenxun_plugin_bottle, type=message, priority=5, temp=False>
04-16 10:29:25 [WARNING] nonebot | OneBot V11 | WebSocket for Bot ------- closed by peer
04-16 10:29:25 [INFO] websockets | connection closed
04-16 10:29:42 [INFO] uvicorn | ('172.17.0.5', 53740) - "WebSocket /onebot/v11/ws" [accepted]
04-16 10:29:42 [INFO] nonebot | OneBot V11 | Bot -------- connected
04-16 10:29:42 [INFO] websockets | connection open
04-16 10:29:55 [INFO] nonebot | Matcher <Matcher from my_plugins.nonebot_zhenxun_plugin_bottle, type=message, priority=5, temp=False> running complete
04-16 10:29:55 [ERROR] nonebot | Running matcher <Matcher from my_plugins.nonebot_zhenxun_plugin_bottle, type=message, priority=5, temp=False> failed.
Traceback (most recent call last):
  File "/home/zhenxun_bot/bot.py", line 22, in <module>
    nonebot.run()
  File "/usr/local/lib/python3.9/site-packages/nonebot/__init__.py", line 261, in run
    get_driver().run(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/nonebot/drivers/fastapi.py", line 170, in run
    uvicorn.run(
  File "/usr/local/lib/python3.9/site-packages/uvicorn/main.py", line 576, in run
    server.run()
  File "/usr/local/lib/python3.9/site-packages/uvicorn/server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.9/site-packages/nonebot/message.py", line 146, in _check_matcher
    await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
> File "/usr/local/lib/python3.9/site-packages/nonebot/message.py", line 196, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "/usr/local/lib/python3.9/site-packages/nonebot/internal/matcher.py", line 672, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "/usr/local/lib/python3.9/site-packages/nonebot/internal/matcher.py", line 639, in simple_run
    await handler(
  File "/usr/local/lib/python3.9/site-packages/nonebot/dependencies/__init__.py", line 92, in __call__
    return await self.call(**values)
  File "/home/zhenxun_bot/my_plugins/nonebot_zhenxun_plugin_bottle/__init__.py", line 114, in _
    await bot.send_group_forward_msg(group_id=event.group_id, messages=msg_list)
  File "/usr/local/lib/python3.9/site-packages/nonebot/internal/adapter/bot.py", line 117, in call_api
    raise exception
  File "/usr/local/lib/python3.9/site-packages/nonebot/internal/adapter/bot.py", line 94, in call_api
    result = await self.adapter._call_api(self, api, **data)
  File "/usr/local/lib/python3.9/site-packages/nonebot/adapters/onebot/v11/adapter.py", line 136, in _call_api
    raise NetworkError(f"WebSocket call api {api} timeout") from None
nonebot.adapters.onebot.v11.exception.NetworkError: <NetWorkError message=WebSocket call api send_group_forward_msg timeout>

04-16 10:29:42 [INFO] nonebot | OneBot V11 | Bot -------- connected 这里的重连是我重启了napcat容器

[BUG] 下载base64文件时报错

系统版本

CentOS 9 Stream

QQNT 版本

2.3.7-23361

NapCat 版本

1.2.0

OneBot 客户端

Overflow v2.16.0-a799c07-SNAPSHOT

发生了什么?

使用bilibili-dynamic插件订阅查询动态时napCat报错

如何复现

输入命令 /bili new 928123

期望的结果?

正常返回生成的动态图片

NapCat 运行日志

2024-05-06 07:32:24 W/Onebot: Request failed: [send_group_msg] app=NapCat.Onebot v1.2.0, message=Error: 文件下载失败uri !base64://iVBORw0KGgoAAAANSUhEUgAAA+gAAAMRCAYAAAB/[太长了此处省略base64格式]不存在 
    at Object.CcXvz (/usr/src/app/napcat/napcat.cjs:10049:13032)
    at createSendElements (/usr/src/app/napcat/napcat.cjs:10049:19373)
    at async SendGroupMsg._handle (/usr/src/app/napcat/napcat.cjs:10049:31772)
    at async SendGroupMsg.websocketHandle (/usr/src/app/napcat/napcat.cjs:10043:6389)
    at async OB11WebsocketServer.handleAction (/usr/src/app/napcat/napcat.cjs:10660:5664), retJson={"status":"failed","retcode":1200,"data":null,"message":"Error: 文件下载失败uri !base64://iVBORw0KGgoAAAANSUhEUgAAA+gAAAMRCAYAAAB/[太长了此处省略base64格式]

OneBot 客户端运行日志

No response

[BUG] 调用get_group_list时会返回已被踢出/退出的群

系统版本

Windows Server 2022

QQNT 版本

9.9.9-22741

NapCat 版本

1.2.0

OneBot 客户端

nonebot2

发生了什么?

LLOneBot/LLOneBot#193

和这个一样,后续ll修复了

如何复现

退群后调用get_group_list,已退的群还在

期望的结果?

退群后应该不在get_group_list里

NapCat 运行日志

No response

OneBot 客户端运行日志

No response

[BUG] 成功发送了图片但仍然报错

系统版本

win server 2022

QQNT 版本

QQ9.9.9.23361_x64

NapCat 版本

1.3.5

OneBot 客户端

nonebot-adapter-onebot-v11

发生了什么?

bot发送了某条带图片的消息,发送成功了,但是控制台报错

如何复现

发送图片(应该?)

期望的结果?

不报错

NapCat 运行日志

2024-05-19 16:48:49 [DEBUG] 波奇呀波奇(xxxxxx) 
收到反向Websocket消息 {"action":"send_msg","params":{"user_id":xxxxxx,"group_id":xxxxxx,"message_type":"group","message":[{"type":"at","data":{"qq":"xxxxxx"}},{"type":"text","data":{"text":" "}},{"type":"image","data":{"file":"base64:///9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAeoBDgDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NX...","type":null,"cache":"true","proxy":"true","timeout":null}}]},"echo":"256"} 

2024-05-19 16:48:49 [INFO] 波奇呀波奇(2029172546) 
获取文件类型 jpg C:\Users\Administrator\Documents\Tencent Files\NapCat\temp\7276624a-b960-4732-8002-18bde9e51ae0 

2024-05-19 16:48:49 [DEBUG] 波奇呀波奇(xxxxxx) 
图片信息 {"md5HexStr":"b2d9feae5179bf12238742373377a50f","fileSize":"436644","picWidth":1080,"picHeight":1960,"fileName":"7276624a-b960-4732-8002-18bde9e51ae0.jpg","sourcePath":"C:\\Users\\Administrator\\Documents\\Tencent Files\\xxxxxx\\nt_qq\\nt_data\\Pic\\2024-05\\Ori\\b2d9feae5179bf12238742373377a50f.jpg","original":true,"picType":1000,"picSubType":0,"fileUuid":"","fileSubId":"","thumbFileSize":0,"summary":""} 

2024-05-19 16:48:49 [INFO] 波奇呀波奇(xxxxxx) 
发送消息 给群聊 群[fanco(xxxxxx)] : @😘(xxxxxxx) 
[图片]https://gchat.qpic.cn/gchatpic_new/0/0-0-B2D9FEAE5179BF12238742373377A50F/0
 

2024-05-19 16:48:49 [DEBUG] 波奇呀波奇(xxxxxx) 
记录消息到数据库, 消息长id: 7444847292992317995, 短id: -2147453865 

2024-05-19 16:48:49 [DEBUG] 波奇呀波奇(xxxxxx) 
更新消息, shortId:undefined, seq: 22354, msgId: 7444847292992317995 

2024-05-19 16:48:49 [ERROR] 波奇呀波奇(xxxxxx) 
发生错误 {"errno":-4058,"syscall":"unlink","code":"ENOENT","path":"C:\\Users\\Administrator\\Documents\\Tencent Files\\NapCat\\temp\\7276624a-b960-4732-8002-18bde9e51ae0.jpg"} 

2024-05-19 16:48:49 [DEBUG] 波奇呀波奇(xxxxxx) 
ws 消息上报 ws://127.0.0.1:15600/onebot/v11/ws {"status":"failed","retcode":1200,"data":null,"message":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Administrator\\Documents\\Tencent Files\\NapCat\\temp\\7276624a-b960-4732-8002-18bde9e51ae0.jpg'\n    at Object.unlinkSync (node:fs:1883:3)\n    at C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21726:16932\n    at Array.forEach (<anonymous>)\n    at SendMsg._handle (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21726:16898)\n    at async SendMsg.websocketHandle (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21718:8212)\n    at async Revers...","wording":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Administrator\\Documents\\Tencent Files\\NapCat\\temp\\7276624a-b960-4732-8002-18bde9e51ae0.jpg'\n    at Object.unlinkSync (node:fs:1883:3)\n    at C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21726:16932\n    at Array.forEach (<anonymous>)\n    at SendMsg._handle (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21726:16898)\n    at async SendMsg.websocketHandle (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21718:8212)\n    at async Revers...","echo":"256"}

OneBot 客户端运行日志

05-19 16:48:50 [ERROR] nonebot | Running Matcher(type='message', module=LittlePaimon.plugins.star_rail_info, lineno=28) failed.
Traceback (most recent call last):
  File "C:\Users\Administrator\Desktop\LittlePaimon\bot.py", line 42, in <module>
    nonebot.run(app="__mp_main__:app", access_log=False)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 186, in run
    uvicorn.run(
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\uvicorn\main.py", line 575, in run
    server.run()
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\uvicorn\server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
    return runner.run(main)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 640, in run_until_complete
    self.run_forever()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\windows_events.py", line 321, in run_forever
    super().run_forever()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 607, in run_forever
    self._run_once()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 1922, in _run_once
    handle._run()
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\message.py", line 476, in check_and_run_matcher
    await _run_matcher(
> File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\message.py", line 428, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 850, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 825, in simple_run
    await handler(
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\dependencies\__init__.py", line 94, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File "C:\Users\Administrator\Desktop\LittlePaimon\LittlePaimon\plugins\star_rail_info\__init__.py", line 94, in panel_cmd_handler
    await panel_cmd.finish(
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 582, in finish
    await cls.send(message, **kwargs)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 566, in send
    return await bot.send(event=event, message=_message, **kwargs)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\adapters\onebot\v11\bot.py", line 228, in send
    return await self.__class__.send_handler(self, event, message, **kwargs)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\adapters\onebot\v11\bot.py", line 181, in send
    return await bot.send_msg(**params)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\internal\adapter\bot.py", line 122, in call_api
    raise exception
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\internal\adapter\bot.py", line 97, in call_api
    result = await self.adapter._call_api(self, api, **data)
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\adapters\onebot\v11\adapter.py", line 147, in _call_api
    return handle_api_result(await self._result_store.fetch(seq, timeout))
  File "C:\Users\Administrator\Desktop\LittlePaimon\.venv\Lib\site-packages\nonebot\adapters\onebot\v11\utils.py", line 58, in handle_api_result
    raise ActionFailed(**result)
nonebot.adapters.onebot.v11.exception.ActionFailed: ActionFailed(status='failed', retcode=1200, data=None, message="Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Administrator\\Documents\\Tencent Files\\NapCat\\temp\\7276624a-b960-4732-8002-18bde9e51ae0.jpg'\n    at Object.unlinkSync (node:fs:1883:3)\n    at C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21726:16932\n    at Array.forEach (<anonymous>)\n    at SendMsg._handle (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21726:16898)\n    at async SendMsg.websocketHandle (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21718:8212)\n    at async ReverseWebsocket.onmessage (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:22353:6179)\n    at async WebSocket.<anonymous> (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:22353:9567)", wording="Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Administrator\\Documents\\Tencent Files\\NapCat\\temp\\7276624a-b960-4732-8002-18bde9e51ae0.jpg'\n    at Object.unlinkSync (node:fs:1883:3)\n    at C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21726:16932\n    at Array.forEach (<anonymous>)\n    at SendMsg._handle (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21726:16898)\n    at async SendMsg.websocketHandle (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:21718:8212)\n    at async ReverseWebsocket.onmessage (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:22353:6179)\n    at async WebSocket.<anonymous> (C:\\Users\\Administrator\\Desktop\\NapCat\\napcat.cjs:22353:9567)", echo='256')

[BUG] 在 Ubuntu 下启动时报错

系统版本

Ubuntu 18.04.4 LTS

QQNT 版本

linuxqq 3.2.7-22741

NapCat 版本

1.1.1

OneBot 客户端

还没开起来

发生了什么?

bash napcat.sh 后程序启动出错:

TypeError: Cannot read properties of undefined (reading 'replace')
    at new ev (/home/ubuntu/stuff/QQNT/NapCat.linux.x64/napcat.cjs:20:103050)
    at Object.<anonymous> (/home/ubuntu/stuff/QQNT/NapCat.linux.x64/napcat.cjs:20:105084)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at Module._load (node:internal/modules/cjs/loader:967:12)
    at u._load (node:electron/js2c/asar_bundle:2:14589)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:101:12)
    at node:internal/main/run_main_module:23:47

如何复现

配置文件(onebot11_QQ号.json):

{
  "enableHttp": false,
  "httpPort": 3000,
  "enableWs": true,
  "wsPort": 8080,
  "enableWsReverse": false,
  "wsReverseUrls": [],
  "enableHttpPost": false,
  "httpPostUrls": [],
  "enableHttpHeart": false,
  "httpSecret": "",
  "messagePostFormat": "array",
  "reportSelfMessage": false,
  "debug": false,
  "enableLocalFile2Url": true,
  "heartInterval": 30000,
  "token": "一个token"
}

然后 bash napcat.sh

期望的结果?

程序能够正常启动

NapCat 运行日志

No response

OneBot 客户端运行日志

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.