用qq接入的时候报错是怎么回事?
:128: RuntimeWarning: ‘iflow_bot.cli.commands’ found in sys.modules after import of package ‘iflow_bot.cli’, but prior to execution of ‘iflow_bot.cli.commands’; this may result in unpredictable behaviour
启动 ACP 服务 (端口: 8090)…
ACP 服务已在运行 (端口 8090),复用现有进程
✓ 复用现有 ACP 服务 (端口: 8090)
2026-02-26 13:35:40.804 | INFO | iflow_bot.engine.adapter:_init_:137 - IFlowAdapter: mode=acp, workspace=/home/ch/.iflow-bot/workspace, model=glm-5, thinking=False
2026-02-26 13:35:40.804 | INFO | iflow_bot.engine.loop:_init_:71 - AgentLoop initialized with model=glm-5, workspace=/home/ch/.iflow-bot/workspace, streaming=True
Gateway 启动中…
2026-02-26 13:35:40.804 | INFO | iflow_bot.cron.service:_load_store:157 - Loaded 0 cron jobs from storage
2026-02-26 13:35:40.804 | INFO | iflow_bot.cron.service:start:189 - Cron service started with 0 jobs
2026-02-26 13:35:40.805 | INFO | iflow_bot.heartbeat.service:start:106 - Heartbeat service started (interval: 1800s)
2026-02-26 13:35:40.805 | DEBUG | iflow_bot.cron.service:watch_file:210 - Cron: detected file change, reloading…
2026-02-26 13:35:40.805 | INFO | iflow_bot.cron.service:_load_store:157 - Loaded 0 cron jobs from storage
e[1;33m[INFO] (client.py:162)_bot_login e[0m[botpy] 登录机器人账号中…
e[1;33m[INFO] (robot.py:65)update_access_token e[0m[botpy] access_token expires_in 2522
e[1;33m[INFO] (client.py:181)_bot_init e[0m[botpy] 程序启动…
e[1;33m[INFO] (connection.py:60)multi_run e[0m[botpy] 最大并发连接数: 1, 启动会话数: 1
e[1;33m[INFO] (client.py:242)bot_connect e[0m[botpy] 会话启动中…
e[1;33m[INFO] (gateway.py:115)ws_connect e[0m[botpy] 启动中…
e[1;33m[INFO] (gateway.py:142)ws_identify e[0m[botpy] 鉴权中…
e[1;33m[INFO] (gateway.py:85)on_message e[0m[botpy] 机器人「橘雪莉-测试中」启动成功!
e[1;33m[INFO] (gateway.py:223)_send_heart e[0m[botpy] 心跳维持启动…
2026-02-26 13:35:41.806 | INFO | iflow_bot.engine.loop:start_background:416 - AgentLoop started in background
✓ Gateway 运行中!
渠道: qq
心跳: 每 30 分钟
模式: ACP
按 Ctrl+C 停止
2026-02-26 13:35:41.807 | INFO | iflow_bot.engine.loop:run:174 - AgentLoop started, listening for inbound messages…
2026-02-26 13:35:51.809 | DEBUG | iflow_bot.bus.queue:publish_inbound:59 - Published inbound message from qq:06D83942274621AA0239D56878D96275
2026-02-26 13:35:51.809 | INFO | iflow_bot.engine.loop:_process_message:190 - Processing: qq:06D83942274621AA0239D56878D96275
2026-02-26 13:35:51.809 | INFO | iflow_bot.engine.loop:_get_bootstrap_content:87 - BOOTSTRAP.md detected - will inject bootstrap instructions
2026-02-26 13:35:51.809 | INFO | iflow_bot.engine.loop:_process_message:218 - Injected BOOTSTRAP for qq:06D83942274621AA0239D56878D96275
2026-02-26 13:35:51.810 | INFO | iflow_bot.engine.acp:_init_:700 - ACPAdapter: host=localhost, port=8090, workspace=/home/ch/.iflow-bot/workspace
2026-02-26 13:35:51.810 | INFO | iflow_bot.engine.acp:_init_:168 - ACPClient initialized: ws://localhost:8090/acp
2026-02-26 13:35:51.841 | ERROR | iflow_bot.engine.loop:_process_message:246 - Error processing message: Failed to connect to ACP server: server rejected WebSocket connection: HTTP 404
2026-02-26 13:35:51.841 | DEBUG | iflow_bot.bus.queue:publish_outbound:93 - Published outbound message to qq:06D83942274621AA0239D56878D96275

