我看看。
你这个不像是卡片消息。。卡片配置可以看下github主页哈,有教学的
Windows 终端切一下 UTF-8:
先执行一下 chcp 65001
windows 还是用wsl吧。
ok
大佬有更新源代码了么,我这里window运行还是报错了,: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
2026-03-06 16:43:41.352 | INFO | iflow_bot.engine.adapter:_init_:148 - IFlowAdapter: mode=stdio, workspace=C:\Users\admin\.iflow-bot\workspace, model=minimax-m2.5, thinking=False
2026-03-06 16:43:41.352 | INFO | iflow_bot.engine.loop:_init_:82 - AgentLoop initialized with model=minimax-m2.5, workspace=C:\Users\admin\.iflow-bot\workspace, streaming=True
Gateway ������…
2026-03-06 16:43:41.357 | INFO | iflow_bot.cron.service:_load_store:157 - Loaded 0 cron jobs from storage
2026-03-06 16:43:41.357 | INFO | iflow_bot.cron.service:start:189 - Cron service started with 0 jobs
2026-03-06 16:43:41.357 | INFO | iflow_bot.heartbeat.service:start:106 - Heartbeat service started (interval: 1800s)
2026-03-06 16:43:41.358 | DEBUG | iflow_bot.cron.service:watch_file:210 - Cron: detected file change, reloading…
2026-03-06 16:43:41.359 | INFO | iflow_bot.cron.service:_load_store:157 - Loaded 0 cron jobs from storage
2026-03-06 16:43:42.360 | INFO | iflow_bot.engine.loop:start_background:582 - AgentLoop started in background
2026-03-06 16:43:42.360 | INFO | iflow_bot.heartbeat.service:stop:114 - Heartbeat service stopped
2026-03-06 16:43:42.360 | INFO | iflow_bot.cron.service:stop:197 - Cron service stopped
2026-03-06 16:43:42.361 | INFO | iflow_bot.engine.loop:stop:589 - AgentLoop stopped
e[1;33m[WARNING] (feishu.py:365)stop e[0mError stopping WebSocket client: ‘Client’ object has no attribute ‘stop’
±-------------------- Traceback (most recent call last) ---------------------+
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\if |
| low_bot\cli\commands.py:692 in _run_gateway_cmd |
| |
| 689 def _run_gateway_cmd(): |
| 690 “”“�ڲ�������� Gateway��”“” |
| 691 config = load_config() |
| > 692 asyncio.run(_run_gateway(config)) |
| 693 |
| 694 |
| 695 async def _run_gateway(config, verbose: bool = False) → None: |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners. |
| py:204 in run |
| |
| 201 "asyncio.run() cannot be called from a running event loop |
| 202 |
| 203 with Runner(debug=debug, loop_factory=loop_factory) as runner: |
| > 204 return runner.run(main) |
| 205 |
| 206 |
| 207 def _cancel_all_tasks(loop): |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\asyncio\runners. |
| py:127 in run |
| |
| 124 |
| 125 self._interrupt_count = 0 |
| 126 try: |
| > 127 return self._loop.run_until_complete(task) |
| 128 except exceptions.CancelledError: |
| 129 if self._interrupt_count > 0: |
| 130 uncancel = getattr(task, “uncancel”, None) |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\asyncio\base_eve |
| nts.py:719 in run_until_complete |
| |
| 716 if not future.done(): |
| 717 raise RuntimeError('Event loop stopped before Future com |
| 718 |
| > 719 return future.result() |
| 720 |
| 721 def stop(self): |
| 722 “”"Stop running the event loop. |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\if |
| low_bot\cli\commands.py:865 in _run_gateway |
| |
| 862 await agent_loop.start_background() |
| 863 |
| 864 # ��ʾ״̬ |
| > 865 console.print(“[bold green]\u2713 Gateway �����У�[/bold green]”) |
| 866 if channel_manager.enabled_channels: |
| 867 console.print(f"[dim] ����: {', '.join(channel_manager. |
| 868 |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\ri |
| ch\console.py:1697 in print |
| |
| 1694 overflow = “ignore” |
| 1695 crop = False |
| 1696 render_hooks = self._render_hooks[:] |
| > 1697 with self: |
| 1698 renderables = self._collect_renderables( |
| 1699 objects, |
| 1700 sep, |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\ri |
| ch\console.py:870 in _exit_ |
| |
| 867 |
| 868 def _exit_(self, exc_type: Any, exc_value: Any, traceback: Any |
| 869 “”“Exit buffer context.”“” |
| > 870 self._exit_buffer() |
| 871 |
| 872 def begin_capture(self) → None: |
| 873 “”"Begin capturing console output. Call :meth:`end_capture` |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\ri |
| ch\console.py:826 in _exit_buffer |
| |
| 823 def _exit_buffer(self) → None: |
| 824 “”“Leave buffer context, and render content if required.”“” |
| 825 self._buffer_index -= 1 |
| > 826 self._check_buffer() |
| 827 |
| 828 def set_live(self, live: “Live”) → bool: |
| 829 “”"Set Live instance. Used by Live context manager (no need |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\ri |
| ch\console.py:2042 in _check_buffer |
| |
| 2039 return |
| 2040 |
| 2041 try: |
| > 2042 self._write_buffer() |
| 2043 except BrokenPipeError: |
| 2044 self.on_broken_pipe() |
| 2045 |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\ri |
| ch\console.py:2078 in _write_buffer |
| |
| 2075 if self.no_color and self._color_system: |
| 2076 buffer = list(Segment.remove_color(b |
| 2077 |
| > 2078 legacy_windows_render(buffer, LegacyWind |
| 2079 else: |
| 2080 # Either a non-std stream on legacy Wind |
| 2081 text = self._render_buffer(self._buffer[ |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\ri |
| ch\_windows_renderer.py:17 in legacy_windows_render |
| |
| 14 for text, style, control in buffer: |
| 15 if not control: |
| 16 if style: |
| > 17 term.write_styled(text, style) |
| 18 else: |
| 19 term.write_text(text) |
| 20 else: |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\ri |
| ch\_win32_console.py:441 in write_styled |
| |
| 438 SetConsoleTextAttribute( |
| 439 self._handle, attributes=ctypes.c_ushort(fore | (back << |
| 440 ) |
| > 441 self.write_text(text) |
| 442 SetConsoleTextAttribute(self._handle, attributes=self._defaul |
| 443 |
| 444 def move_cursor_to(self, new_position: WindowsCoordinates) → Non |
| |
| C:\Users\admin\AppData\Local\Programs\Python\Python314\Lib\site-packages\ri |
| ch\_win32_console.py:402 in write_text |
| |
| 399 Args: |
| 400 text (str): The text to write to the console |
| 401 “”" |
| > 402 self.write(text) |
| 403 self.flush() |
| 404 |
| 405 def write_styled(self, text: str, style: Style) → None: |
±----------------------------------------------------------------------------+
UnicodeEncodeError: ‘gbk’ codec can’t encode character ‘\u2713’ in position 0:
illegal multibyte sequence
更新最新版本
请问怎么更新版本呢 ,我是用
# 1. 安装 iflow CLI
npm i -g @iflow-ai/iflow-cli@latest
# 2. 登录
iflow
# 3. 安装 iflow-bot
pip install iflow-bot
# 4. 初始化配置
iflow-bot onboard
# 5. 启动!
iflow-bot gateway start 这个步骤安装的
谢啦
pip install -U iflow-bot
更新完了之后,可以尝试启动一下web
iflow-bot console --host 127.0.0.1 --port 8787
然后浏览器打开:
可以了 非常感谢,已经可以建立长连接。
不客气,有问题随时反馈。
使用飞书连接的,进场发出去消息后就没有任何回复或者回复到一半就直接卡住了,原本以为是云端问题,使用tmux也依旧会出现。然后发现哪怕是本地端也是一样的问题。感觉时好时坏~
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Scripts\iflow-bot.exe\__main__.py", line 5, in <module>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\typer\main.py", line 1135, in __call__
return get_command(self)(*args, **kwargs)
│ │ │ └ {}
│ │ └ ()
│ └ <typer.main.Typer object at 0x000001812E930EC0>
└ <function get_command at 0x000001812E6B8FE0>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 1485, in __call__
return self.main(*args, **kwargs)
│ │ │ └ {}
│ │ └ ()
│ └ <function TyperGroup.main at 0x000001812E6B8900>
└ <TyperGroup iflow-bot>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\typer\core.py", line 795, in main
return _main(
└ <function _main at 0x000001812E687560>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\typer\core.py", line 188, in _main
rv = self.invoke(ctx)
│ │ └ <click.core.Context object at 0x000001812E9316A0>
│ └ <function Group.invoke at 0x000001812E62B9C0>
└ <TyperGroup iflow-bot>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 1873, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
│ │ │ │ └ <click.core.Context object at 0x000001812E96DF90>
│ │ │ └ <function Group.invoke at 0x000001812E62B9C0>
│ │ └ <TyperGroup gateway>
│ └ <click.core.Context object at 0x000001812E96DF90>
└ <function Group.invoke.<locals>._process_result at 0x000001812E965C60>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 1873, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
│ │ │ │ └ <click.core.Context object at 0x000001812E96E210>
│ │ │ └ <function Command.invoke at 0x000001812E62A7A0>
│ │ └ <TyperCommand run>
│ └ <click.core.Context object at 0x000001812E96E210>
└ <function Group.invoke.<locals>._process_result at 0x000001812E965DA0>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 1269, in invoke
return ctx.invoke(self.callback, **ctx.params)
│ │ │ │ │ └ {'verbose': False}
│ │ │ │ └ <click.core.Context object at 0x000001812E96E210>
│ │ │ └ <function gateway_run at 0x000001812E9653A0>
│ │ └ <TyperCommand run>
│ └ <function Context.invoke at 0x000001812E6299E0>
└ <click.core.Context object at 0x000001812E96E210>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\click\core.py", line 824, in invoke
return callback(*args, **kwargs)
│ │ └ {'verbose': False}
│ └ ()
└ <function gateway_run at 0x000001812E9653A0>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\typer\main.py", line 1514, in wrapper
return callback(**use_params)
│ └ {'verbose': False}
└ <function gateway_run at 0x000001812E94B6A0>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\cli\commands.py", line 566, in gateway_run
asyncio.run(_run_gateway(config, verbose=verbose))
│ │ │ │ └ False
│ │ │ └ Config(driver=DriverConfig(mode='stdio', iflow_path='iflow', model='glm-5', yolo=True, thinking=True, max_turns=40, timeout=3...
│ │ └ <function _run_gateway at 0x000001812E94B9C0>
│ └ <function run at 0x000001812D1FF2E0>
└ <module 'asyncio' from 'C:\\Users\\29040\\AppData\\Local\\Programs\\Python\\Python313\\Lib\\asyncio\\__init__.py'>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\asyncio\runners.py", line 195, in run
return runner.run(main)
│ │ └ <coroutine object _run_gateway at 0x000001812EA32040>
│ └ <function Runner.run at 0x000001812D291800>
└ <asyncio.runners.Runner object at 0x000001812E931E80>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<_run_gateway() running at C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-p...
│ │ └ <function BaseEventLoop.run_until_complete at 0x000001812D28B380>
│ └ <ProactorEventLoop running=True closed=False debug=False>
└ <asyncio.runners.Runner object at 0x000001812E931E80>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 712, in run_until_complete
self.run_forever()
│ └ <function BaseEventLoop.run_forever at 0x000001812D28B2E0>
└ <ProactorEventLoop running=True closed=False debug=False>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 683, in run_forever
self._run_once()
│ └ <function BaseEventLoop._run_once at 0x000001812D291120>
└ <ProactorEventLoop running=True closed=False debug=False>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 2050, in _run_once
handle._run()
│ └ <function Handle._run at 0x000001812D1B3EC0>
└ <Handle Task.task_wakeup()>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\asyncio\events.py", line 89, in _run
self._context.run(self._callback, *self._args)
│ │ │ │ │ └ <member '_args' of 'Handle' objects>
│ │ │ │ └ <Handle Task.task_wakeup()>
│ │ │ └ <member '_callback' of 'Handle' objects>
│ │ └ <Handle Task.task_wakeup()>
│ └ <member '_context' of 'Handle' objects>
└ <Handle Task.task_wakeup()>
> File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\loop.py", line 281, in _process_message
response = await self._process_with_streaming(msg, message_content)
│ │ │ └ '[message_source]\nchannel: feishu\nchat_id: ou_e6293134282b0415ef0ce6c5288224ef\nsession: feishu:ou_e6293134282b0415ef0ce6c5...
│ │ └ InboundMessage(channel='feishu', sender_id='ou_e6293134282b0415ef0ce6c5288224ef', chat_id='ou_e6293134282b0415ef0ce6c5288224e...
│ └ <function AgentLoop._process_with_streaming at 0x000001812E5505E0>
└ <iflow_bot.engine.loop.AgentLoop object at 0x0000018138975010>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\loop.py", line 542, in _process_with_streaming
raise e
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\loop.py", line 432, in _process_with_streaming
response = await self.adapter.chat_stream(
│ │ └ <function IFlowAdapter.chat_stream at 0x000001812D93B420>
│ └ <iflow_bot.engine.adapter.IFlowAdapter object at 0x0000018138873A10>
└ <iflow_bot.engine.loop.AgentLoop object at 0x0000018138975010>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\adapter.py", line 514, in chat_stream
response = await adapter.chat_stream(
│ └ <function StdioACPAdapter.chat_stream at 0x0000018138A6E5C0>
└ <iflow_bot.engine.stdio_acp.StdioACPAdapter object at 0x0000018138A702F0>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\stdio_acp.py", line 1625, in chat_stream
session_id = await self._get_or_create_session(channel, chat_id, model)
│ │ │ │ └ 'glm-5'
│ │ │ └ 'ou_e6293134282b0415ef0ce6c5288224ef'
│ │ └ 'feishu'
│ └ <function StdioACPAdapter._get_or_create_session at 0x0000018138A6E340>
└ <iflow_bot.engine.stdio_acp.StdioACPAdapter object at 0x0000018138A702F0>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\stdio_acp.py", line 1460, in _get_or_create_session
return await self._create_new_session(key, model)
│ │ │ └ 'glm-5'
│ │ └ 'feishu:ou_e6293134282b0415ef0ce6c5288224ef'
│ └ <function StdioACPAdapter._create_new_session at 0x0000018138A6E3E0>
└ <iflow_bot.engine.stdio_acp.StdioACPAdapter object at 0x0000018138A702F0>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\stdio_acp.py", line 1475, in _create_new_session
session_id = await self._client.create_session(
│ │ └ <function StdioACPClient.create_session at 0x0000018138A6D080>
│ └ <iflow_bot.engine.stdio_acp.StdioACPClient object at 0x0000018138A70440>
└ <iflow_bot.engine.stdio_acp.StdioACPAdapter object at 0x0000018138A702F0>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\stdio_acp.py", line 366, in create_session
result = await self._send_request("session/new", params)
│ │ └ {'cwd': 'C:\\Users\\29040\\.iflow-bot\\workspace', 'mcpServers': [], 'settings': {'permission_mode': 'yolo', 'model': 'glm-5'...
│ └ <function StdioACPClient._send_request at 0x0000018138A6CEA0>
└ <iflow_bot.engine.stdio_acp.StdioACPClient object at 0x0000018138A70440>
File "C:\Users\29040\AppData\Local\Programs\Python\Python313\Lib\site-packages\iflow_bot\engine\stdio_acp.py", line 294, in _send_request
raise StdioACPTimeoutError(f"ACP request timeout: {method}")
│ └ 'session/new'
└ <class 'iflow_bot.engine.stdio_acp.StdioACPTimeoutError'>
iflow_bot.engine.stdio_acp.StdioACPTimeoutError: ACP request timeout: session/new
2026-03-06 18:16:34.181 | DEBUG | iflow_bot.bus.queue:publish_outbound:107 - Published outbound message to feishu:ou_e6293134282b0415ef0ce6c5288224ef
2026-03-06 18:16:34.191 | DEBUG | iflow_bot.session.recorder:record_outbound:171 - [Recorder] Recorded outbound message to feishu/ou_e6293134282b0415ef0ce6c5288224ef-2026-03-06.json
2026-03-06 18:16:34.192 | DEBUG | iflow_bot.engine.stdio_acp:_send_request:281 - StdioACP request: session/new (id=61)
[Lark] [2026-03-06 18:16:40,524] [ERROR] handle message failed, message_type: event, message_id: 65d11925-6a29-4466-a5b4-1904271e3eb9, trace_id: 5347bdc9fe1d5481427f61552b170445, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 65d11925-6a29-4466-a5b4-1904271e3eb9, trace_id: 5347bdc9fe1d5481427f61552b170445, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:16:43,706] [ERROR] handle message failed, message_type: event, message_id: be28916c-8cc3-4aa0-a559-f5f71043611d, trace_id: f88399127a58dd7d61fd959b778be2aa, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: be28916c-8cc3-4aa0-a559-f5f71043611d, trace_id: f88399127a58dd7d61fd959b778be2aa, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:16:52,845] [ERROR] handle message failed, message_type: event, message_id: b495d58f-1393-4f88-8109-ae09cc1ce95f, trace_id: 565664fef7d1afea51a3187b540adb48, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: b495d58f-1393-4f88-8109-ae09cc1ce95f, trace_id: 565664fef7d1afea51a3187b540adb48, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:17:06,074] [ERROR] handle message failed, message_type: event, message_id: dcfc931e-471f-4cb5-9c49-12fcc814e813, trace_id: 31ec74ad0ba4748e77304f3ffc8265ee, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: dcfc931e-471f-4cb5-9c49-12fcc814e813, trace_id: 31ec74ad0ba4748e77304f3ffc8265ee, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:17:08,109] [ERROR] handle message failed, message_type: event, message_id: bacfcfa3-d5ab-4541-8762-1d32484e67f1, trace_id: c71eb5fa506ba3dacf3a81344773202b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: bacfcfa3-d5ab-4541-8762-1d32484e67f1, trace_id: c71eb5fa506ba3dacf3a81344773202b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:17:08,903] [ERROR] handle message failed, message_type: event, message_id: ff2690bc-0d42-4039-abc3-69f94d3983de, trace_id: 565664fef7d1afea51a3187b540adb48, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: ff2690bc-0d42-4039-abc3-69f94d3983de, trace_id: 565664fef7d1afea51a3187b540adb48, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:17:21,788] [ERROR] handle message failed, message_type: event, message_id: a8dcb1f8-bdd5-48d2-80ee-b10467a691bd, trace_id: 31ec74ad0ba4748e77304f3ffc8265ee, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: a8dcb1f8-bdd5-48d2-80ee-b10467a691bd, trace_id: 31ec74ad0ba4748e77304f3ffc8265ee, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:17:23,690] [ERROR] handle message failed, message_type: event, message_id: 445f72a9-fd23-4295-a6f6-50a0a2c47ed0, trace_id: c71eb5fa506ba3dacf3a81344773202b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 445f72a9-fd23-4295-a6f6-50a0a2c47ed0, trace_id: c71eb5fa506ba3dacf3a81344773202b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:18:06,692] [ERROR] handle message failed, message_type: event, message_id: 2f6fc2f7-856a-4c70-a079-e183ffb94ce4, trace_id: ed53dafaec725e1df1d09d744e7be82a, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 2f6fc2f7-856a-4c70-a079-e183ffb94ce4, trace_id: ed53dafaec725e1df1d09d744e7be82a, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:19:47,651] [ERROR] handle message failed, message_type: event, message_id: 9c598265-65b2-4733-bf80-d21e0a49cf18, trace_id: 18f6195a08bb4f91a5499457fcd76a6a, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 9c598265-65b2-4733-bf80-d21e0a49cf18, trace_id: 18f6195a08bb4f91a5499457fcd76a6a, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:21:32,452] [ERROR] handle message failed, message_type: event, message_id: 2e4aaddf-9997-47c2-97de-4b4797d2686a, trace_id: 68f7460bae2788e104d210a342eca00a, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 2e4aaddf-9997-47c2-97de-4b4797d2686a, trace_id: 68f7460bae2788e104d210a342eca00a, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
2026-03-06 18:21:34.194 | ERROR | iflow_bot.heartbeat.service:_tick:149 - Heartbeat execution failed: ACP request timeout: session/new
[Lark] [2026-03-06 18:21:44,520] [ERROR] handle message failed, message_type: event, message_id: 4bb584fe-aa51-4d67-9d37-c524066c51e6, trace_id: f88399127a58dd7d61fd959b778be2aa, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 4bb584fe-aa51-4d67-9d37-c524066c51e6, trace_id: f88399127a58dd7d61fd959b778be2aa, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:22:09,773] [ERROR] handle message failed, message_type: event, message_id: 93ffaa35-9db5-4ffa-9600-7ea29006f7a0, trace_id: 565664fef7d1afea51a3187b540adb48, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 93ffaa35-9db5-4ffa-9600-7ea29006f7a0, trace_id: 565664fef7d1afea51a3187b540adb48, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:22:21,611] [ERROR] handle message failed, message_type: event, message_id: 17e43306-41c0-4d99-8889-956f8f7c74f7, trace_id: 31ec74ad0ba4748e77304f3ffc8265ee, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 17e43306-41c0-4d99-8889-956f8f7c74f7, trace_id: 31ec74ad0ba4748e77304f3ffc8265ee, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:22:23,541] [ERROR] handle message failed, message_type: event, message_id: 442e88a2-fe5f-4cfb-87b4-8be95c434283, trace_id: c71eb5fa506ba3dacf3a81344773202b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 442e88a2-fe5f-4cfb-87b4-8be95c434283, trace_id: c71eb5fa506ba3dacf3a81344773202b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:22:30,977] [ERROR] handle message failed, message_type: event, message_id: c97ecc07-029a-44c8-a89d-5e0d2e95f537, trace_id: 37af0bb5353b1793651bda57524cdebd, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: c97ecc07-029a-44c8-a89d-5e0d2e95f537, trace_id: 37af0bb5353b1793651bda57524cdebd, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:22:31,014] [ERROR] handle message failed, message_type: event, message_id: bd8ee3b7-0ebe-42db-bc66-04679ac1e0ff, trace_id: 37af0bb5353b1793651bda57524cdebd, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: bd8ee3b7-0ebe-42db-bc66-04679ac1e0ff, trace_id: 37af0bb5353b1793651bda57524cdebd, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:23:48,299] [ERROR] handle message failed, message_type: event, message_id: 5d283a92-7d4a-4aad-b8cd-06ce602ab02f, trace_id: 514b9f955436b5095caec4dc3783b899, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 5d283a92-7d4a-4aad-b8cd-06ce602ab02f, trace_id: 514b9f955436b5095caec4dc3783b899, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
2026-03-06 18:30:38.918 | DEBUG | iflow_bot.bus.queue:publish_inbound:68 - Published inbound message from feishu:ou_e6293134282b0415ef0ce6c5288224ef
2026-03-06 18:30:38.938 | DEBUG | iflow_bot.session.recorder:record_inbound:129 - [Recorder] Recorded inbound message to feishu/ou_e6293134282b0415ef0ce6c5288224ef-2026-03-06.json
2026-03-06 18:30:38.938 | INFO | iflow_bot.engine.loop:_process_message:239 - Processing: feishu:ou_e6293134282b0415ef0ce6c5288224ef
2026-03-06 18:30:38.938 | INFO | iflow_bot.engine.loop:_process_message:240 - Inbound detail: channel=feishu chat_id=ou_e6293134282b0415ef0ce6c5288224ef sender=ou_e6293134282b0415ef0ce6c5288224ef msg_type=text
2026-03-06 18:30:38.938 | INFO | iflow_bot.engine.adapter:chat_stream:495 - Chat Stream (Stdio): feishu:ou_e6293134282b0415ef0ce6c5288224ef
[Lark] [2026-03-06 18:31:08,681] [ERROR] handle message failed, message_type: event, message_id: 151f6252-0643-47ea-b8ec-41283ebcdcca, trace_id: e272103ff6877704bf8995c0259ab9f8, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 151f6252-0643-47ea-b8ec-41283ebcdcca, trace_id: e272103ff6877704bf8995c0259ab9f8, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:31:24,577] [ERROR] handle message failed, message_type: event, message_id: d5ec65cd-bb59-4286-b16f-4660e57ecf8f, trace_id: e272103ff6877704bf8995c0259ab9f8, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: d5ec65cd-bb59-4286-b16f-4660e57ecf8f, trace_id: e272103ff6877704bf8995c0259ab9f8, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:36:24,507] [ERROR] handle message failed, message_type: event, message_id: fda3b0b7-fe99-45ac-b72d-3220392e312b, trace_id: e272103ff6877704bf8995c0259ab9f8, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: fda3b0b7-fe99-45ac-b72d-3220392e312b, trace_id: e272103ff6877704bf8995c0259ab9f8, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:43:23,502] [ERROR] handle message failed, message_type: event, message_id: 9ec16a5c-c87b-4bf4-9446-9d7191d55d00, trace_id: 98c3dc00d55d2be04e00250057699a69, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 9ec16a5c-c87b-4bf4-9446-9d7191d55d00, trace_id: 98c3dc00d55d2be04e00250057699a69, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
2026-03-06 18:43:38.420 | DEBUG | iflow_bot.bus.queue:publish_inbound:68 - Published inbound message from feishu:ou_e6293134282b0415ef0ce6c5288224ef
2026-03-06 18:43:38.441 | DEBUG | iflow_bot.session.recorder:record_inbound:129 - [Recorder] Recorded inbound message to feishu/ou_e6293134282b0415ef0ce6c5288224ef-2026-03-06.json
[Lark] [2026-03-06 18:43:38,591] [ERROR] handle message failed, message_type: event, message_id: 7596acbb-af05-4b57-b0aa-c7fab4ceeb89, trace_id: 98c3dc00d55d2be04e00250057699a69, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 7596acbb-af05-4b57-b0aa-c7fab4ceeb89, trace_id: 98c3dc00d55d2be04e00250057699a69, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:45:25,428] [ERROR] handle message failed, message_type: event, message_id: cd17c566-d131-4b16-81c6-1e1489805ac2, trace_id: e13406ed523032e638e079917e2cc57b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: cd17c566-d131-4b16-81c6-1e1489805ac2, trace_id: e13406ed523032e638e079917e2cc57b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:45:40,562] [ERROR] handle message failed, message_type: event, message_id: b4de19ae-39b4-4918-864a-55f58acfa164, trace_id: e13406ed523032e638e079917e2cc57b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: b4de19ae-39b4-4918-864a-55f58acfa164, trace_id: e13406ed523032e638e079917e2cc57b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:46:08,212] [ERROR] handle message failed, message_type: event, message_id: 4dcce298-4a3c-4b23-aa11-32ad5f380348, trace_id: 66bbd38324a180a9829d7672f84ed662, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 4dcce298-4a3c-4b23-aa11-32ad5f380348, trace_id: 66bbd38324a180a9829d7672f84ed662, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:46:24,408] [ERROR] handle message failed, message_type: event, message_id: d2f321aa-5f2f-4bf6-a661-a9b5fa6caebf, trace_id: 66bbd38324a180a9829d7672f84ed662, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: d2f321aa-5f2f-4bf6-a661-a9b5fa6caebf, trace_id: 66bbd38324a180a9829d7672f84ed662, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:48:39,422] [ERROR] handle message failed, message_type: event, message_id: 4ee50e65-b0ca-4ef3-8784-402a0ee49f6c, trace_id: 98c3dc00d55d2be04e00250057699a69, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 4ee50e65-b0ca-4ef3-8784-402a0ee49f6c, trace_id: 98c3dc00d55d2be04e00250057699a69, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:50:40,554] [ERROR] handle message failed, message_type: event, message_id: d7af284b-3865-4185-85d4-66c7e6115620, trace_id: e13406ed523032e638e079917e2cc57b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: d7af284b-3865-4185-85d4-66c7e6115620, trace_id: e13406ed523032e638e079917e2cc57b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:51:24,559] [ERROR] handle message failed, message_type: event, message_id: f9422fd2-793e-48fe-98da-f2e4c987c00e, trace_id: 66bbd38324a180a9829d7672f84ed662, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: f9422fd2-793e-48fe-98da-f2e4c987c00e, trace_id: 66bbd38324a180a9829d7672f84ed662, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
2026-03-06 18:51:34.196 | INFO | iflow_bot.heartbeat.service:_tick:137 - Heartbeat: checking for tasks...
2026-03-06 18:51:34.197 | INFO | iflow_bot.engine.adapter:_chat_stdio:448 - Chat (Stdio): feishu:heartbeat
2026-03-06 18:52:48.291 | DEBUG | iflow_bot.bus.queue:publish_inbound:68 - Published inbound message from feishu:ou_e6293134282b0415ef0ce6c5288224ef
2026-03-06 18:52:48.302 | DEBUG | iflow_bot.session.recorder:record_inbound:129 - [Recorder] Recorded inbound message to feishu/ou_e6293134282b0415ef0ce6c5288224ef-2026-03-06.json
[Lark] [2026-03-06 18:55:56,297] [ERROR] handle message failed, message_type: event, message_id: 35cf53f6-899f-48a7-9561-c4ba7756b343, trace_id: 80b6eddbc77ca5e785f8aae2e8b349a1, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 35cf53f6-899f-48a7-9561-c4ba7756b343, trace_id: 80b6eddbc77ca5e785f8aae2e8b349a1, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:56:12,433] [ERROR] handle message failed, message_type: event, message_id: 9a566a10-61c0-4515-9a53-b028482d1c9d, trace_id: 80b6eddbc77ca5e785f8aae2e8b349a1, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 9a566a10-61c0-4515-9a53-b028482d1c9d, trace_id: 80b6eddbc77ca5e785f8aae2e8b349a1, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[Lark] [2026-03-06 18:56:48,484] [ERROR] handle message failed, message_type: event, message_id: 292b9aff-2cda-4ff9-bbe8-ff70f3e20d0c, trace_id: cdebba8f126dea3ce76ecacae9fa938b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
[ERROR] (client.py:275)_handle_data_frame handle message failed, message_type: event, message_id: 292b9aff-2cda-4ff9-bbe8-ff70f3e20d0c, trace_id: cdebba8f126dea3ce76ecacae9fa938b, err: processor not found, type: im.chat.access_event.bot_p2p_chat_entered_v1 [conn_id=7613982004343131086]
这些错误是什么问题呀
是不是在使用的时候需要开启一个iflow窗口?模型怎么切换?TG里面的命令有点少
不需要
可以发个日志。
Windows 下 stdio 驱动偶发进入无响应状态,session/new 请求超时导致本轮对话失败;飞书 access_event 报错为无关噪声。
这个有无计划未来增加OneBot渠道的,官方QQ开放平台限制好大啊
telegram 没有消息啊
<frozen runpy>: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
e[32m2026-03-07 17:33:08.610e[0m | e[1mINFO e[0m | e[36miflow_bot.config.loadere[0m:e[36mload_confige[0m:e[36m67e[0m - e[1mLoaded config from C:\Users\Administrator\.iflow-bot\config.jsone[0m
C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\__init__.py:113: RequestsDependencyWarning: urllib3 (2.5.0) or chardet (7.0.0)/charset_normalizer (3.4.2) doesn't match a supported version!
warnings.warn(
e[32m2026-03-07 17:33:15.813e[0m | e[1mINFO e[0m | e[36miflow_bot.engine.adaptere[0m:e[36m__init__e[0m:e[36m150e[0m - e[1mIFlowAdapter: mode=stdio, workspace=C:\Users\Administrator\.iflow-bot\workspace, model=minimax-m2.5, thinking=Truee[0m
e[32m2026-03-07 17:33:15.813e[0m | e[1mINFO e[0m | e[36miflow_bot.engine.loope[0m:e[36m__init__e[0m:e[36m82e[0m - e[1mAgentLoop initialized with model=minimax-m2.5, workspace=C:\Users\Administrator\.iflow-bot\workspace, streaming=Truee[0m
Gateway 启动中...
e[32m2026-03-07 17:33:15.820e[0m | e[1mINFO e[0m | e[36miflow_bot.cron.servicee[0m:e[36m_load_storee[0m:e[36m157e[0m - e[1mLoaded 0 cron jobs from storagee[0m
e[32m2026-03-07 17:33:15.821e[0m | e[1mINFO e[0m | e[36miflow_bot.cron.servicee[0m:e[36mstarte[0m:e[36m189e[0m - e[1mCron service started with 0 jobse[0m
e[32m2026-03-07 17:33:15.821e[0m | e[1mINFO e[0m | e[36miflow_bot.heartbeat.servicee[0m:e[36mstarte[0m:e[36m106e[0m - e[1mHeartbeat service started (interval: 1800s)e[0m
e[32m2026-03-07 17:33:15.821e[0m | e[34me[1mDEBUG e[0m | e[36miflow_bot.cron.servicee[0m:e[36mwatch_filee[0m:e[36m210e[0m - e[34me[1mCron: detected file change, reloading...e[0m
e[32m2026-03-07 17:33:15.822e[0m | e[1mINFO e[0m | e[36miflow_bot.cron.servicee[0m:e[36m_load_storee[0m:e[36m157e[0m - e[1mLoaded 0 cron jobs from storagee[0m
e[32m2026-03-07 17:33:15.948e[0m | e[1mINFO e[0m | e[36miflow_bot.channels.telegrame[0m:e[36mstarte[0m:e[36m190e[0m - e[1mStarting Telegram bot (polling mode)...e[0m
e[32m2026-03-07 17:33:16.832e[0m | e[1mINFO e[0m | e[36miflow_bot.engine.loope[0m:e[36mstart_backgrounde[0m:e[36m582e[0m - e[1mAgentLoop started in backgrounde[0m
OK Gateway 运行中!
渠道: telegram
心跳: 每 30 分钟
模式: STDIO
按 Ctrl+C 停止
e[32m2026-03-07 17:33:16.835e[0m | e[1mINFO e[0m | e[36miflow_bot.engine.loope[0m:e[36mrune[0m:e[36m214e[0m - e[1mAgentLoop started, listening for inboune[1;33m[ERROR] (base_events.py:1757)default_exception_handler e[0mTask exception was never retrieved
future: <Task finished name='Task-4' coro=<TelegramChannel.start() done, defined at C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\iflow_bot\channels\telegram.py:158> exception=NetworkError('httpx.ConnectError: All connection attempts failed')>
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_transports\default.py", line 101, in map_httpcore_exceptions
yield
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_transports\default.py", line 394, in handle_async_request
resp = await self._pool.handle_async_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpcore\_async\connection_pool.py", line 256, in handle_async_request
raise exc from None
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpcore\_async\connection_pool.py", line 236, in handle_async_request
response = await connection.handle_async_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpcore\_async\connection.py", line 101, in handle_async_request
raise exc
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpcore\_async\connection.py", line 78, in handle_async_request
stream = await self._connect(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpcore\_async\connection.py", line 124, in _connect
stream = await self._network_backend.connect_tcp(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpcore\_backends\auto.py", line 31, in connect_tcp
return await self._backend.connect_tcp(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpcore\_backends\anyio.py", line 113, in connect_tcp
with map_exceptions(exc_map):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpcore\_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectError: All connection attempts failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\request\_httpxrequest.py", line 279, in do_request
res = await self._client.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1540, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1629, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1657, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1694, in _send_handling_redirects
response = await self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1730, in _send_single_request
response = await transport.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_transports\default.py", line 393, in handle_async_request
with map_httpcore_exceptions():
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_transports\default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: All connection attempts failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\iflow_bot\channels\telegram.py", line 192, in start
await self._app.initialize()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\ext\_application.py", line 489, in initialize
await self.bot.initialize()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\ext\_extbot.py", line 315, in initialize
await super().initialize()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\_bot.py", line 856, in initialize
await self.get_me()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\ext\_extbot.py", line 2007, in get_me
return await super().get_me(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\_bot.py", line 989, in get_me
result = await self._post(
^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\_bot.py", line 703, in _post
return await self._do_post(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\ext\_extbot.py", line 369, in _do_post
return await super()._do_post(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\_bot.py", line 732, in _do_post
result = await request.post(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\request\_baserequest.py", line 198, in post
result = await self._request_wrapper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\request\_baserequest.py", line 305, in _request_wrapper
code, payload = await self.do_request(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telegram\request\_httpxrequest.py", line 303, in do_request
raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err
telegram.error.NetworkError: httpx.ConnectError: All connection attempts failed

