RockChinQ / LangBot

[WebUI Beta 测试✨] 😎高稳定、🧩支持扩展、🦄多模态的 ChatGPT QQ / QQ频道 / One Bot 机器人🤖 | 支持 OpenAI GPT、Claude、Gemini Pro、Moonshot(Kimi)、gpt4free、Ollama、dify 的 QQ / QQ频道 / OneBot 机器人 / Agent 平台;原名 QChatGPT
https://docs.langbot.app
GNU Affero General Public License v3.0
4.46k stars 335 forks source link

机器人不回复[BUG] #306

Closed CyberAI-XDU closed 1 year ago

CyberAI-XDU commented 1 year ago

请认真按照实际情况填写以下信息!!!!

运行环境

描述漏洞
自动部署全部设置好之后,运行run-mirai.bat后bot也成功登入,但是不会回复。

完整报错信息

PS D:\gpt> .\run-mirai.bat

D:\gpt>cd mirai/

D:\gpt\mirai>java\bin\java -jar mcl.jar 18:20:30 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 18:20:30 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.6 (arch: 64) 18:20:30 [INFO] https://github.com/iTXTech/mirai-console-loader 18:20:30 [INFO] This program is licensed under GNU AGPL v3 18:20:30 [INFO] Mirai Console Loader Announcement: Mirai Console Loader 公告栏

如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本) - 如 Unsupported image type for ExternalResource * considering use gif/png/bmp/jpg format. `- Tracker: https://github.com/mamoe/mirai/issues/new/choose

常用资源整合 `- https://mirai.mamoe.net/topic/653

MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。

18:20:30 [INFO] Verifying "net.mamoe:mirai-console" v2.14.0 18:20:31 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.14.0 18:20:31 [INFO] Verifying "net.mamoe:mirai-core-all" v2.14.0 18:20:31 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 18:20:31 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1 2023-03-19 18:20:33 I/main: Starting mirai-console... 2023-03-19 18:20:33 I/main:

==================================[ Mirai consosle 2.14.0 ]===================================


| \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ __ __ \▓▓ ▓▓▓▓▓▓\ __ __ | ▓▓ __ | ▓▓▓\ / ▓▓▓ \/ \ | | \ ▓▓ \▓▓/ | \ / \/ | ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓/ \ ▓▓_/ ▓▓ ▓▓ | ▓▓\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓

2023-03-19 18:20:33 I/main: Backend: version 2.14.0, built on 2023-02-06 14:25:21. 2023-03-19 18:20:33 I/main: Frontend Terminal: version 2.14.0, provided by Mamoe Technologies 2023-03-19 18:20:33 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-03-19 18:20:34 W/fix-protocol-version: Mirai版本低于预期,将升级协议版本 2023-03-19 18:20:34 I/plugin: Successfully loaded plugin fix-protocol-version v1.3.0 2023-03-19 18:20:34 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1 2023-03-19 18:20:34 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.9 2023-03-19 18:20:34 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-03-19 18:20:34 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-03-19 18:20:34 I/fix-protocol-version: 当前各协议版本日期: ANDROID_PHONE 8.9.33.10335 2023-01-13T16:51:38+08:00 ANDROID_PAD 8.9.33.10335 2023-01-13T16:51:38+08:00 ANDROID_WATCH 2.0.5 2019-06-03T20:25:31+08:00 IPAD 8.9.33.614 2021-12-31T11:36:26+08:00 MACOS 5.8.9 2020-07-27T15:50:08+08:00

2023-03-19 18:20:34 I/Mirai HTTP API: **** 2023-03-19 18:20:34 I/MahKtorAdapter[ws]: Autoreload is disabled because the development mode is off. 2023-03-19 18:20:34 I/MahKtorAdapter[ws]: Application started in 0.033 seconds. 2023-03-19 18:20:34 I/MahKtorAdapter[ws]: Responding at http://localhost:8080 2023-03-19 18:20:34 I/ws adapter: >>> [ws adapter] is listening at ws://localhost:8080 2023-03-19 18:20:34 I/Mirai HTTP API: Http api server is running with verifyKey: yirimirai 2023-03-19 18:20:34 I/Mirai HTTP API: adaptors: [ws] 2023-03-19 18:20:34 I/Mirai HTTP API: **** 2023-03-19 18:20:34 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2023-03-19 18:20:34 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2023-03-19 18:20:34 I/main: 4 plugin(s) enabled. 2023-03-19 18:20:34 I/main: Auto-login 778103656, protocol: MACOS, heartbeatStrategy: STAT_HB 2023-03-19 18:20:35 I/Bot.778103656: Loaded account secrets from local cache. 2023-03-19 18:20:35 I/Bot.778103656: Saved account secrets to local cache for fast login. 2023-03-19 18:20:35 I/Bot.778103656: Login successful. 2023-03-19 18:20:35 V/Bot.778103656: Event: BotOnlineEvent(bot=Bot(778103656)) 2023-03-19 18:20:35 I/Bot.778103656: Bot login successful. 2023-03-19 18:20:35 I/main: mirai-console started successfully. 2023-03-19 18:24:09 V/Bot.778103656: [gtp(798457591)] 好.(495216149) -> [mirai:at:778103656] !help

da3n1t commented 1 year ago

主程序开了么

---原始邮件--- 发件人: @.> 发送时间: 2023年3月19日(周日) 晚上6:25 收件人: @.>; 抄送: @.***>; 主题: [RockChinQ/QChatGPT] 机器人不回复[BUG] (Issue #306)

请认真按照实际情况填写以下信息!!!!

运行环境

部署方式: 自动部署

系统环境: window11 64

Python环境(仅手动部署填写): Python 3.10.9

描述漏洞 自动部署全部设置好之后,运行run-mirai.bat后bot也成功登入,但是不会回复。

完整报错信息

PS D:\gpt> .\run-mirai.bat

D:\gpt>cd mirai/

D:\gpt\mirai>java\bin\java -jar mcl.jar 18:20:30 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 18:20:30 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.6 (arch: 64) 18:20:30 [INFO] https://github.com/iTXTech/mirai-console-loader 18:20:30 [INFO] This program is licensed under GNU AGPL v3 18:20:30 [INFO] Mirai Console Loader Announcement: Mirai Console Loader 公告栏

如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)

常用资源整合 `- https://mirai.mamoe.net/topic/653

MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。

18:20:30 [INFO] Verifying "net.mamoe:mirai-console" v2.14.0 18:20:31 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.14.0 18:20:31 [INFO] Verifying "net.mamoe:mirai-core-all" v2.14.0 18:20:31 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 18:20:31 [INFO] Verifying "net.mamoe:mirai-api-http" v2.9.1 2023-03-19 18:20:33 I/main: Starting mirai-console... 2023-03-19 18:20:33 I/main:

==================================[ Mirai consosle 2.14.0 ]===================================

| \ / \ \ | / \ |
| ▓▓\ / ▓▓\▓▓ __ __ \▓▓ ▓▓▓▓▓▓\ __ __ | ▓▓ __ | ▓▓▓\ / ▓▓▓ / \ | | \ ▓▓ \▓▓/ | \ / / | ▓▓/
| ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓/ \ ▓▓_/ ▓▓ ▓▓ | ▓▓\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓
\▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓

2023-03-19 18:20:33 I/main: Backend: version 2.14.0, built on 2023-02-06 14:25:21. 2023-03-19 18:20:33 I/main: Frontend Terminal: version 2.14.0, provided by Mamoe Technologies 2023-03-19 18:20:33 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-03-19 18:20:34 W/fix-protocol-version: Mirai版本低于预期,将升级协议版本 2023-03-19 18:20:34 I/plugin: Successfully loaded plugin fix-protocol-version v1.3.0 2023-03-19 18:20:34 I/plugin: Successfully loaded plugin mirai-api-http v2.9.1 2023-03-19 18:20:34 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.9 2023-03-19 18:20:34 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-03-19 18:20:34 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-03-19 18:20:34 I/fix-protocol-version: 当前各协议版本日期: ANDROID_PHONE 8.9.33.10335 2023-01-13T16:51:38+08:00 ANDROID_PAD 8.9.33.10335 2023-01-13T16:51:38+08:00 ANDROID_WATCH 2.0.5 2019-06-03T20:25:31+08:00 IPAD 8.9.33.614 2021-12-31T11:36:26+08:00 MACOS 5.8.9 2020-07-27T15:50:08+08:00

2023-03-19 18:20:34 I/Mirai HTTP API: **** 2023-03-19 18:20:34 I/MahKtorAdapter[ws]: Autoreload is disabled because the development mode is off. 2023-03-19 18:20:34 I/MahKtorAdapter[ws]: Application started in 0.033 seconds. 2023-03-19 18:20:34 I/MahKtorAdapter[ws]: Responding at http://localhost:8080 2023-03-19 18:20:34 I/ws adapter: >>> [ws adapter] is listening at ws://localhost:8080 2023-03-19 18:20:34 I/Mirai HTTP API: Http api server is running with verifyKey: yirimirai 2023-03-19 18:20:34 I/Mirai HTTP API: adaptors: [ws] 2023-03-19 18:20:34 I/Mirai HTTP API: **** 2023-03-19 18:20:34 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2023-03-19 18:20:34 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2023-03-19 18:20:34 I/main: 4 plugin(s) enabled. 2023-03-19 18:20:34 I/main: Auto-login 778103656, protocol: MACOS, heartbeatStrategy: STAT_HB 2023-03-19 18:20:35 I/Bot.778103656: Loaded account secrets from local cache. 2023-03-19 18:20:35 I/Bot.778103656: Saved account secrets to local cache for fast login. 2023-03-19 18:20:35 I/Bot.778103656: Login successful. 2023-03-19 18:20:35 V/Bot.778103656: Event: BotOnlineEvent(bot=Bot(778103656)) 2023-03-19 18:20:35 I/Bot.778103656: Bot login successful. 2023-03-19 18:20:35 I/main: mirai-console started successfully. 2023-03-19 18:24:09 V/Bot.778103656: [gtp(798457591)] 好.(495216149) -> [mirai:at:778103656] !help

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>