2026-04-14 15:24:35,687 WARNING gateway.run: Unauthorized user: 7547040613 (究竟涅槃) on telegram 2026-04-14 15:27:16,695 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-14 15:36:41,389 WARNING gateway.run: Unauthorized user: o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat (o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat) on weixin 2026-04-14 15:38:56,615 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-14 15:41:08,850 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-15 08:47:43,968 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-15 08:53:44,917 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-15 11:25:49,755 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-15 13:38:18,492 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-16 08:41:25,707 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-16 09:49:35,903 WARNING agent.auxiliary_client: Auxiliary title_generation: connection error on auto and no fallback available (tried: openrouter, nous, local/custom, openai-codex, api-key) 2026-04-16 15:07:14,721 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-04-16 15:07:14,784 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-04-17 11:51:36,630 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-04-17 12:04:36,469 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-04-17 12:07:47,076 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-04-17 12:08:54,113 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-04-17 12:35:13,099 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-04-23 14:08:28,578 WARNING gateway.run: Unrecognized slash command /tts from weixin — replying with unknown-command notice 2026-04-23 16:55:40,988 ERROR [20260423_165539_2b8c83] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '0639118c40288e60e72d3c581cc16ccd'} 2026-04-23 17:37:39,795 ERROR [20260423_173738_cbbcc1] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '06391b638b2286a37941ae5b5ac498bf'} 2026-04-24 17:10:11,364 ERROR [20260424_170026_9c5f5c] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid api key'}, 'request_id': '063a6673988ed2b2b9d15aadba78ecab'} 2026-04-24 17:10:24,819 ERROR [20260424_170026_9c5f5c] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid api key'}, 'request_id': '063a6680695fa1b8d705f6d74fad9fcd'} 2026-04-24 17:13:15,435 ERROR [20260424_170026_9c5f5c] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid api key'}, 'request_id': '063a672b6985b4f6f10783d968ca3797'} 2026-04-24 17:14:50,419 ERROR [20260424_170026_9c5f5c] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid api key'}, 'request_id': '063a678ac99baa2d004389a03a4e0a97'} 2026-04-24 17:18:54,470 ERROR [20260424_171845_07c94c] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid api key'}, 'request_id': '063a687ef679a5a8bd083b797eefbf07'} 2026-04-24 17:20:54,717 ERROR [20260424_171845_07c94c] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid api key'}, 'request_id': '063a68f62b16cf69639e636da9ca87b1'} 2026-04-24 17:25:24,038 ERROR [20260424_170026_9c5f5c] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid api key'}, 'request_id': '063a6a03a1c8834a8f09d6d88f455597'} 2026-04-24 17:26:57,700 WARNING [20260424_170026_9c5f5c] agent.auxiliary_client: resolve_provider_client: openrouter requested but OPENROUTER_API_KEY not set 2026-04-24 17:26:58,356 ERROR [20260424_170026_9c5f5c] root: Non-retryable client error: Error code: 401 - {'error': {'message': 'No cookie auth credentials found', 'code': 401}} 2026-04-24 17:52:41,870 ERROR asyncio: unhandled exception during asyncio.run() shutdown task: exception=OSError(5, 'Input/output error')> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/asyncio/base_events.py", line 640, in run_until_complete self.run_forever() File "/usr/lib64/python3.11/asyncio/base_events.py", line 607, in run_forever self._run_once() File "/usr/lib64/python3.11/asyncio/base_events.py", line 1884, in _run_once event_list = self._selector.select(timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/selectors.py", line 468, in select fd_event_list = self._selector.poll(timeout, max_ev) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/cli.py", line 9660, in _signal_handler raise KeyboardInterrupt() KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 746, in _run_async result = await f ^^^^^^^ asyncio.exceptions.CancelledError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 886, in run_async return await _run_async(f) ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 751, in _run_async self._redraw(render_as_done=True) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 543, in _redraw self.context.copy().run(run_in_context) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 524, in run_in_context self.renderer.render(self, self.layout, is_done=render_as_done) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/renderer.py", line 732, in render self.reset() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/renderer.py", line 429, in reset self.output.flush() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/output/vt100.py", line 706, in flush flush_stdout(self.stdout, data) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/output/flush_stdout.py", line 37, in flush_stdout stdout.flush() OSError: [Errno 5] Input/output error 2026-04-24 18:28:18,837 WARNING gateway.run: Gateway drain timed out after 60.0s with 1 active agent(s); interrupting remaining work. 2026-04-27 23:22:30,697 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-04-27 23:22:30,759 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-04-27 23:26:45,286 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-04-27 23:26:45,287 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-04-28 10:25:57,180 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: '' 2026-04-28 10:25:57,182 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: '' 2026-04-29 08:45:02,963 ERROR [20260429_084437_2319720e] tools.vision_tools: Error analyzing image: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '0640878e9f78828d1e5a45f4ac86ab5e'} Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/vision_tools.py", line 575, in vision_analyze_tool response = await async_call_llm(**call_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/agent/auxiliary_client.py", line 2577, in async_call_llm await client.chat.completions.create(**kwargs), task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/resources/chat/completions/completions.py", line 2714, in create return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1913, in post return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1698, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '0640878e9f78828d1e5a45f4ac86ab5e'} 2026-04-29 08:47:01,626 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: '' 2026-04-29 08:47:01,627 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: '' 2026-04-29 08:47:02,831 ERROR [20260429_084701_87e8e3] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '06408806926642bb730e2ccc07986f35'} 2026-05-03 14:25:38,018 ERROR [20260503_142536_911900] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '06461d616b1b18876cd51706fdeade10'} 2026-05-06 15:58:05,995 ERROR [20260506_155803_66148c] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064a278db7528260504e36fada530e9d'} 2026-05-07 12:09:33,200 WARNING [20260507_085259_c2d72603] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '2fb7d1bf-a985-930e-a633-08d796b64591'}. Further summary attempts paused for 600 seconds. 2026-05-07 16:45:56,316 ERROR [20260507_164554_a1ad4f] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064b8444ef0ed176f78b792e88b7f8be'} 2026-05-07 16:50:27,182 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-05-07 16:54:15,861 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-05-07 17:27:19,340 WARNING [20260507_120933_871b24] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '77b019ab-1644-9b5e-a280-eeb17e22da7f'}. Further summary attempts paused for 600 seconds. 2026-05-07 17:28:40,580 ERROR [20260507_172839_444392] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064b8e48a973d70f3919cd06946dfcea'} 2026-05-07 17:34:29,336 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-05-07 18:05:00,905 ERROR gateway.run: Agent idle for 1804s (timeout 1800s) in session agent:main:weixin:dm:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat | last_activity=executing tool: terminal | iteration=2/90 | tool=terminal 2026-05-08 06:51:38,689 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: '' 2026-05-08 06:51:38,694 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: '' 2026-05-08 07:48:14,061 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: Bad Gateway 2026-05-08 07:48:14,086 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: Bad Gateway 2026-05-08 07:48:19,610 ERROR telegram.ext.Updater: Error while calling `get_updates` one more time to mark all fetched updates. Suppressing error to ensure graceful shutdown. When polling for updates is restarted, updates may be fetched again. Please adjust timeouts via `ApplicationBuilder` or the parameter `get_updates_request` of `Bot`. Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_updater.py", line 400, in _get_updates_cleanup await self.bot.get_updates( File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 672, in get_updates updates = await super().get_updates( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 4865, in get_updates await self._post( File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 375, in _request_wrapper raise exception telegram.error.NetworkError: Bad Gateway 2026-05-08 07:48:20,712 ERROR telegram.ext: Network Retry Loop (Bootstrap delete Webhook): Failed run number 0 of 0. Aborting. Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop await do_action() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 136, in do_action await action_cb() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_updater.py", line 686, in bootstrap_del_webhook await self.bot.delete_webhook(drop_pending_updates=drop_pending_updates) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 1490, in delete_webhook return await super().delete_webhook( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 5037, in delete_webhook return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 375, in _request_wrapper raise exception telegram.error.NetworkError: Bad Gateway 2026-05-08 07:48:20,732 WARNING gateway.platforms.telegram: [Telegram] Telegram polling reconnect failed: Bad Gateway 2026-05-08 07:48:20,736 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 2/10), reconnecting in 10s. Error: Bad Gateway 2026-05-08 07:48:51,259 ERROR telegram.ext: Network Retry Loop (Bootstrap delete Webhook): Timed out: Timed out. Failed run number 0 of 0. Aborting. Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection.py", line 103, in handle_async_request return await self._connection.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 136, in handle_async_request raise exc File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 106, in handle_async_request ) = await self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 177, in _receive_response_headers event = await self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 217, in _receive_event data = await self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_backends/anyio.py", line 32, in read with map_exceptions(exc_map): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop await do_action() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 136, in do_action await action_cb() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_updater.py", line 686, in bootstrap_del_webhook await self.bot.delete_webhook(drop_pending_updates=drop_pending_updates) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 1490, in delete_webhook return await super().delete_webhook( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 5037, in delete_webhook return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request raise TimedOut from err telegram.error.TimedOut: Timed out 2026-05-08 07:48:51,374 WARNING gateway.platforms.telegram: [Telegram] Telegram polling reconnect failed: Timed out 2026-05-08 07:48:51,375 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 3/10), reconnecting in 20s. Error: Timed out 2026-05-08 07:49:31,888 ERROR telegram.ext: Network Retry Loop (Bootstrap delete Webhook): Timed out: Timed out. Failed run number 0 of 0. Aborting. Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection.py", line 103, in handle_async_request return await self._connection.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 136, in handle_async_request raise exc File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 106, in handle_async_request ) = await self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 177, in _receive_response_headers event = await self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 217, in _receive_event data = await self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_backends/anyio.py", line 32, in read with map_exceptions(exc_map): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop await do_action() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 136, in do_action await action_cb() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_updater.py", line 686, in bootstrap_del_webhook await self.bot.delete_webhook(drop_pending_updates=drop_pending_updates) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 1490, in delete_webhook return await super().delete_webhook( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 5037, in delete_webhook return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request raise TimedOut from err telegram.error.TimedOut: Timed out 2026-05-08 07:49:31,897 WARNING gateway.platforms.telegram: [Telegram] Telegram polling reconnect failed: Timed out 2026-05-08 07:49:31,898 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 4/10), reconnecting in 40s. Error: Timed out 2026-05-08 07:50:32,402 ERROR telegram.ext: Network Retry Loop (Bootstrap delete Webhook): Timed out: Timed out. Failed run number 0 of 0. Aborting. Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection.py", line 103, in handle_async_request return await self._connection.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 136, in handle_async_request raise exc File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 106, in handle_async_request ) = await self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 177, in _receive_response_headers event = await self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 217, in _receive_event data = await self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_backends/anyio.py", line 32, in read with map_exceptions(exc_map): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop await do_action() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 136, in do_action await action_cb() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_updater.py", line 686, in bootstrap_del_webhook await self.bot.delete_webhook(drop_pending_updates=drop_pending_updates) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 1490, in delete_webhook return await super().delete_webhook( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 5037, in delete_webhook return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request raise TimedOut from err telegram.error.TimedOut: Timed out 2026-05-08 07:50:32,410 WARNING gateway.platforms.telegram: [Telegram] Telegram polling reconnect failed: Timed out 2026-05-08 07:50:32,410 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 5/10), reconnecting in 60s. Error: Timed out 2026-05-08 08:26:43,779 ERROR gateway.run: Agent idle for 1805s (timeout 1800s) in session agent:main:weixin:dm:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat | last_activity=executing tool: terminal | iteration=2/90 | tool=terminal 2026-05-08 08:57:51,494 ERROR gateway.run: Agent idle for 1801s (timeout 1800s) in session agent:main:weixin:dm:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat | last_activity=executing tool: terminal | iteration=3/90 | tool=terminal 2026-05-08 09:14:22,745 WARNING [20260508_090604_b9d4c8] root: Session summarization failed after 3 attempts: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064c6bee9bbfa9ddb35b8c8744c20647'} Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/session_search_tool.py", line 205, in _summarize_session response = await async_call_llm( ^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/agent/auxiliary_client.py", line 2577, in async_call_llm await client.chat.completions.create(**kwargs), task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/resources/chat/completions/completions.py", line 2714, in create return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1913, in post return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1698, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064c6bee9bbfa9ddb35b8c8744c20647'} 2026-05-08 09:14:22,898 WARNING [20260508_090604_b9d4c8] root: Session summarization failed after 3 attempts: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064c6bee6f38b66d6f7dfb908eadf424'} Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/session_search_tool.py", line 205, in _summarize_session response = await async_call_llm( ^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/agent/auxiliary_client.py", line 2577, in async_call_llm await client.chat.completions.create(**kwargs), task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/resources/chat/completions/completions.py", line 2714, in create return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1913, in post return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1698, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064c6bee6f38b66d6f7dfb908eadf424'} 2026-05-08 09:14:22,903 WARNING [20260508_090604_b9d4c8] root: Session summarization failed after 3 attempts: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064c6beea8b2665d67fdba2ce6979430'} Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/session_search_tool.py", line 205, in _summarize_session response = await async_call_llm( ^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/agent/auxiliary_client.py", line 2577, in async_call_llm await client.chat.completions.create(**kwargs), task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/resources/chat/completions/completions.py", line 2714, in create return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1913, in post return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1698, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064c6beea8b2665d67fdba2ce6979430'} 2026-05-08 09:31:51,238 ERROR gateway.run: Agent idle for 1805s (timeout 1800s) in session agent:main:weixin:dm:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat | last_activity=executing tool: terminal | iteration=2/90 | tool=terminal 2026-05-08 09:48:50,543 WARNING [20260508_064819_af3f2ed0] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '7d51f9dc-e094-950f-9b44-be0425585c39'}. Further summary attempts paused for 600 seconds. 2026-05-08 09:50:35,124 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-05-08 09:50:36,138 ERROR [20260508_095034_cf06d9] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064c746ca7275148b7130d6d4ae34e60'} 2026-05-08 09:58:32,227 ERROR [20260508_095829_04df73] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064c76489e673bcfc509b0d1e2e7f28a'} 2026-05-08 14:17:00,468 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: '/absolute/path/to/file' 2026-05-08 14:17:00,469 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: '/absolute/path/to/file' 2026-05-08 15:46:43,470 WARNING [20260508_094850_06bb4e] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '070514cb-19a3-9809-aa29-746244d2a7d9'}. Further summary attempts paused for 600 seconds. 2026-05-09 15:59:34,564 ERROR [20260509_155932_8fe7e7] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '064e1c66cd043111fb33734d78c97705'} 2026-05-11 09:58:10,181 ERROR [20260511_095808_d30446] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '06506ab245adc36ce16da1cca99d3dd2'} 2026-05-11 11:19:41,681 ERROR gateway.run: Agent idle for 1804s (timeout 1800s) in session agent:main:weixin:dm:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat | last_activity=executing tool: terminal | iteration=2/90 | tool=terminal 2026-05-11 11:33:24,390 ERROR [20260511_095316_0b930db5] root: Non-retryable client error: Error code: 401 - {'error': {'message': 'Authentication Fails, Your api key: ****9703 is invalid', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:35:05,884 ERROR [20260511_095316_0b930db5] root: Non-retryable client error: Error code: 401 - {'error': {'message': 'Authentication Fails, Your api key: ****9703 is invalid', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:35:25,480 ERROR [20260511_095316_0b930db5] root: Non-retryable client error: Error code: 401 - {'error': {'message': 'Authentication Fails, Your api key: ****9703 is invalid', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:40:28,702 ERROR [20260511_114027_54b932] root: Non-retryable client error: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '065082acd9046ba6b41c3f81a6bf040e'} 2026-05-11 11:41:03,121 ERROR [20260511_095316_0b930db5] root: Non-retryable client error: Error code: 401 - {'error': {'message': 'Authentication Fails, Your api key: ****9703 is invalid', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:41:31,665 ERROR [20260511_113652_5b2462] root: Non-retryable client error: Error code: 401 - {'error': {'message': 'Authentication Fails, Your api key: ****9703 is invalid', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:41:57,805 ERROR [20260511_113652_5b2462] root: Non-retryable client error: Error code: 401 - {'error': {'message': 'Authentication Fails, Your api key: ****9703 is invalid', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:44:11,339 ERROR [20260511_114359_605f6d] root: Non-retryable client error: Error code: 401 - {'error': {'message': 'Authentication Fails, Your api key: ****9703 is invalid', 'type': 'authentication_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:48:59,729 WARNING [20260511_114752_878913] root: Session summarization failed after 3 attempts: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '065084ab2d6ffec05171a76e9f653416'} Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/session_search_tool.py", line 205, in _summarize_session response = await async_call_llm( ^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/agent/auxiliary_client.py", line 2577, in async_call_llm await client.chat.completions.create(**kwargs), task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/resources/chat/completions/completions.py", line 2714, in create return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1913, in post return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1698, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '065084ab2d6ffec05171a76e9f653416'} 2026-05-11 11:49:00,330 WARNING [20260511_114752_878913] root: Session summarization failed after 3 attempts: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '065084ac1168c7f420d5c0cddabd3b91'} Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/session_search_tool.py", line 205, in _summarize_session response = await async_call_llm( ^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/agent/auxiliary_client.py", line 2577, in async_call_llm await client.chat.completions.create(**kwargs), task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/resources/chat/completions/completions.py", line 2714, in create return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1913, in post return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1698, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '065084ac1168c7f420d5c0cddabd3b91'} 2026-05-11 11:49:00,425 WARNING [20260511_114752_878913] root: Session summarization failed after 3 attempts: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '065084aca8944a3323af1df3345ffdde'} Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/session_search_tool.py", line 205, in _summarize_session response = await async_call_llm( ^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/agent/auxiliary_client.py", line 2577, in async_call_llm await client.chat.completions.create(**kwargs), task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/resources/chat/completions/completions.py", line 2714, in create return await self._post( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1913, in post return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/openai/_base_client.py", line 1698, in request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'type': 'error', 'error': {'type': 'authorized_error', 'message': 'invalid api key (2049)', 'http_code': '401'}, 'request_id': '065084aca8944a3323af1df3345ffdde'} 2026-05-11 11:49:25,742 ERROR [20260511_095316_0b930db5] root: Non-retryable client error: Error code: 400 - {'error': {'message': "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)", 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:54:51,529 ERROR [20260511_095316_0b930db5] root: Non-retryable client error: Error code: 400 - {'error': {'message': "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)", 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:56:09,882 ERROR [20260511_095316_0b930db5] root: Non-retryable client error: Error code: 400 - {'error': {'message': "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)", 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 11:59:02,236 ERROR [20260511_095316_0b930db5] root: Non-retryable client error: Error code: 400 - {'error': {'message': "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)", 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}} 2026-05-11 12:15:00,503 ERROR asyncio: unhandled exception during asyncio.run() shutdown task: exception=OSError(5, 'Input/output error')> Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/controls.py", line 709, in get_processed_line return cache[i] ~~~~~^^^ KeyError: 0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/asyncio/base_events.py", line 640, in run_until_complete self.run_forever() File "/usr/lib64/python3.11/asyncio/base_events.py", line 607, in run_forever self._run_once() File "/usr/lib64/python3.11/asyncio/base_events.py", line 1922, in _run_once handle._run() File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/eventloop/utils.py", line 73, in schedule func() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 471, in redraw self._redraw() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 543, in _redraw self.context.copy().run(run_in_context) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 526, in run_in_context self.renderer.render(self, self.layout) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/renderer.py", line 682, in render layout.container.write_to_screen( File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/containers.py", line 392, in write_to_screen c.write_to_screen( File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/containers.py", line 1735, in write_to_screen draw_func() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/containers.py", line 1759, in _write_to_screen_at_index ui_content = self.content.create_content( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/controls.py", line 790, in create_content cursor_position=translate_rowcol( ^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/controls.py", line 773, in translate_rowcol return Point(x=get_processed_line(row).source_to_display(col), y=row) ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/controls.py", line 711, in get_processed_line processed_line = transform(i, get_line(i), get_line) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/controls.py", line 684, in transform transformation = merged_processor.apply_transformation( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/processors.py", line 986, in apply_transformation transformation = p.apply_transformation( ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/layout/processors.py", line 504, in apply_transformation fragments_before = to_formatted_text(self.text, self.style) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/formatted_text/base.py", line 82, in to_formatted_text return to_formatted_text(value(), style=style) ^^^^^^^ File "/root/.hermes/hermes-agent/cli.py", line 8798, in get_prompt File "/root/.hermes/hermes-agent/cli.py", line 8052, in _get_tui_prompt_fragments marker = " ●" if s["name"] == current else " " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/cli.py", line 8020, in _get_tui_prompt_symbols last_response, ^^^^^ File "/root/.hermes/hermes-agent/hermes_cli/profiles.py", line 736, in get_active_profile_name if not profile_dir.is_dir(): ^^^^^^^^^^ File "/usr/lib64/python3.11/pathlib.py", line 1003, in resolve p.stat() File "/usr/lib64/python3.11/pathlib.py", line 1013, in stat return os.stat(self, follow_symlinks=follow_symlinks) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/pathlib.py", line 547, in __fspath__ return str(self) ^^^^^^^^^ File "/usr/lib64/python3.11/pathlib.py", line 536, in __str__ def __str__(self): File "/root/.hermes/hermes-agent/cli.py", line 9660, in _signal_handler expanded before deciding. ^^^^^^^^^^^^^^^^^^^^^^ KeyboardInterrupt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 746, in _run_async result = await f ^^^^^^^ asyncio.exceptions.CancelledError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 886, in run_async return await _run_async(f) ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 751, in _run_async self._redraw(render_as_done=True) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 543, in _redraw self.context.copy().run(run_in_context) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/application/application.py", line 524, in run_in_context self.renderer.render(self, self.layout, is_done=render_as_done) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/renderer.py", line 732, in render self.reset() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/renderer.py", line 429, in reset self.output.flush() File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/output/vt100.py", line 706, in flush flush_stdout(self.stdout, data) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/prompt_toolkit/output/flush_stdout.py", line 37, in flush_stdout stdout.flush() OSError: [Errno 5] Input/output error 2026-05-11 13:58:07,711 WARNING [20260511_115927_df49d3b0] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '97f6707a-9d60-96a8-a103-170bffd88010'}. Further summary attempts paused for 600 seconds. 2026-05-13 14:08:05,211 ERROR gateway.platforms.base: [Weixin] Error sending image: Cannot connect to host liupeizhi.top:6666 ssl:default [Connect call failed ('43.167.232.189', 6666)] Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/connector.py", line 1310, in _wrap_create_connection sock = await aiohappyeyeballs.start_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohappyeyeballs/impl.py", line 122, in start_connection raise first_exception File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohappyeyeballs/impl.py", line 73, in start_connection sock = await _connect_sock( ^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohappyeyeballs/impl.py", line 208, in _connect_sock await loop.sock_connect(sock, address) File "/usr/lib64/python3.11/asyncio/selector_events.py", line 634, in sock_connect return await fut ^^^^^^^^^ File "/usr/lib64/python3.11/asyncio/selector_events.py", line 674, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') ConnectionRefusedError: [Errno 111] Connect call failed ('43.167.232.189', 6666) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/gateway/platforms/base.py", line 1719, in _process_message_background invalidates the provider prompt cache. ^^^^^ File "/root/.hermes/hermes-agent/gateway/platforms/weixin.py", line 1526, in send_image logger.warning("[%s] file download failed: %s", self.name, exc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/gateway/platforms/weixin.py", line 1602, in _download_remote_media ret = resp.get("ret") File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/client.py", line 1521, in __aenter__ self._resp: _RetType = await self._coro ^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/client.py", line 788, in _request resp = await handler(req) ^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/client.py", line 742, in _connect_and_send_request conn = await self._connector.connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/connector.py", line 672, in connect proto = await self._create_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/connector.py", line 1251, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/connector.py", line 1623, in _create_direct_connection raise last_exc File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/connector.py", line 1592, in _create_direct_connection transp, proto = await self._wrap_create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/aiohttp/connector.py", line 1333, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host liupeizhi.top:6666 ssl:default [Connect call failed ('43.167.232.189', 6666)] 2026-05-13 14:10:13,833 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-05-13 14:14:43,625 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: '' 2026-05-13 14:14:43,626 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: '' 2026-05-13 14:14:43,629 WARNING gateway.platforms.base: [Weixin] Error sending media: WeixinAdapter.send_image_file() got an unexpected keyword argument 'image_path' 2026-05-13 15:27:10,446 WARNING [20260513_135858_92c82170] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': 'c12562e6-af40-9b4f-b341-6b2032c5fc58'}. Further summary attempts paused for 600 seconds. 2026-05-13 16:20:39,966 ERROR gateway.run: Agent idle for 1800s (timeout 1800s) in session agent:main:weixin:dm:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat | last_activity=executing tool: terminal | iteration=55/90 | tool=terminal 2026-05-14 23:58:13,152 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-05-14 23:58:13,222 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-05-14 23:58:18,516 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (All connection attempts failed); trying fallback IPs 149.154.167.220 2026-05-14 23:58:18,763 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed: All connection attempts failed 2026-05-14 23:58:18,767 ERROR telegram.ext.Updater: Error while calling `get_updates` one more time to mark all fetched updates. Suppressing error to ensure graceful shutdown. When polling for updates is restarted, updates may be fetched again. Please adjust timeouts via `ApplicationBuilder` or the parameter `get_updates_request` of `Bot`. Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request raise exc File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request stream = await self._connect(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection.py", line 124, in _connect stream = await self._network_backend.connect_tcp(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp return await self._backend.connect_tcp( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_backends/anyio.py", line 113, in connect_tcp with map_exceptions(exc_map): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/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 "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 114, in handle_async_request raise last_error File "/root/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/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 "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_updater.py", line 400, in _get_updates_cleanup await self.bot.get_updates( File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 672, in get_updates updates = await super().get_updates( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 4865, in get_updates await self._post( File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/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 2026-05-14 23:58:19,734 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (All connection attempts failed); trying fallback IPs 149.154.167.220 2026-05-14 23:58:20,566 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org path unreachable; using sticky fallback IP 149.154.167.220 2026-05-15 10:29:36,319 WARNING [20260513_152710_00cc4b] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '3d9c2c5f-8f6c-91d8-8e1e-761f8c226d89'}. Further summary attempts paused for 600 seconds. 2026-05-15 10:31:55,989 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: "{filepath}',\\n" 2026-05-15 10:31:55,999 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: "{filepath}',\\n" 2026-05-15 10:31:56,003 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: "{filepath}','target':f'weixin:{chat_id}'})\\n" 2026-05-15 10:31:56,003 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: "{filepath}','target':f'weixin:{chat_id}'})\\n" 2026-05-15 15:34:03,949 WARNING [20260515_153359_d9ea3e] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': 'bd3987ed-ad3f-9444-b938-7618e896cf8d'}. Further summary attempts paused for 600 seconds. 2026-05-15 15:34:51,863 WARNING [20260515_102936_ae3e25] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': 'd8efc96f-fa41-963b-92ae-c33292808533'}. Further summary attempts paused for 600 seconds. 2026-05-16 17:58:41,621 WARNING [20260516_175835_f4e2db] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '82f44f42-6764-9c90-9924-c49ef275387f'}. Further summary attempts paused for 600 seconds. 2026-05-18 20:57:10,105 ERROR gateway.run: Agent idle for 183516s (timeout 1800s) in session agent:main:weixin:dm:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat | last_activity=API call #25 completed | iteration=25/90 | tool=none 2026-05-18 20:57:13,665 WARNING [20260515_153452_d7ca70] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '266947de-f12c-9dfa-bc90-2b00ce7ba530'}. Further summary attempts paused for 600 seconds. 2026-05-18 21:02:57,996 WARNING [20260518_210252_c31fe3] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '1d093b6a-c889-98f7-b65b-fe564b9e825c'}. Further summary attempts paused for 600 seconds. 2026-05-19 18:50:26,954 ERROR gateway.run: Agent idle for 78675s (timeout 1800s) in session agent:main:weixin:dm:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat | last_activity=API call #9 completed | iteration=9/90 | tool=none 2026-05-19 18:50:28,105 WARNING [20260518_205727_6f94edd8] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '1c79cae5-50fe-94c6-8c93-fecfcdc89cc1'}. Further summary attempts paused for 600 seconds. 2026-05-19 18:54:34,404 WARNING [20260519_185426_e5490f] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '7a2a8bd4-fe13-9c3a-ab0d-1829398a2b7d'}. Further summary attempts paused for 600 seconds. 2026-05-19 18:54:37,617 WARNING [20260519_185056_75df6624] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '9f3e9769-f5d9-9ad3-a0d8-a8fc15b045c5'}. Further summary attempts paused for 600 seconds. 2026-05-19 19:02:34,346 WARNING [20260519_185437_a8700b] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '82a9f131-1bbd-9a18-ae37-5c105a879c07'}. Further summary attempts paused for 600 seconds. 2026-05-20 07:48:46,482 WARNING gateway.platforms.weixin: [Weixin] WEIXIN_GROUP_POLICY=open is set, but QR-login connects an iLink bot identity (e.g. ...@im.bot) which typically cannot be invited into ordinary WeChat groups. iLink usually does not deliver ordinary-group events for these accounts, so group messages may never reach Hermes regardless of this policy. If group delivery doesn't work, the limitation is on the iLink side, not in Hermes. 2026-05-20 07:50:52,052 WARNING [20260519_190234_00eb5d] run_agent: Tool patch returned error (0.00s): {"success": false, "error": "Write denied: '/root/.hermes/.env' is a protected system/credential file."} 2026-05-20 14:30:00,818 ERROR cli: Failed to save config: No module named 'ruamel' 2026-05-20 14:32:01,084 WARNING [20260520_143001_5b70160f] tools.browser_tool: browser 'click' timed out after 30s (task=20260520_143001_5b70160f, socket_dir=/tmp/agent-browser-h_ed6bb03da9) 2026-05-20 14:32:01,089 WARNING [20260520_143001_5b70160f] run_agent: Tool browser_click returned error (30.02s): {"success": false, "error": "Command timed out after 30 seconds"} 2026-05-20 16:19:34,723 WARNING [20260520_143001_5b70160f] run_agent: Tool terminal returned error (6.10s): {"output": "[Command interrupted]", "exit_code": 130, "error": null} 2026-05-20 16:25:50,948 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: "{filepath}','target':f'weixin:{chat_id}'})\\n" 2026-05-20 16:25:50,949 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: "{filepath}','target':f'weixin:{chat_id}'})\\n" 2026-05-20 16:25:50,950 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: '/path/file.md' 2026-05-20 16:25:50,950 WARNING gateway.platforms.base: [Weixin] Failed to send media (.md): [Errno 2] No such file or directory: '/path/file.md' 2026-05-20 16:25:50,950 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: '/path/to/file`**,且必须是本地绝对路径\\n3' 2026-05-20 16:25:50,951 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: '/path/to/file`**,且必须是本地绝对路径\\n3' 2026-05-20 16:31:07,488 WARNING [20260520_143001_5b70160f] run_agent: Tool terminal returned error (60.23s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null} 2026-05-20 16:31:24,708 WARNING [20260520_143001_5b70160f] run_agent: Tool terminal returned error (0.00s): {"output": "", "exit_code": -1, "error": "Foreground command uses '&' backgrounding. Use terminal(background=true) for long-lived processes, then run health checks and tests in follow-up terminal call 2026-05-20 16:33:21,602 WARNING [20260520_143001_5b70160f] run_agent: Tool terminal returned error (60.39s): {"output": "Attempt 1: '{\"success\": true, \"platform\": \"weixin\", \"chat_id\": \"o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat\", \"message_id\": \"hermes-weixin-1b44bf7d522345ad9d607223d3f1aaed\", \"con 2026-05-20 17:31:52,899 WARNING run_agent: Streaming failed after partial delivery, not retrying: {'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-20 17:31:52,971 WARNING [cron_5063251e7794_20260520_173058] run_agent: Partial stream delivered before error; returning stub response with 0 chars of recovered content to prevent duplicate messages: {'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-20 17:32:27,341 ERROR cron.scheduler: Delivery failed for job 5063251e7794: cannot access local variable 'platform' where it is not associated with a value 2026-05-20 20:11:06,557 ERROR cron.scheduler: Delivery failed for job 5063251e7794: cannot access local variable 'platform' where it is not associated with a value 2026-05-20 20:11:28,260 WARNING [20260520_143001_5b70160f] run_agent: API call failed (attempt 1/3) error_type=APIStatusError thread=asyncio_4:140602966525632 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 summary=HTTP 200: output new_sensitive (1027) 2026-05-20 20:11:28,270 WARNING [20260520_143001_5b70160f] run_agent: Retrying API call in 2.2186776262105705s (attempt 1/3) thread=asyncio_4:140602966525632 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 error={'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-20 20:15:24,756 WARNING [20260520_143001_5b70160f] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '766df309-ef7b-979c-b13f-823a55af5bd5'}. Further summary attempts paused for 60 seconds. 2026-05-20 20:17:52,494 WARNING [cron_5063251e7794_20260520_201706] run_agent: API call failed (attempt 1/3) error_type=APIStatusError thread=ThreadPoolExecutor-8_0:140602983311040 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 summary=HTTP 200: output new_sensitive (1027) 2026-05-20 20:17:52,512 WARNING [cron_5063251e7794_20260520_201706] run_agent: Retrying API call in 2.832086047314519s (attempt 1/3) thread=ThreadPoolExecutor-8_0:140602983311040 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 error={'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-20 20:18:08,572 WARNING [cron_5063251e7794_20260520_201706] run_agent: Tool delegate_task returned error (0.01s): {"error": "Too many tasks: 4 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-05-20 20:19:44,449 ERROR cron.scheduler: Delivery failed for job 5063251e7794: cannot access local variable 'platform' where it is not associated with a value 2026-05-20 20:20:51,763 WARNING [20260520_201525_e24eb6] run_agent: Tool terminal returned error (0.00s): {"output": "", "exit_code": -1, "error": "Foreground command uses shell-level background wrappers (nohup/disown/setsid). Use terminal(background=true) so Hermes can track the process, then run readine 2026-05-20 20:20:53,968 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=749 parent_name=systemd loadavg_1m=0.75 parent_cmdline='/usr/lib/systemd/systemd --user' 2026-05-20 20:21:54,506 WARNING gateway.run: Gateway drain timed out after 60.0s with 1 active agent(s); interrupting remaining work. 2026-05-20 20:22:12,484 WARNING gateway.platforms.weixin: [Weixin] WEIXIN_GROUP_POLICY=open is set, but QR-login connects an iLink bot identity (e.g. ...@im.bot) which typically cannot be invited into ordinary WeChat groups. iLink usually does not deliver ordinary-group events for these accounts, so group messages may never reach Hermes regardless of this policy. If group delivery doesn't work, the limitation is on the iLink side, not in Hermes. 2026-05-20 20:23:38,431 WARNING gateway.platforms.weixin: [Weixin] WEIXIN_GROUP_POLICY=open is set, but QR-login connects an iLink bot identity (e.g. ...@im.bot) which typically cannot be invited into ordinary WeChat groups. iLink usually does not deliver ordinary-group events for these accounts, so group messages may never reach Hermes regardless of this policy. If group delivery doesn't work, the limitation is on the iLink side, not in Hermes. 2026-05-20 20:25:34,783 WARNING [cron_5063251e7794_20260520_202439] run_agent: Truncated 1 excess delegate_task call(s) to enforce max_concurrent_children=3 limit 2026-05-20 20:26:23,654 WARNING [cron_5063251e7794_20260520_202439] run_agent: Tool delegate_task returned error (0.00s): {"error": "Too many tasks: 4 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-05-20 20:26:34,924 WARNING [20260520_201525_e24eb6] run_agent: Tool terminal returned error (60.46s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null} 2026-05-20 20:26:51,218 WARNING [cron_5063251e7794_20260520_202439] run_agent: Tool skill_view returned error (0.28s): {"success": false, "error": "Skill 'tavily' not found.", "available_skills": ["architecture-diagram", "dogfood", "wechat-media-retry", "yuanbao", "claude-code", "codex", "hermes-agent", "opencode", "a 2026-05-20 20:27:53,498 WARNING run_agent: Streaming failed after partial delivery, not retrying: {'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-20 20:27:53,549 WARNING [cron_5063251e7794_20260520_202439] run_agent: Partial stream delivered before error; returning stub response with 0 chars of recovered content to prevent duplicate messages: {'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-20 20:27:55,627 WARNING [20260520_201525_e24eb6] run_agent: Tool terminal returned error (60.29s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null} 2026-05-20 20:29:28,575 ERROR cron.scheduler: Delivery failed for job 5063251e7794: name 'config' is not defined 2026-05-20 20:30:04,286 WARNING [20260520_201525_e24eb6] run_agent: Tool patch returned error (0.25s): {"success": false, "error": "old_string and new_string are identical", "_warning": "/root/.hermes/hermes-agent/cron/scheduler.py was last read with offset/limit pagination (partial view). Re-read the 2026-05-20 20:30:18,039 WARNING [20260520_201525_e24eb6] run_agent: Tool patch returned error (0.21s): {"success": false, "error": "old_string and new_string are identical", "_warning": "/root/.hermes/hermes-agent/cron/scheduler.py was last read with offset/limit pagination (partial view). Re-read the 2026-05-20 20:31:12,107 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=749 parent_name=systemd loadavg_1m=1.13 parent_cmdline='/usr/lib/systemd/systemd --user' 2026-05-20 20:32:12,652 WARNING gateway.run: Gateway drain timed out after 60.0s with 1 active agent(s); interrupting remaining work. 2026-05-20 20:36:15,735 WARNING [20260520_201525_e24eb6] run_agent: Tool terminal returned error (300.47s): {"output": "", "exit_code": -1, "error": "BLOCKED: Command timed out. Do NOT retry this command.", "status": "blocked"} 2026-05-20 20:38:06,929 WARNING gateway.platforms.weixin: [Weixin] WEIXIN_GROUP_POLICY=open is set, but QR-login connects an iLink bot identity (e.g. ...@im.bot) which typically cannot be invited into ordinary WeChat groups. iLink usually does not deliver ordinary-group events for these accounts, so group messages may never reach Hermes regardless of this policy. If group delivery doesn't work, the limitation is on the iLink side, not in Hermes. 2026-05-20 20:39:50,293 WARNING [cron_5063251e7794_20260520_203908] run_agent: API call failed (attempt 1/3) error_type=APIStatusError thread=ThreadPoolExecutor-1_0:139821626410688 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 summary=HTTP 200: output new_sensitive (1027) 2026-05-20 20:39:50,311 WARNING [cron_5063251e7794_20260520_203908] run_agent: Retrying API call in 2.543992255213106s (attempt 1/3) thread=ThreadPoolExecutor-1_0:139821626410688 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 error={'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-20 20:41:35,716 WARNING [cron_5063251e7794_20260520_203908] tools.browser_tool: browser 'click' timed out after 30s (task=5c03cb20-6125-4f29-b652-4afc6cc37505, socket_dir=/tmp/agent-browser-h_7096effc3e) 2026-05-20 20:41:35,721 WARNING [cron_5063251e7794_20260520_203908] run_agent: Tool browser_click returned error (30.04s): {"success": false, "error": "Command timed out after 30 seconds"} 2026-05-20 20:41:37,465 WARNING [20260520_201525_e24eb6] run_agent: Tool terminal returned error (60.42s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null} 2026-05-20 20:42:00,730 WARNING [cron_5063251e7794_20260520_203908] run_agent: Tool skill_view returned error (0.57s): {"success": false, "error": "Skill 'tavily' not found.", "available_skills": ["architecture-diagram", "dogfood", "wechat-media-retry", "yuanbao", "claude-code", "codex", "hermes-agent", "opencode", "a 2026-05-20 20:42:05,679 WARNING [cron_5063251e7794_20260520_203908] run_agent: Tool skill_view returned error (0.21s): {"success": false, "error": "Skill 'openclaw-imports/tavily' not found.", "available_skills": ["architecture-diagram", "dogfood", "wechat-media-retry", "yuanbao", "claude-code", "codex", "hermes-agent 2026-05-20 20:42:50,286 WARNING [20260520_201525_e24eb6] run_agent: Tool terminal returned error (60.28s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null} 2026-05-20 20:42:59,837 WARNING [cron_5063251e7794_20260520_203908] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': 'e275df89-f98c-9ff4-854b-65d8dd1e1d81'}. Further summary attempts paused for 60 seconds. 2026-05-20 20:43:58,403 WARNING [20260520_201525_e24eb6] run_agent: Tool terminal returned error (60.24s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null} 2026-05-21 02:00:54,634 WARNING [cron_3ce78c2f616f_20260521_020040] run_agent: Tool terminal returned error (1.54s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nBACKUP_DIR=\"/root/.hermes/backups\" && \\\nDATE=$( 2026-05-21 02:01:05,248 WARNING [cron_3ce78c2f616f_20260521_020040] run_agent: Tool terminal returned error (0.07s): {"output": "", "exit_code": -1, "error": "⚠️ find -exec rm. Asking the user for approval.\n\n**Command:**\n```\nfind /root/.hermes/backups -name \"sessions_backup_*.tar.gz\" -mtime +7 -exec rm {} \\; 2026-05-21 17:34:26,704 WARNING run_agent: Streaming failed after partial delivery, not retrying: {'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-21 17:34:26,711 WARNING [cron_5063251e7794_20260521_173030] run_agent: Partial stream delivered before error; returning stub response with 0 chars of recovered content to prevent duplicate messages: {'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-21 21:03:28,489 WARNING [20260521_210135_7056783d] run_agent: Tool execute_code returned error (3.29s): {"status": "error", "output": "\n--- stderr ---\nTraceback (most recent call last):\n File \"/tmp/hermes_sandbox_0qi5in37/script.py\", line 2, in \n from PIL import Image\nModuleNotFoundEr 2026-05-21 21:03:38,247 WARNING [20260521_210135_7056783d] run_agent: Tool execute_code returned error (3.24s): {"status": "error", "output": "\n--- stderr ---\n File \"/tmp/hermes_sandbox_jq_kyevg/script.py\", line 11\n print(f\"是否是JPEG: {data[:2] == b'\\xff\\xd8'}\")\n 2026-05-21 21:27:26,210 ERROR [20260521_210135_7056783d] tools.vision_tools: Error analyzing image: [Errno 36] File name too long: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYYXBwbAQAAABtbnRyUkdCIFhZWiAH5gABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAAA9kZXNjAAAAABAAAAZGVzYwAAAoAAAAAcGFyYW0AAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbW50cnJAAAAAADGVBMRlgM9SndPT2RjY2dmY2hjX19fT1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4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5' Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/vision_tools.py", line 704, in vision_analyze_tool if local_path.is_file(): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/pathlib.py", line 1267, in is_file return S_ISREG(self.stat().st_mode) ^^^^^^^^^^^ File "/usr/lib64/python3.11/pathlib.py", line 1013, in stat return os.stat(self, follow_symlinks=follow_symlinks) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: [Errno 36] File name too long: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYYXBwbAQAAABtbnRyUkdCIFhZWiAH5gABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAAA9kZXNjAAAAABAAAAZGVzYwAAAoAAAAAcGFyYW0AAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbW50cnJAAAAAADGVBMRlgM9SndPT2RjY2dmY2hjX19fT1dfVW5kAAAAAABYWAAIAAMAMgD/4R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O7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5lP2u8K4qH1Y4yO7V0qL4hXOcfVU1k5+5' 2026-05-21 21:27:26,381 WARNING [20260521_210135_7056783d] run_agent: Tool vision_analyze returned error (0.24s): { "success": false, "error": "Error analyzing image: [Errno 36] File name too long: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYYXBwbAQAAABtbnRyUkdCIFhZWiAH5gAB 2026-05-21 21:28:06,708 WARNING [20260521_210135_7056783d] run_agent: Tool terminal returned error (0.00s): {"output": "", "exit_code": -1, "error": "Foreground command uses '&' backgrounding. Use terminal(background=true) for long-lived processes, then run health checks and tests in follow-up terminal call 2026-05-21 21:28:52,190 WARNING [20260521_210135_7056783d] run_agent: Tool terminal returned error (0.26s): {"output": "which: no convert in (/root/.local/bin:/root/bin:/root/.local/bin:/root/.local/share/pnpm:/root/.hermes/hermes-agent/venv/bin:/root/.hermes/hermes-agent/node_modules/.bin:/root/.nvm/versio 2026-05-21 21:30:34,435 WARNING [20260521_210135_7056783d] run_agent: Tool terminal returned error (0.40s): {"output": "000", "exit_code": 7, "error": null, "exit_code_meaning": "Failed to connect to host"} 2026-05-21 21:30:50,353 WARNING [20260521_210135_7056783d] tools.url_safety: Blocked request to private/internal address: localhost -> ::1 2026-05-21 21:30:50,355 ERROR [20260521_210135_7056783d] tools.vision_tools: Error analyzing image: Invalid image source. Provide an HTTP/HTTPS URL or a valid local file path. Traceback (most recent call last): File "/root/.hermes/hermes-agent/tools/vision_tools.py", line 720, in vision_analyze_tool raise ValueError( ValueError: Invalid image source. Provide an HTTP/HTTPS URL or a valid local file path. 2026-05-21 21:30:50,373 WARNING [20260521_210135_7056783d] run_agent: Tool vision_analyze returned error (0.04s): { "success": false, "error": "Error analyzing image: Invalid image source. Provide an HTTP/HTTPS URL or a valid local file path.", "analysis": "There was a problem with the request and the image 2026-05-22 02:00:30,755 WARNING [cron_3ce78c2f616f_20260522_020019] run_agent: Tool terminal returned error (0.25s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nDATE=$(date +%Y%m%d) && \\\nBACKUP_FILE=\"/root/.he 2026-05-22 02:00:34,024 WARNING [cron_3ce78c2f616f_20260522_020019] run_agent: Tool terminal returned error (0.08s): {"output": "", "exit_code": -1, "error": "⚠️ find -exec rm. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nDATE=$(date +%Y%m%d) && \\\nBACKUP_FILE=\"/root/.h 2026-05-22 11:08:16,232 WARNING [20260521_210135_7056783d] tools.terminal_tool: Rejected invalid terminal command value: NoneType 2026-05-22 11:08:16,236 WARNING [20260521_210135_7056783d] run_agent: Tool terminal returned error (0.01s): {"output": "", "exit_code": -1, "error": "Invalid command: expected string, got NoneType", "status": "error"} 2026-05-22 11:13:50,634 ERROR gateway.platforms.weixin: [Weixin] send_document failed to=o9cq801Q: [Errno 2] No such file or directory: "{file_path}',\\n" 2026-05-22 11:13:50,636 WARNING gateway.platforms.base: [Weixin] Failed to send media (): [Errno 2] No such file or directory: "{file_path}',\\n" 2026-05-22 16:42:47,576 WARNING [20260521_210135_7056783d] run_agent: Tool terminal returned error (1.33s): {"output": "{\n \"error\": {\n \"code\": 1,\n \"message\": \"API error: invalid params, method t2a-v2 not have model: speech-02 (HTTP 200)\"\n }\n}", "exit_code": 1, "error": null} 2026-05-22 22:39:31,624 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-05-22 22:39:31,713 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-05-23 02:00:43,308 WARNING [cron_3ce78c2f616f_20260523_020024] run_agent: Tool terminal returned error (0.27s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -delete. Asking the 2026-05-23 17:33:43,095 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-23 17:33:46,312 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-23 17:33:49,517 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-23 17:33:52,718 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-23 17:33:55,889 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-23 17:33:55,894 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-05-23 17:33:56,409 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-23 17:33:59,589 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-23 17:34:02,770 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-23 17:34:05,965 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-23 17:34:09,157 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-23 17:34:09,196 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-24 02:00:32,471 WARNING [cron_3ce78c2f616f_20260524_020020] run_agent: Tool terminal returned error (0.27s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -delete. Asking the 2026-05-24 02:00:38,815 WARNING [cron_3ce78c2f616f_20260524_020020] run_agent: Tool terminal returned error (0.10s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-05-24 02:00:47,873 WARNING [cron_3ce78c2f616f_20260524_020020] run_agent: Tool terminal returned error (0.05s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nfind /root/.hermes/backups -name \"sessions_backup_*.tar.gz\" -mtime +7 -delete && ls -lh 2026-05-24 02:00:50,576 WARNING [cron_3ce78c2f616f_20260524_020020] run_agent: Tool terminal returned error (0.04s): {"output": "", "exit_code": -1, "error": "⚠️ find -exec rm. Asking the user for approval.\n\n**Command:**\n```\nfind /root/.hermes/backups -name \"sessions_backup_*.tar.gz\" -mtime +7 -exec rm {} \\;\ 2026-05-24 17:31:48,907 WARNING [cron_5063251e7794_20260524_173048] run_agent: Truncated 1 excess delegate_task call(s) to enforce max_concurrent_children=3 limit 2026-05-24 17:33:59,185 WARNING [cron_5063251e7794_20260524_173048] run_agent: API call failed (attempt 1/3) error_type=BadRequestError thread=ThreadPoolExecutor-24_0:139821040264896 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 summary=HTTP 400: invalid params, context window exceeds limit (2013) 2026-05-24 17:34:00,405 WARNING [cron_5063251e7794_20260524_173048] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': 'e33c23fb-c990-9d6a-8e4e-e5da6260ea2d'}. Further summary attempts paused for 60 seconds. 2026-05-24 17:34:50,322 WARNING [cron_5063251e7794_20260524_173048] run_agent: API call failed (attempt 1/3) error_type=BadRequestError thread=ThreadPoolExecutor-24_0:139821040264896 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 summary=HTTP 400: invalid params, context window exceeds limit (2013) 2026-05-24 17:34:50,376 ERROR [cron_5063251e7794_20260524_173048] root: Context length exceeded: 124,006 tokens. Cannot compress further. 2026-05-24 17:34:50,917 ERROR cron.scheduler: Job '喷嚏图卦每日推送' failed: RuntimeError: Context length exceeded (124,006 tokens). Cannot compress further. Traceback (most recent call last): File "/root/.hermes/hermes-agent/cron/scheduler.py", line 1563, in run_job raise RuntimeError(_err_text) RuntimeError: Context length exceeded (124,006 tokens). Cannot compress further. 2026-05-24 17:34:51,688 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-24 17:34:54,901 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-24 17:34:58,123 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-24 17:35:01,311 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-24 17:35:04,506 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-24 17:35:04,512 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-05-24 17:35:05,014 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-24 17:35:08,200 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-24 17:35:11,393 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-24 17:35:14,566 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-24 17:35:17,771 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-24 17:35:17,789 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-25 02:00:39,900 WARNING [cron_3ce78c2f616f_20260525_020028] run_agent: Tool terminal returned error (0.25s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -delete. Asking the 2026-05-25 17:31:52,459 WARNING [cron_5063251e7794_20260525_173011] run_agent: Truncated 5 excess delegate_task call(s) to enforce max_concurrent_children=3 limit 2026-05-25 17:34:21,226 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-25 17:34:24,432 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-25 17:34:27,658 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-25 17:34:30,854 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-25 17:34:34,045 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-25 17:34:34,051 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-05-25 17:34:34,554 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-25 17:34:37,739 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-25 17:34:40,930 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-25 17:34:44,123 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-25 17:34:47,322 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-25 17:34:47,339 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-26 02:01:12,115 WARNING [cron_3ce78c2f616f_20260526_020056] run_agent: Tool terminal returned error (0.23s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -delete. Asking the 2026-05-26 02:01:23,294 WARNING [cron_3ce78c2f616f_20260526_020056] run_agent: Tool terminal returned error (0.12s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-05-26 15:32:28,376 WARNING [20260521_210135_7056783d] run_agent: Tool browser_console returned error (1.15s): {"success": false, "error": "page.evaluate: TypeError: Failed to fetch\n at eval (eval at evaluate (:302:30), :1:1)\n at eval ()\n at UtilityScript.evaluate ( 2026-05-26 15:32:46,452 WARNING [20260521_210135_7056783d] run_agent: Tool terminal returned error (13.16s): {"output": "Traceback (most recent call last):\n File \"\", line 1, in \n File \"/usr/lib64/python3.11/json/__init__.py\", line 293, in load\n return loads(fp.read(),\n 2026-05-26 15:32:52,025 WARNING [20260521_210135_7056783d] run_agent: Tool skill_view returned error (1.03s): {"success": false, "error": "Skill 'eastmoney_fin_data' not found.", "available_skills": ["architecture-diagram", "dogfood", "wechat-media-retry", "yuanbao", "claude-code", "codex", "hermes-agent", "o 2026-05-26 15:33:57,706 WARNING [20260521_210135_7056783d] run_agent: Tool terminal returned error (60.43s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null} 2026-05-26 15:36:41,988 WARNING [20260521_210135_7056783d] run_agent: Tool terminal returned error (14.18s): {"output": "File \"\", line 8\n )\n ^\nSyntaxError: unmatched ')'", "exit_code": 1, "error": null} 2026-05-26 15:37:31,875 WARNING [20260526_153729_02c0b8] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': '587dea2d-55f0-968d-a306-3cf69b79fa74'}. Further summary attempts paused for 60 seconds. 2026-05-26 15:37:37,489 WARNING [20260526_153729_02c0b8] run_agent: Tool skill_view returned error (0.24s): {"success": false, "error": "Skill 'eastmoney_fin_data' not found.", "available_skills": ["architecture-diagram", "dogfood", "wechat-media-retry", "yuanbao", "claude-code", "codex", "hermes-agent", "o 2026-05-26 15:37:44,091 WARNING [20260526_153729_02c0b8] run_agent: Tool skill_view returned error (0.06s): {"success": false, "error": "Skill 'eastmoney_fin_data' not found.", "available_skills": ["architecture-diagram", "dogfood", "wechat-media-retry", "yuanbao", "claude-code", "codex", "hermes-agent", "o 2026-05-26 17:31:33,858 WARNING [cron_5063251e7794_20260526_173014] run_agent: Tool delegate_task returned error (0.02s): {"error": "Too many tasks: 4 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-05-26 17:31:34,871 WARNING [cron_5063251e7794_20260526_173014] run_agent: Tool delegate_task returned error (0.00s): {"error": "Too many tasks: 4 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-05-26 17:31:35,872 WARNING [cron_5063251e7794_20260526_173014] run_agent: Tool delegate_task returned error (0.00s): {"error": "Too many tasks: 4 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-05-26 17:31:41,078 WARNING [cron_5063251e7794_20260526_173014] run_agent: Truncated 1 excess delegate_task call(s) to enforce max_concurrent_children=3 limit 2026-05-27 02:00:22,169 WARNING [cron_3ce78c2f616f_20260527_020008] run_agent: Tool terminal returned error (0.31s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nDATE=$(date +%Y%m%d) && \\\nBACKUP_FILE=\"/root/.he 2026-05-27 02:00:24,954 WARNING [cron_3ce78c2f616f_20260527_020008] run_agent: Tool terminal returned error (0.07s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-05-27 09:16:37,484 WARNING [20260521_210135_7056783d] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': 'd417fbf5-6afe-9a80-b319-504b451c5a46'}. Further summary attempts paused for 60 seconds. 2026-05-27 17:35:08,969 WARNING [cron_5063251e7794_20260527_173001] run_agent: Tool terminal returned error (0.19s): {"output": "/usr/bin/bash: line 3: .venv/bin/activate: No such file or directory", "exit_code": 1, "error": null} 2026-05-27 17:36:41,391 WARNING [cron_5063251e7794_20260527_173001] run_agent: Tool execute_code returned error (3.22s): {"status": "error", "output": "pip path: /usr/local/bin/pip\n\npython path: /root/.hermes/hermes-agent/venv/bin/python\n\nsystem python ddgs: Traceback (most recent call last):\n File \"\", 2026-05-27 17:38:47,791 WARNING [cron_5063251e7794_20260527_173001] run_agent: Tool execute_code returned error (3.23s): {"status": "error", "output": "\n--- stderr ---\nTraceback (most recent call last):\n File \"/tmp/hermes_sandbox_cbzpc_qt/script.py\", line 1, in \n from tools.send_message_tool import sen 2026-05-27 17:41:47,973 WARNING [20260527_174113_df710c] run_agent: Tool skill_manage returned error (0.04s): {"success": false, "error": "Found 2 matches for old_string. Provide more context to make it unique, or use replace_all=True.", "file_preview": "---\nname: dapenti-scraper\ndescription: 喷嚏网喷嚏图卦抓取与总结 - 2026-05-27 17:42:08,543 WARNING [20260527_174113_df710c] run_agent: Tool skill_manage returned error (0.00s): {"success": false, "error": "File must be under one of: assets, references, scripts, templates. Got: 'SKILL.md'"} 2026-05-28 02:00:47,377 WARNING [cron_3ce78c2f616f_20260528_020032] run_agent: Tool terminal returned error (0.23s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -delete. Asking the 2026-05-28 08:57:21,029 WARNING [20260527_091637_10dd80] root: Failed to generate context summary: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'invalid access token or token expired', 'param': None, 'type': 'invalid_request_error'}, 'request_id': 'a83c97ca-03aa-93b3-9c49-72f0e7bcd7cd'}. Further summary attempts paused for 60 seconds. 2026-05-28 08:57:55,676 WARNING [20260527_091637_10dd80] run_agent: Tool read_file returned error (0.38s): {"content": "", "total_lines": 0, "file_size": 0, "truncated": false, "is_binary": false, "is_image": false, "error": "File not found: /root/.hermes/hermes-agent/CLAUDE.md", "similar_files": ["/root/. 2026-05-28 08:59:13,117 WARNING [20260527_091637_10dd80] run_agent: Tool terminal returned error (0.27s): {"output": "head: cannot open '/root/.hermes/hermes-agent/skills/software-development/SKILL.md' for reading: No such file or directory", "exit_code": 1, "error": null} 2026-05-28 08:59:56,753 WARNING [20260527_091637_10dd80] run_agent: Tool terminal returned error (0.32s): {"output": "", "exit_code": 2, "error": null} 2026-05-28 17:35:17,454 WARNING [20260528_173416_7642ca] run_agent: Tool skill_manage returned error (0.00s): {"success": false, "error": "old_string and new_string are identical", "file_preview": "---\nname: dapenti-scraper\ndescription: 喷嚏网喷嚏图卦抓取与总结 - 浏览器自动化获取最新图卦内容并推送到微信(优先)和 Telegram。\ncategory: mlops\nta 2026-05-28 17:35:53,249 WARNING [cron_5063251e7794_20260528_173518] run_agent: Tool delegate_task returned error (0.01s): {"error": "Too many tasks: 6 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-05-28 17:35:54,254 WARNING [cron_5063251e7794_20260528_173518] run_agent: Tool delegate_task returned error (0.00s): {"error": "Too many tasks: 6 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-05-28 17:36:32,127 WARNING [20260528_085721_2f2088] run_agent: Tool terminal returned error (60.19s): {"output": "[Command timed out after 60s]", "exit_code": 124, "error": null} 2026-05-29 02:00:48,776 WARNING [cron_3ce78c2f616f_20260529_020039] run_agent: Tool terminal returned error (0.33s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -delete. Asking the 2026-05-29 02:00:55,404 WARNING [cron_3ce78c2f616f_20260529_020039] run_agent: Tool terminal returned error (0.12s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-05-30 02:01:00,258 WARNING [cron_3ce78c2f616f_20260530_020047] run_agent: Tool terminal returned error (0.32s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nBACKUP_DIR=\"/root/.hermes/backups\" && \\\nDATE=$( 2026-05-30 02:01:02,993 WARNING [cron_3ce78c2f616f_20260530_020047] run_agent: Tool terminal returned error (0.08s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-05-30 17:32:00,465 WARNING [20260530_173147_b638ad] run_agent: Tool terminal returned error (1.15s): {"output": "/usr/bin/curl\n/usr/bin/wget\n/root/.hermes/hermes-agent/venv/bin/python3\n/usr/bin/grep\n/usr/bin/sed\nldapsearch\nldbsearch", "exit_code": 1, "error": null, "exit_code_meaning": "No matc 2026-05-30 17:32:37,592 WARNING [20260530_173147_b638ad] run_agent: Tool write_file returned error (1.04s): {"bytes_written": 10048, "dirs_created": true, "lint": {"status": "error", "output": "JSONDecodeError: Invalid \\escape (line 94, column 132)"}} 2026-05-30 17:33:53,454 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-30 17:33:56,713 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-30 17:33:59,891 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-30 17:34:03,079 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-30 17:34:06,270 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-30 17:34:06,276 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-05-30 17:34:06,773 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-30 17:34:09,960 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-30 17:34:13,140 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-30 17:34:16,344 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-30 17:34:19,513 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-30 17:34:19,533 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-31 02:01:11,427 WARNING [cron_3ce78c2f616f_20260531_020032] run_agent: Tool terminal returned error (26.09s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nDATE=$(date +%Y%m%d) && \\\nBACKUP_FILE=\"/root/.he 2026-05-31 02:01:14,975 WARNING [cron_3ce78c2f616f_20260531_020032] run_agent: Tool terminal returned error (0.21s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -exec rm. Asking th 2026-05-31 02:01:18,635 WARNING [cron_3ce78c2f616f_20260531_020032] run_agent: Tool terminal returned error (0.12s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-05-31 02:01:27,741 WARNING [cron_3ce78c2f616f_20260531_020032] run_agent: Tool execute_code returned error (5.59s): {"status": "error", "output": "\n--- stderr ---\nTraceback (most recent call last):\n File \"/tmp/hermes_sandbox_819tnvna/script.py\", line 21, in \n seven_days_ago = os.time() - 7 * 86400 2026-05-31 17:31:29,297 WARNING [cron_5063251e7794_20260531_173039] run_agent: Tool terminal returned error (0.79s): {"output": "Traceback (most recent call last):\n File \"\", line 2, in \nModuleNotFoundError: No module named 'hermes_tools'", "exit_code": 1, "error": null} 2026-05-31 17:31:59,159 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (1.28s): {"error": "API error 404: /api/v1/products?q=%E5%8D%97%E5%BC%80%E5%A4%A7%E5%AD%A6+%E4%B8%AD%E5%B1%B1%E5%A4%A7%E5%AD%A6+%E8%AE%BA%E6%96%87%E9%80%A0%E5%81%87+%E5%A4%84%E7%90%86&page=1&pageSize=10"} 2026-05-31 17:32:00,323 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.16s): {"error": "API error 404: /api/v1/products?q=%E6%B5%B7%E5%8F%A3%E8%80%81%E5%B8%88%E8%B5%9B%E8%AF%BE%E6%97%B6%E7%8C%9D%E6%AD%BB&page=1&pageSize=10"} 2026-05-31 17:32:01,415 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.09s): {"error": "API error 404: /api/v1/products?q=Anthroooic+CEO+wealth+80+billion+Claude+AI&page=1&pageSize=10"} [Tool loop warning: same_tool_failure_warning; count=3; mcp_tanxin_search_products has fai 2026-05-31 17:32:02,418 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 3 consecutive failures. Auto-retry available in ~58s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-05-31 17:32:03,419 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 3 consecutive failures. Auto-retry available in ~57s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-05-31 17:32:04,425 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 3 consecutive failures. Auto-retry available in ~56s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-05-31 17:32:05,428 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 3 consecutive failures. Auto-retry available in ~55s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-05-31 17:32:06,432 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 3 consecutive failures. Auto-retry available in ~54s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-05-31 17:32:07,433 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 3 consecutive failures. Auto-retry available in ~53s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-05-31 17:32:08,435 WARNING [20260531_173150_2634b2] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 3 consecutive failures. Auto-retry available in ~52s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-05-31 17:33:51,338 WARNING [cron_5063251e7794_20260531_173039] run_agent: API call failed (attempt 1/3) error_type=APIStatusError thread=ThreadPoolExecutor-90_0:139820834735808 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 summary=HTTP 200: output new_sensitive (1027) 2026-05-31 17:33:51,347 WARNING [cron_5063251e7794_20260531_173039] run_agent: Retrying API call in 2.1066096422372533s (attempt 1/3) thread=ThreadPoolExecutor-90_0:139820834735808 provider=minimax-cn base_url=https://api.minimaxi.com/anthropic model=MiniMax-M2.7 error={'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-05-31 17:34:39,342 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-31 17:34:42,697 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-31 17:34:45,903 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-31 17:34:49,089 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-31 17:34:52,289 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-31 17:34:52,296 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-05-31 17:34:52,784 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-31 17:34:55,963 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-31 17:34:59,152 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-31 17:35:02,326 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-05-31 17:35:05,527 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-05-31 17:35:05,548 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-01 02:00:34,688 WARNING [cron_3ce78c2f616f_20260601_020018] run_agent: Tool terminal returned error (0.23s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nDATE=$(date +%Y%m%d) && \\\nBACKUP_FILE=\"/root/.he 2026-06-01 02:00:41,860 WARNING [cron_3ce78c2f616f_20260601_020018] run_agent: Tool terminal returned error (0.08s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-06-01 02:00:53,015 WARNING [cron_3ce78c2f616f_20260601_020018] run_agent: Tool execute_code returned error (5.11s): {"status": "error", "output": "\n--- stderr ---\nTraceback (most recent call last):\n File \"/tmp/hermes_sandbox_kn9xltnj/script.py\", line 24, in \n if os.path.getmtime(old) < os.time.tim 2026-06-01 06:07:54,425 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.166.110 2026-06-01 06:08:04,761 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.166.110 failed: 2026-06-01 06:08:15,051 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.166.110 2026-06-01 06:08:28,569 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org path unreachable; using sticky fallback IP 149.154.166.110 2026-06-01 17:32:17,473 WARNING [cron_5063251e7794_20260601_173033] run_agent: Tool delegate_task returned error (0.01s): {"error": "Too many tasks: 4 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-06-01 17:32:33,958 WARNING [20260601_173226_3b40f9] run_agent: Tool mcp_tanxin_get_stats returned error (2.07s): {"error": "API error 404: /api/v1/stats"} 2026-06-01 17:32:34,107 WARNING [20260601_173225_5a0b00] run_agent: Tool mcp_tanxin_search_products returned error (0.66s): {"error": "API error 404: /api/v1/products?q=Manus+AI+agent&page=1&pageSize=10"} 2026-06-01 17:32:35,110 WARNING [20260601_173225_5a0b00] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 5 consecutive failures. Auto-retry available in ~58s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-06-01 17:32:38,693 WARNING [20260601_173225_5a0b00] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 5 consecutive failures. Auto-retry available in ~55s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-06-01 17:32:39,694 WARNING [20260601_173225_5a0b00] run_agent: Tool mcp_tanxin_search_products returned error (0.00s): {"error": "MCP server 'tanxin' is unreachable after 5 consecutive failures. Auto-retry available in ~54s. Do NOT retry this tool yet — use alternative approaches or ask the user to check the MCP serve 2026-06-01 17:34:36,585 WARNING run_agent: Streaming failed after partial delivery, not retrying: {'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-06-01 17:34:36,641 WARNING [cron_5063251e7794_20260601_173033] run_agent: Partial stream delivered before error; returning stub response with 0 chars of recovered content to prevent duplicate messages: {'type': 'error', 'error': {'type': 'api_error', 'message': 'output new_sensitive (1027)'}} 2026-06-01 17:35:49,984 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-01 17:35:53,195 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-01 17:35:56,381 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-01 17:35:59,559 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-01 17:36:02,744 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-01 17:36:02,752 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-06-01 17:36:03,378 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-01 17:36:06,573 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-01 17:36:09,754 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-01 17:36:12,947 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-01 17:36:16,141 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-01 17:36:16,164 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-02 02:01:01,798 WARNING [cron_3ce78c2f616f_20260602_020048] run_agent: Tool terminal returned error (0.28s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -delete. Asking the 2026-06-02 02:01:15,607 WARNING [cron_3ce78c2f616f_20260602_020048] run_agent: Tool terminal returned error (0.11s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-06-02 02:01:23,476 WARNING [cron_3ce78c2f616f_20260602_020048] run_agent: Tool execute_code returned error (3.42s): {"status": "error", "output": "\n--- stderr ---\nTraceback (most recent call last):\n File \"/tmp/hermes_sandbox_iu1nmrkt/script.py\", line 6, in \n DATE = datetime.now().strftime(\"%Y%m%d 2026-06-02 17:31:16,253 WARNING [cron_5063251e7794_20260602_173002] run_agent: Tool delegate_task returned error (0.01s): {"error": "Too many tasks: 5 provided, but max_concurrent_children is 3. Either reduce the task count, split into multiple delegate_task calls, or increase delegation.max_concurrent_children in config 2026-06-02 17:32:40,717 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-02 17:32:43,941 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-02 17:32:47,140 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-02 17:32:50,335 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-02 17:32:53,506 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-02 17:32:53,511 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-06-02 17:32:54,033 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-02 17:32:57,220 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-02 17:33:00,396 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-02 17:33:03,620 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-02 17:33:06,818 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-02 17:33:07,038 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-02 20:20:26,076 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.ReadError: 2026-06-02 20:20:26,200 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: httpx.ReadError: 2026-06-03 02:00:36,557 WARNING [cron_3ce78c2f616f_20260603_020022] run_agent: Tool terminal returned error (0.24s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nDATE=$(date +%Y%m%d) && \\\nBACKUP_FILE=\"/root/.he 2026-06-03 02:00:42,185 WARNING [cron_3ce78c2f616f_20260603_020022] run_agent: Tool terminal returned error (0.08s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-06-03 02:00:45,346 WARNING [cron_3ce78c2f616f_20260603_020022] run_agent: Tool terminal returned error (0.08s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-06-03 17:34:54,835 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-03 17:34:58,046 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-03 17:35:01,202 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-03 17:35:04,402 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-03 17:35:07,581 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-03 17:35:07,592 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-06-03 17:35:08,254 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-03 17:35:11,460 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-03 17:35:14,635 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-03 17:35:17,827 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-03 17:35:21,007 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-03 17:35:21,055 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-04 02:00:49,903 WARNING [cron_3ce78c2f616f_20260604_020035] run_agent: Tool terminal returned error (0.33s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nBACKUP_DIR=\"/root/.hermes/backups\" && \\\nDATE=$( 2026-06-04 02:00:53,186 WARNING [cron_3ce78c2f616f_20260604_020035] run_agent: Tool terminal returned error (0.08s): {"output": "", "exit_code": -1, "error": "⚠️ find -exec rm. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nBACKUP_DIR=\"/root/.hermes/backups\" && \\\nDATE=$ 2026-06-04 02:00:55,809 WARNING [cron_3ce78c2f616f_20260604_020035] run_agent: Tool terminal returned error (0.14s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-06-04 02:01:03,893 WARNING [cron_3ce78c2f616f_20260604_020035] run_agent: Tool execute_code returned error (3.42s): {"status": "error", "output": "\n--- stderr ---\n File \"/tmp/hermes_sandbox_cunm4lpr/script.py\", line 27\n kept +=\n ^\nSyntaxError: invalid syntax\n", "tool_calls_made": 0, "duration_ 2026-06-04 16:49:44,093 WARNING [20260528_085721_2f2088] run_agent: Tool terminal returned error (27.01s): {"output": "[Command interrupted]", "exit_code": 130, "error": null} 2026-06-05 02:01:14,306 WARNING [cron_3ce78c2f616f_20260605_020030] run_agent: Tool terminal returned error (0.17s): {"output": "", "exit_code": -1, "error": "⚠️ find -delete. Asking the user for approval.\n\n**Command:**\n```\nmkdir -p /root/.hermes/backups && \\\nBACKUP_DIR=\"/root/.hermes/backups\" && \\\nDATE=$( 2026-06-05 02:01:18,841 WARNING [cron_3ce78c2f616f_20260605_020030] run_agent: Tool terminal returned error (0.08s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location. Asking the user for appr 2026-06-05 09:11:00,307 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: Bad Gateway 2026-06-05 09:11:00,398 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: Bad Gateway 2026-06-05 09:11:29,200 ERROR telegram.ext.Updater: Error while calling `get_updates` one more time to mark all fetched updates. Suppressing error to ensure graceful shutdown. When polling for updates is restarted, updates may be fetched again. Please adjust timeouts via `ApplicationBuilder` or the parameter `get_updates_request` of `Bot`. Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/connection.py", line 103, in handle_async_request return await self._connection.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 136, in handle_async_request raise exc File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 106, in handle_async_request ) = await self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 177, in _receive_response_headers event = await self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_async/http11.py", line 217, in _receive_event data = await self._network_stream.read( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_backends/anyio.py", line 32, in read with map_exceptions(exc_map): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/usr/lib64/python3.11/contextlib.py", line 155, in __exit__ self.gen.throw(typ, value, traceback) File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ReadTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_updater.py", line 400, in _get_updates_cleanup await self.bot.get_updates( File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 672, in get_updates updates = await super().get_updates( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 4865, in get_updates await self._post( File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/root/.hermes/hermes-agent/venv/lib64/python3.11/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request raise TimedOut from err telegram.error.TimedOut: Timed out 2026-06-05 17:31:35,783 WARNING [cron_5063251e7794_20260605_173055] run_agent: Tool skill_view returned error (0.76s): {"success": false, "error": "Skill 'web' not found.", "available_skills": ["architecture-diagram", "dogfood", "wechat-media-retry", "yuanbao", "claude-code", "codex", "hermes-agent", "opencode", "asci 2026-06-05 17:32:22,603 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-05 17:32:25,800 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-05 17:32:28,988 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-05 17:32:32,163 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-05 17:32:35,341 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-05 17:32:35,347 WARNING cron.scheduler: Job '5063251e7794': live adapter send to weixin:o9cq801Q4BDVa20m46H0KTKRUOjo@im.wechat failed (iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited), falling back to standalone 2026-06-05 17:32:35,841 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-05 17:32:39,031 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-05 17:32:42,201 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-05 17:32:45,367 WARNING gateway.platforms.weixin: [Weixin] rate limited for o9cq801Q; backing off 3.0s before retry 2026-06-05 17:32:48,544 ERROR gateway.platforms.weixin: [Weixin] send failed to=o9cq801Q: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-05 17:32:48,575 ERROR cron.scheduler: Job '5063251e7794': delivery error: Weixin send failed: iLink sendmessage rate limited: ret=-2 errcode=None errmsg=rate limited 2026-06-06 02:00:23,858 WARNING [cron_3ce78c2f616f_20260606_020003] run_agent: Tool terminal returned error (0.25s): {"output": "", "exit_code": -1, "error": "⚠️ Security scan — [MEDIUM] Archive extraction to sensitive path: Archive command 'tar' extracts to a potentially sensitive location; find -delete. Asking the