MrXiaoM/Overflow

好友列表拉取为空

Closed this issue · 5 comments

问题描述

拉取好友列表的时候会返回空列表
image

复现

使用 Ariadne 连接 overflow,onebot后端为拉格兰

Overflow 版本

overflow-core-all-2.16.0-6aaea6d-SNAPSHOT-all

其他组件版本

拉格兰 LagrangeDev/Lagrange.Core@baaeaf9
mirai-api-http-2.10.0.mirai2

系统日志

2024-05-30 23:41:54 I/main: Starting mirai-console...
2024-05-30 23:41:54 I/main: 

===================================[ Mirai console 2.16.0 ]===================================
 __       __ __                   __  ______                                      __
|  \     /  \  \                 |  \/      \                                    |  \
| ▓▓\   /  ▓▓\▓▓ ______   ______  \▓▓  ▓▓▓▓▓▓\ ______  _______   _______  ______ | ▓▓ ______
| ▓▓▓\ /  ▓▓▓  \/      \ |      \|  \ ▓▓   \▓▓/      \|       \ /       \/      \| ▓▓/      \
| ▓▓▓▓\  ▓▓▓▓ ▓▓  ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓     |  ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\  ▓▓▓▓▓▓▓  ▓▓▓▓▓▓\ ▓▓  ▓▓▓▓▓▓\
| ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓   \▓▓/      ▓▓ ▓▓ ▓▓   __| ▓▓  | ▓▓ ▓▓  | ▓▓\▓▓    \| ▓▓  | ▓▓ ▓▓ ▓▓    ▓▓
| ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓     |  ▓▓▓▓▓▓▓ ▓▓ ▓▓__/  \ ▓▓__/ ▓▓ ▓▓  | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
| ▓▓  \▓ | ▓▓ ▓▓ ▓▓      \▓▓    ▓▓ ▓▓\▓▓    ▓▓\▓▓    ▓▓ ▓▓  | ▓▓       ▓▓\▓▓    ▓▓ ▓▓\▓▓     \
 \▓▓      \▓▓\▓▓\▓▓       \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓   \▓▓\▓▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓


2024-05-30 23:41:54 I/main: Backend: version 2.16.0, built on 2023-10-20 06:28:10.
2024-05-30 23:41:54 I/main: Frontend Terminal: version 2.16.0, provided by Mamoe Technologies
2024-05-30 23:41:54 I/main: Welcome to visit https://mirai.mamoe.net/
2024-05-30 23:41:55 I/plugin: Successfully loaded plugin mirai-api-http v2.10.0
2024-05-30 23:41:55 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
2024-05-30 23:41:55 I/Mirai HTTP API: ********************************************************
2024-05-30 23:41:55 I/MahKtorAdapter[http,ws]: Autoreload is disabled because the development mode is off.
2024-05-30 23:41:55 I/MahKtorAdapter[http,ws]: Application started in 0.15 seconds.
2024-05-30 23:41:55 I/MahKtorAdapter[http,ws]: Responding at http://localhost:8066
2024-05-30 23:41:55 I/http adapter: >>> [http adapter] is listening at http://localhost:8066
2024-05-30 23:41:55 I/ws adapter: >>> [ws adapter] is listening at ws://localhost:8066
2024-05-30 23:41:55 I/Mirai HTTP API: Http api server is running with verifyKey: xxxxxxxxxx
2024-05-30 23:41:55 I/Mirai HTTP API: adaptors: [http,ws]
2024-05-30 23:41:55 I/Mirai HTTP API: ********************************************************
2024-05-30 23:41:55 I/main: 3 plugin(s) enabled.
2024-05-30 23:41:55 I/main: mirai-console started successfully.
2024-05-30 23:41:55 I/Onebot: Overflow v2.16.0-6aaea6d-SNAPSHOT.1 正在运行
2024-05-30 23:41:55 I/Onebot: 在端口 5140 开启反向 WebSocket 服务端
2024-05-30 23:41:55 I/Onebot: ▌ 反向 WebSocket 服务端已在 0.0.0.0/0.0.0.0:5140 启动
2024-05-30 23:41:55 I/Onebot: ▌ 正在等待客户端连接...
2024-05-30 23:42:00 I/Onebot: ▌ 反向 WebSocket 客户端 /127.0.0.1:53246 已连接 ┈━═☆
2024-05-30 23:42:00 I/Onebot: 服务端版本信息
{
  "status": "ok",
  "retcode": 0,
  "data": {
    "app_name": "Lagrange.OneBot",
    "app_version": "0.0.3",
    "protocol_version": "v11",
    "nt_protocol": "Linux | 3.1.2-13107"
  },
  "echo": 0
}
2024-05-30 23:42:01 V/Bot.2353538071: Event: BotOnlineEvent(bot=Bot(2353538071))
2024-05-30 23:42:04 V/Bot.2353538071: [明日方舟 喵!(569212977)] 蜘蛛(集成战略『萨卡兹的无终奇语』等待中(1648313112) -> [mirai:quote:[mirai:source:ids=[731621297], internalIds=[731621297], from 2013640404 to 0 at 1717083559], content=] 那叫12章[mirai:at:2013640404] 
2024-05-30 23:42:06 V/Bot.2353538071: [这是小说群!(423737545)] 伟大之克苏鲁(1767002755) -> 晚安
2024-05-30 23:42:07 V/Bot.2353538071: [启普发生器喵(835791702)] 骄阳之影(1833309138) -> [mirai:marketface:0,]
2024-05-30 23:42:08 V/Bot.2353538071: [zmg的罗德岛会议室(956640096)] 转如型成如功女如权跳如蛋(1255419047) -> 直接死磕声骸出皮肤
2024-05-30 23:42:08 V/Bot.2353538071: [启普发生器喵(835791702)] 骄阳之影(1833309138) -> 我去
2024-05-30 23:42:12 I/Bot.2353538071: Bot cancelled: Job was cancelled

网络日志

No response

补充信息

2024-05-30.log

系统日志 时间在 截图 的一分钟后,无法判定执行顺序。

我重新拉一下日志,稍等

                _           _             
     /\        (_)         | |            
    /  \   _ __ _  __ _  __| |_ __   ___  
   / /\ \ | '__| |/ _` |/ _` | '_ \ / _ \ 
  / ____ \| |  | | (_| | (_| | | | |  __/ 
 /_/    \_\_|  |_|\__,_|\__,_|_| |_|\___| 
Saya version: 0.0.14
Broadcast version: 0.16.1
Ariadne version: 0.6.16
Scheduler version: 0.0.6
Graiax Silkcoder version: 0.2.8
2024-05-30 23:56:30.433 | INFO     | graia.ariadne.app:launch:1678 - Launching app...
2024-05-30 23:56:30.434 | DEBUG    | graia.ariadne.app:daemon:1573 - Ariadne daemon started.
2024-05-30 23:56:30.498 | INFO     | graia.ariadne.adapter.forward:fetch_cycle:218 - websocket: connected
2024-05-30 23:56:30.498 | INFO     | graia.ariadne.adapter.forward:fetch_cycle:225 - websocket: ping task created
2024-05-30 23:56:30.529 | SUCCESS  | graia.ariadne.adapter.forward:fetch_cycle:234 - Successfully got session key
2024-05-30 23:56:30.530 | SUCCESS  | graia.ariadne.app:daemon:1578 - daemon: adapter started
2024-05-30 23:56:30.542 | SUCCESS  | graia.ariadne.app:launch:1700 - Remote version: 2.10.0
2024-05-30 23:56:30.542 | SUCCESS  | graia.ariadne.app:launch:1703 - Application launched with 0.11s
2024-05-30 23:56:31.986 | INFO     | saya.SystemStatus:cpuStatus:47 - =========================
2024-05-30 23:56:32.001 | INFO     | saya.SystemStatus:cpuStatus:48 - 当前系统:Linux
2024-05-30 23:56:32.021 | INFO     | saya.SystemStatus:cpuStatus:49 - CPU核心数:12
2024-05-30 23:56:32.041 | INFO     | saya.SystemStatus:cpuStatus:50 - 内存:7478MB / 20501MB
2024-05-30 23:56:32.063 | INFO     | saya.SystemStatus:cpuStatus:53 - 硬盘:85253MB / 128441MB
2024-05-30 23:56:32.076 | INFO     | saya.SystemStatus:cpuStatus:54 - 已开始记录 CPU 占用率
2024-05-30 23:56:32.095 | INFO     | saya.SystemStatus:cpuStatus:55 - 已开始记录内存占用率
2024-05-30 23:56:32.111 | INFO     | saya.SystemStatus:cpuStatus:56 - =========================
[]
当前共添加了 0 个好友
2024-05-30 23:56:32.216 | ERROR    | saya.BotEvent:groupDataInit:64 - 当前 2353538071 未添加主人好友(2948531755),请手动添加
2024-05-30 23:56:21 I/main: Starting mirai-console...
2024-05-30 23:56:21 I/main: 

===================================[ Mirai console 2.16.0 ]===================================
 __       __ __                   __  ______                                      __
|  \     /  \  \                 |  \/      \                                    |  \
| ▓▓\   /  ▓▓\▓▓ ______   ______  \▓▓  ▓▓▓▓▓▓\ ______  _______   _______  ______ | ▓▓ ______
| ▓▓▓\ /  ▓▓▓  \/      \ |      \|  \ ▓▓   \▓▓/      \|       \ /       \/      \| ▓▓/      \
| ▓▓▓▓\  ▓▓▓▓ ▓▓  ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓     |  ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\  ▓▓▓▓▓▓▓  ▓▓▓▓▓▓\ ▓▓  ▓▓▓▓▓▓\
| ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓   \▓▓/      ▓▓ ▓▓ ▓▓   __| ▓▓  | ▓▓ ▓▓  | ▓▓\▓▓    \| ▓▓  | ▓▓ ▓▓ ▓▓    ▓▓
| ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓     |  ▓▓▓▓▓▓▓ ▓▓ ▓▓__/  \ ▓▓__/ ▓▓ ▓▓  | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
| ▓▓  \▓ | ▓▓ ▓▓ ▓▓      \▓▓    ▓▓ ▓▓\▓▓    ▓▓\▓▓    ▓▓ ▓▓  | ▓▓       ▓▓\▓▓    ▓▓ ▓▓\▓▓     \
 \▓▓      \▓▓\▓▓\▓▓       \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓   \▓▓\▓▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓


2024-05-30 23:56:21 I/main: Backend: version 2.16.0, built on 2023-10-20 06:28:10.
2024-05-30 23:56:21 I/main: Frontend Terminal: version 2.16.0, provided by Mamoe Technologies
2024-05-30 23:56:21 I/main: Welcome to visit https://mirai.mamoe.net/
2024-05-30 23:56:21 I/plugin: Successfully loaded plugin mirai-api-http v2.10.0
2024-05-30 23:56:21 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
2024-05-30 23:56:21 I/Mirai HTTP API: ********************************************************
2024-05-30 23:56:21 I/MahKtorAdapter[http,ws]: Autoreload is disabled because the development mode is off.
2024-05-30 23:56:22 I/MahKtorAdapter[http,ws]: Application started in 0.164 seconds.
2024-05-30 23:56:22 I/MahKtorAdapter[http,ws]: Responding at http://localhost:8066
2024-05-30 23:56:22 I/http adapter: >>> [http adapter] is listening at http://localhost:8066
2024-05-30 23:56:22 I/ws adapter: >>> [ws adapter] is listening at ws://localhost:8066
2024-05-30 23:56:22 I/Mirai HTTP API: Http api server is running with verifyKey: xxxxxxxx
2024-05-30 23:56:22 I/Mirai HTTP API: adaptors: [http,ws]
2024-05-30 23:56:22 I/Mirai HTTP API: ********************************************************
2024-05-30 23:56:22 I/main: 3 plugin(s) enabled.
2024-05-30 23:56:22 I/main: mirai-console started successfully.
2024-05-30 23:56:22 I/Onebot: Overflow v2.16.0-6aaea6d-SNAPSHOT.1 正在运行
2024-05-30 23:56:22 I/Onebot: 在端口 5140 开启反向 WebSocket 服务端
2024-05-30 23:56:22 I/Onebot: ▌ 反向 WebSocket 服务端已在 0.0.0.0/0.0.0.0:5140 启动
2024-05-30 23:56:22 I/Onebot: ▌ 正在等待客户端连接...
2024-05-30 23:56:25 I/Onebot: ▌ 反向 WebSocket 客户端 /127.0.0.1:54754 已连接 ┈━═☆
2024-05-30 23:56:25 I/Onebot: 服务端版本信息
{
  "status": "ok",
  "retcode": 0,
  "data": {
    "app_name": "Lagrange.OneBot",
    "app_version": "0.0.3",
    "protocol_version": "v11",
    "nt_protocol": "Linux | 3.1.2-13107"
  },
  "echo": 0
}
2024-05-30 23:56:26 V/Bot.2353538071: Event: BotOnlineEvent(bot=Bot(2353538071))
2024-05-30 23:56:28 V/Bot.2353538071: [归归と小布の不可思议暗殺西琳の旅🌟(565942810)] 兰时令月(2116307674) -> 风林火山之飞影必杀术()
2024-05-30 23:56:35 V/Bot.2353538071: [ACG幻想乡(1060314755)] 过去软弱的我已经死了,现在是更加软弱的我(3368723496) -> [overflow:image,url=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=CgozMzY4NzIzNDk2EhS2YiQvCiBDl9S6UGcZ-VBX1EZBCRidngcg_woo-4_cyt61hgNQgL2jAQ&rkey=CAQSKAB6JWENi5LMC_NjGpR5EJV6ux_pfoG_pYLDOOMx--gFcmp8faRVHGk&spec=0]
2024-05-30 23:56:36 I/Onebot: ▌ 反向 WebSocket 客户端连接因 未知原因 已关闭 (关闭码: ABNORMAL_CLOSE)
2024-05-30 23:56:38 I/Bot.2353538071: Bot cancelled: Job was cancelled

2024-05-30.log

api 确实是返回了全部的好友
image

用nonebot直连拉格兰的onebot接口是可以正常拉到全部好友列表的
image

该问题可能已在最新 commit 中解决,请尝试更新到最新版。
同类问题 #54 #52 将会在确认该问题得到解决后一同关闭。
image