--- hermes dump --- version: 0.9.0 (2026.4.13) [e69526be] os: Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 python: 3.11.15 openai_sdk: 2.31.0 profile: default hermes_home: ~/.hermes model: gemma4:e4b-it-q8_0 provider: custom terminal: local api_keys: openrouter set openai not set anthropic not set anthropic_token not set nous not set glm/zai not set zai not set kimi not set minimax not set deepseek not set dashscope not set huggingface not set ai_gateway not set opencode_zen not set opencode_go not set kilocode not set firecrawl not set tavily not set browserbase not set fal not set elevenlabs not set github not set features: toolsets: hermes-cli mcp_servers: 0 memory_provider: built-in gateway: running (systemd) platforms: telegram cron_jobs: 0 skills: 79 config_overrides: display.streaming: True --- end dump --- --- full agent.log --- 2026-04-15 17:40:44,709 INFO run_agent: Loaded environment variables from /home/sim/.hermes/.env 2026-04-15 17:40:46,518 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:40:46,623 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:40:46,859 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:40:46,988 INFO tools.tirith_security: tirith not found — downloading latest release for x86_64-unknown-linux-gnu... 2026-04-15 17:40:52,311 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:40:55,916 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:40:58,336 ERROR [20260415_174046_1702f9] root: Non-retryable client error: Error code: 404 2026-04-15 17:41:32,038 ERROR [20260415_174046_1702f9] root: Non-retryable client error: Error code: 404 2026-04-15 17:41:38,737 ERROR [20260415_174046_1702f9] root: Non-retryable client error: Error code: 404 2026-04-15 17:41:54,858 ERROR [20260415_174046_1702f9] root: Non-retryable client error: Error code: 404 2026-04-15 17:42:01,039 INFO gateway.run: Starting Hermes Gateway... 2026-04-15 17:42:01,039 INFO gateway.run: Session storage: /home/sim/.hermes/sessions 2026-04-15 17:42:01,447 INFO gateway.run: Connecting to telegram... 2026-04-15 17:42:02,615 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220 2026-04-15 17:42:02,615 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-15 17:42:02,616 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-15 17:42:04,170 INFO telegram.ext.Application: Application started 2026-04-15 17:42:05,509 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 9 hidden (over 100 limit). Use /commands for full list. 2026-04-15 17:42:05,509 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-15 17:42:05,510 INFO gateway.run: ✓ telegram connected 2026-04-15 17:42:05,511 INFO gateway.run: 1 hook(s) loaded 2026-04-15 17:42:05,511 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-15 17:42:05,528 INFO gateway.run: Channel directory built: 0 target(s) 2026-04-15 17:42:05,528 INFO gateway.run: Press Ctrl+C to stop 2026-04-15 17:42:05,542 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-15 17:42:10,711 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:42:26,539 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:42:37,417 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:42:52,579 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:42:56,138 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:43:11,816 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:43:28,656 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:43:44,492 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:44:05,277 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:44:10,657 INFO run_agent: Loaded environment variables from /home/sim/.hermes/.env 2026-04-15 17:44:11,557 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:44:11,618 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:44:11,865 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:44:13,718 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:44:15,501 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:44:22,935 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:44:40,625 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:44:57,290 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:45:16,829 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:45:24,275 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:45:24,276 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (gemini-3.1-pro-preview) at https://generativelanguage.googleapis.com/v1beta/openai/ 2026-04-15 17:45:32,664 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:45:52,850 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:46:08,524 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:46:29,064 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:46:44,644 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:47:04,155 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:47:20,027 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:47:40,244 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:47:56,609 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:47:58,774 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (gemini-3.1-pro-preview) at https://generativelanguage.googleapis.com/v1beta/openai/ 2026-04-15 17:48:16,320 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:48:32,385 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:48:51,947 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:49:08,415 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:49:28,783 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:49:44,869 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:50:04,237 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:50:19,997 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:50:33,142 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (143 chars) 2026-04-15 17:50:33,143 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg='Actually we can build upon the openclaw or heemes-agent. As they have implements' 2026-04-15 17:50:36,555 INFO run_agent: Loaded environment variables from /home/sim/.hermes/.env 2026-04-15 17:50:37,498 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:50:39,542 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider gemini (gemini-3.1-pro-preview) 2026-04-15 17:50:39,909 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:50:52,492 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:51:25,213 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:51:36,992 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:52:09,793 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:52:23,148 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:52:56,174 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:53:07,307 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:53:40,814 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:53:52,614 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:54:26,014 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:54:37,779 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:55:41,875 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:55:54,095 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:56:27,402 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:56:40,230 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:57:13,969 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:57:25,719 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:57:59,286 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:58:11,103 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 17:58:14,474 INFO gateway.run: Received SIGTERM/SIGINT — initiating shutdown 2026-04-15 17:58:14,481 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sim 1973 3.3 4.2 2260932 695204 ? Ssl 16:39 2:40 openclaw-gateway sim 19120 90.9 0.2 48708 38572 pts/0 S+ 17:58 0:00 /home/sim/.hermes/hermes-agent/venv/bin/python3 /home/sim/.local/bin/hermes gateway stop sim 19122 0.0 0.0 14648 5888 pts/0 S+ 17:58 0:00 systemctl --user stop hermes-gateway 2026-04-15 17:58:14,482 INFO gateway.run: Stopping gateway... 2026-04-15 17:58:16,178 INFO gateway.run: Sent shutdown notification to telegram:1219203721 2026-04-15 17:58:43,666 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-15 17:58:55,447 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-15 20:12:52,693 INFO gateway.run: Starting Hermes Gateway... 2026-04-15 20:12:52,693 INFO gateway.run: Session storage: /home/sim/.hermes/sessions 2026-04-15 20:12:52,904 INFO gateway.run: Connecting to telegram... 2026-04-15 20:12:54,394 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220 2026-04-15 20:12:54,394 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-15 20:12:54,395 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-15 20:12:57,055 INFO telegram.ext.Application: Application started 2026-04-15 20:12:59,173 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 9 hidden (over 100 limit). Use /commands for full list. 2026-04-15 20:12:59,174 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-15 20:12:59,175 INFO gateway.run: ✓ telegram connected 2026-04-15 20:12:59,175 INFO gateway.run: 1 hook(s) loaded 2026-04-15 20:12:59,175 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-15 20:12:59,185 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-15 20:12:59,186 INFO gateway.run: Press Ctrl+C to stop 2026-04-15 20:12:59,235 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-15 20:13:03,542 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (2 chars) 2026-04-15 20:13:03,543 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg='Hi' 2026-04-15 20:13:04,622 INFO run_agent: Loaded environment variables from /home/sim/.hermes/.env 2026-04-15 20:13:05,638 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 20:13:09,637 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider gemini (gemini-3.1-pro-preview) 2026-04-15 20:13:28,004 INFO [20260415_175033_cfb10b4d] agent.credential_pool: credential pool: marking GOOGLE_API_KEY exhausted (status=429), rotating 2026-04-15 20:13:28,028 INFO [20260415_175033_cfb10b4d] agent.credential_pool: credential pool: no available entries (all exhausted or empty) 2026-04-15 20:13:40,427 INFO [20260415_175033_cfb10b4d] agent.credential_pool: credential pool: no available entries (all exhausted or empty) 2026-04-15 20:13:40,427 ERROR [20260415_175033_cfb10b4d] root: API call failed after 3 retries. HTTP 429: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}] | provider=gemini model=gemini-3.1-pro-preview msgs=2 tokens=~3,874 2026-04-15 20:13:40,479 INFO gateway.run: response ready: platform=telegram chat=1219203721 time=36.9s api_calls=1 response=181 chars 2026-04-15 20:13:40,601 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider gemini (gemini-3.1-pro-preview) 2026-04-15 20:13:40,601 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (gemini-3.1-pro-preview) at https://generativelanguage.googleapis.com/v1beta/openai/ 2026-04-15 20:13:40,622 INFO gateway.platforms.base: [Telegram] Sending response (181 chars) to 1219203721 2026-04-15 20:53:54,259 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.RemoteProtocolError: Server disconnected without sending a response. 2026-04-15 20:53:54,265 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-15 20:54:09,271 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220 2026-04-15 20:54:19,275 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed: 2026-04-15 20:54:19,277 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 "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request raise exc File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request stream = await self._connect(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 124, in _connect stream = await self._network_backend.connect_tcp(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp return await self._backend.connect_tcp( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 113, in connect_tcp with map_exceptions(exc_map): File "/home/sim/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 114, in handle_async_request raise last_error File "/home/sim/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/home/sim/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_updater.py", line 400, in _get_updates_cleanup await self.bot.get_updates( File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_extbot.py", line 672, in get_updates updates = await super().get_updates( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 4865, in get_updates await self._post( File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request raise TimedOut from err telegram.error.TimedOut: Timed out 2026-04-15 20:54:28,422 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220 2026-04-15 20:54:38,428 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed: 2026-04-15 20:54:38,429 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 "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request raise exc File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request stream = await self._connect(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 124, in _connect stream = await self._network_backend.connect_tcp(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp return await self._backend.connect_tcp( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 113, in connect_tcp with map_exceptions(exc_map): File "/home/sim/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 114, in handle_async_request raise last_error File "/home/sim/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/home/sim/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop await do_action() File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 136, in do_action await action_cb() File "/home/sim/.hermes/hermes-agent/venv/lib/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 "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_extbot.py", line 1490, in delete_webhook return await super().delete_webhook( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 5037, in delete_webhook return await self._post( ^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request raise TimedOut from err telegram.error.TimedOut: Timed out 2026-04-15 20:54:38,437 WARNING gateway.platforms.telegram: [Telegram] Telegram polling reconnect failed: Timed out 2026-04-15 20:54:38,437 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 2/10), reconnecting in 10s. Error: Timed out 2026-04-15 20:54:57,487 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220 2026-04-15 20:55:07,490 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed: 2026-04-15 20:55:07,491 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 "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request raise exc File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request stream = await self._connect(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 124, in _connect stream = await self._network_backend.connect_tcp(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp return await self._backend.connect_tcp( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 113, in connect_tcp with map_exceptions(exc_map): File "/home/sim/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 114, in handle_async_request raise last_error File "/home/sim/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/home/sim/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop await do_action() File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 136, in do_action await action_cb() File "/home/sim/.hermes/hermes-agent/venv/lib/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 "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_extbot.py", line 1490, in delete_webhook return await super().delete_webhook( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 5037, in delete_webhook return await self._post( ^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request raise TimedOut from err telegram.error.TimedOut: Timed out 2026-04-15 20:55:07,501 WARNING gateway.platforms.telegram: [Telegram] Telegram polling reconnect failed: Timed out 2026-04-15 20:55:07,501 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 3/10), reconnecting in 20s. Error: Timed out 2026-04-15 20:55:31,444 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after network error (attempt 3) 2026-04-15 21:23:35,951 INFO gateway.run: Received SIGTERM/SIGINT — initiating shutdown 2026-04-15 21:23:35,965 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sim 93898 84.2 0.2 48708 38440 pts/0 S+ 21:23 0:00 /home/sim/.hermes/hermes-agent/venv/bin/python3 /home/sim/.local/bin/hermes gateway stop sim 93900 0.0 0.0 14648 5632 pts/0 S+ 21:23 0:00 systemctl --user stop hermes-gateway 2026-04-15 21:23:35,966 INFO gateway.run: Stopping gateway... 2026-04-15 21:23:39,806 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-15 21:23:39,809 INFO telegram.ext.Application: Application.stop() complete 2026-04-15 21:23:39,821 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-15 21:23:39,822 INFO gateway.run: ✓ telegram disconnected 2026-04-15 21:23:39,828 INFO gateway.run: Gateway stopped 2026-04-15 21:23:39,829 INFO gateway.run: Cron ticker stopped 2026-04-15 21:23:39,830 INFO gateway.run: Exiting with code 1 (signal-initiated shutdown without restart request) so systemd Restart=on-failure can revive the gateway. 2026-04-15 21:23:48,681 INFO gateway.run: Starting Hermes Gateway... 2026-04-15 21:23:48,681 INFO gateway.run: Session storage: /home/sim/.hermes/sessions 2026-04-15 21:23:48,683 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-15 21:23:48,906 INFO gateway.run: Connecting to telegram... 2026-04-15 21:23:50,837 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220 2026-04-15 21:23:50,838 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-15 21:23:50,838 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-15 21:23:52,681 INFO telegram.ext.Application: Application started 2026-04-15 21:23:53,893 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 9 hidden (over 100 limit). Use /commands for full list. 2026-04-15 21:23:53,893 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-15 21:23:53,894 INFO gateway.run: ✓ telegram connected 2026-04-15 21:23:53,894 INFO gateway.run: 1 hook(s) loaded 2026-04-15 21:23:53,895 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-15 21:23:53,910 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-15 21:23:53,910 INFO gateway.run: Press Ctrl+C to stop 2026-04-15 21:23:53,973 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-15 21:27:04,280 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (5 chars) 2026-04-15 21:27:04,281 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg='Hello' 2026-04-15 21:27:04,783 INFO run_agent: Loaded environment variables from /home/sim/.hermes/.env 2026-04-15 21:27:05,854 INFO agent.auxiliary_client: Vision auto-detect: using active provider gemini (gemini-3.1-pro-preview) 2026-04-15 21:27:11,236 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider gemini (gemini-3.1-pro-preview) 2026-04-15 21:31:49,671 INFO [20260415_175033_cfb10b4d] agent.credential_pool: credential pool: marking GOOGLE_API_KEY exhausted (status=429), rotating 2026-04-15 21:31:49,696 INFO [20260415_175033_cfb10b4d] agent.credential_pool: credential pool: no available entries (all exhausted or empty) 2026-04-15 21:31:49,697 ERROR [20260415_175033_cfb10b4d] root: API call failed after 3 retries. HTTP 429: Error code: 429 - [{'error': {'code': 429, 'message': 'Resource has been exhausted (e.g. check quota).', 'status': 'RESOURCE_EXHAUSTED'}}] | provider=gemini model=gemini-3.1-pro-preview msgs=3 tokens=~3,883 2026-04-15 21:31:49,729 INFO gateway.run: response ready: platform=telegram chat=1219203721 time=285.4s api_calls=1 response=181 chars 2026-04-15 21:31:49,809 INFO gateway.platforms.base: [Telegram] Sending response (181 chars) to 1219203721 2026-04-15 21:31:49,843 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider gemini (gemini-3.1-pro-preview) 2026-04-15 21:31:49,843 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (gemini-3.1-pro-preview) at https://generativelanguage.googleapis.com/v1beta/openai/ 2026-04-15 21:36:25,640 INFO agent.model_metadata: Cached context length gemma4:e4b-it-q8_0@http://172.20.240.1:11434/v1 -> 131,072 tokens 2026-04-15 21:36:25,640 INFO root: Model switched in-place: gemini-3.1-pro-preview (gemini) -> gemma4:e4b-it-q8_0 (custom:gemma4) 2026-04-15 21:36:30,888 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (2 chars) 2026-04-15 21:36:30,889 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg='Hi' 2026-04-15 21:36:31,167 INFO [20260415_175033_cfb10b4d] agent.auxiliary_client: Vision auto-detect: using active provider custom (gemma4:e4b-it-q8_0) 2026-04-15 21:36:31,491 INFO [20260415_175033_cfb10b4d] agent.auxiliary_client: Auxiliary auto-detect: using main provider custom:gemma4 (gemma4:e4b-it-q8_0) 2026-04-15 21:38:31,830 INFO gateway.run: response ready: platform=telegram chat=1219203721 time=120.9s api_calls=1 response=37 chars 2026-04-15 21:38:31,869 INFO gateway.platforms.base: [Telegram] Sending response (37 chars) to 1219203721 2026-04-15 21:42:26,416 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (23 chars) 2026-04-15 21:42:26,416 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg="I'm good. Who are you ?" 2026-04-15 21:42:42,327 INFO gateway.run: response ready: platform=telegram chat=1219203721 time=15.9s api_calls=1 response=223 chars 2026-04-15 21:42:42,371 INFO gateway.platforms.base: [Telegram] Sending response (223 chars) to 1219203721 2026-04-15 21:43:01,608 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (18 chars) 2026-04-15 21:43:01,609 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg="What's your name ?" 2026-04-15 21:43:10,860 INFO gateway.run: response ready: platform=telegram chat=1219203721 time=9.3s api_calls=1 response=53 chars 2026-04-15 21:43:10,899 INFO gateway.platforms.base: [Telegram] Sending response (53 chars) to 1219203721 2026-04-15 21:44:26,174 INFO gateway.run: Received SIGTERM/SIGINT — initiating shutdown 2026-04-15 21:44:26,183 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sim 101368 90.2 0.2 48688 38316 pts/0 S+ 21:44 0:01 /home/sim/.hermes/hermes-agent/venv/bin/python3 /home/sim/.local/bin/hermes gateway stop sim 101370 0.0 0.0 14648 5760 pts/0 S+ 21:44 0:00 systemctl --user stop hermes-gateway 2026-04-15 21:44:26,184 INFO gateway.run: Stopping gateway... 2026-04-15 21:44:32,625 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-15 21:44:32,625 INFO telegram.ext.Application: Application.stop() complete 2026-04-15 21:44:32,627 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-15 21:44:32,627 INFO gateway.run: ✓ telegram disconnected 2026-04-15 21:44:32,628 INFO gateway.run: Gateway stopped 2026-04-15 21:44:32,628 INFO gateway.run: Cron ticker stopped 2026-04-15 21:44:32,628 INFO gateway.run: Exiting with code 1 (signal-initiated shutdown without restart request) so systemd Restart=on-failure can revive the gateway. 2026-04-16 10:10:47,975 INFO gateway.run: Starting Hermes Gateway... 2026-04-16 10:10:48,022 INFO gateway.run: Session storage: /home/sim/.hermes/sessions 2026-04-16 10:10:48,098 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-16 10:10:49,664 INFO gateway.run: Connecting to telegram... 2026-04-16 10:10:51,122 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220 2026-04-16 10:10:51,123 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-16 10:10:51,123 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-16 10:10:54,602 INFO telegram.ext.Application: Application started 2026-04-16 10:10:56,551 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 9 hidden (over 100 limit). Use /commands for full list. 2026-04-16 10:10:56,552 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-16 10:10:56,553 INFO gateway.run: ✓ telegram connected 2026-04-16 10:10:56,571 INFO gateway.run: 1 hook(s) loaded 2026-04-16 10:10:56,571 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-16 10:10:56,654 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-16 10:10:56,654 INFO gateway.run: Press Ctrl+C to stop 2026-04-16 10:10:56,976 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-16 10:11:55,993 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:11:56,144 INFO gateway.run: Session expiry: 1 sessions to flush (telegram:1) 2026-04-16 10:12:00,179 INFO run_agent: Loaded environment variables from /home/sim/.hermes/.env 2026-04-16 10:12:10,554 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (gemma4:e4b-it-q8_0) 2026-04-16 10:12:11,162 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:12:18,006 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:12:35,978 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:12:50,622 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:13:08,834 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:13:18,203 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:13:33,985 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:13:53,611 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:14:09,641 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:14:29,329 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:14:45,348 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:15:04,719 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:15:20,617 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:15:40,084 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:15:55,036 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:16:15,310 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:16:30,644 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 10:16:33,277 WARNING gateway.run: Unrecognized slash command /models from telegram — replying with unknown-command notice 2026-04-16 10:16:33,279 INFO gateway.platforms.base: [Telegram] Sending response (132 chars) to 1219203721 2026-04-16 10:16:50,624 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 10:16:52,213 INFO gateway.run: Received SIGTERM/SIGINT — initiating shutdown 2026-04-16 10:16:52,233 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sim 426 12.0 3.5 2230484 569908 ? Ssl 10:10 0:46 openclaw-gateway sim 1242 82.6 0.2 48828 38364 pts/0 S+ 10:16 0:00 /home/sim/.hermes/hermes-agent/venv/bin/python3 /home/sim/.local/bin/hermes gateway stop sim 1244 0.0 0.0 14648 5888 pts/0 S+ 10:16 0:00 systemctl --user stop hermes-gateway 2026-04-16 10:16:52,234 INFO gateway.run: Stopping gateway... 2026-04-16 10:16:52,234 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-16 10:16:52,234 INFO telegram.ext.Application: Application.stop() complete 2026-04-16 10:16:52,235 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-16 10:16:52,235 INFO gateway.run: ✓ telegram disconnected 2026-04-16 10:16:52,264 INFO gateway.run: Gateway stopped 2026-04-16 10:16:52,265 INFO gateway.run: Cron ticker stopped 2026-04-16 10:16:52,265 INFO gateway.run: Exiting with code 1 (signal-initiated shutdown without restart request) so systemd Restart=on-failure can revive the gateway. 2026-04-16 21:16:37,754 INFO gateway.run: Starting Hermes Gateway... 2026-04-16 21:16:37,805 INFO gateway.run: Session storage: /home/sim/.hermes/sessions 2026-04-16 21:16:37,863 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-16 21:16:39,183 INFO gateway.run: Connecting to telegram... 2026-04-16 21:16:41,917 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220 2026-04-16 21:16:41,918 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-16 21:16:41,918 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-16 21:16:44,547 INFO telegram.ext.Application: Application started 2026-04-16 21:16:46,494 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 9 hidden (over 100 limit). Use /commands for full list. 2026-04-16 21:16:46,494 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-16 21:16:46,496 INFO gateway.run: ✓ telegram connected 2026-04-16 21:16:46,497 INFO gateway.run: 1 hook(s) loaded 2026-04-16 21:16:46,497 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-16 21:16:46,574 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-16 21:16:46,574 INFO gateway.run: Press Ctrl+C to stop 2026-04-16 21:16:46,860 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-16 21:17:35,561 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 21:17:46,577 INFO gateway.run: Session expiry: 1 sessions to flush (telegram:1) 2026-04-16 21:17:49,395 INFO run_agent: Loaded environment variables from /home/sim/.hermes/.env 2026-04-16 21:17:54,443 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 21:17:59,654 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (gemma4:e4b-it-q8_0) 2026-04-16 21:18:17,396 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 21:18:34,562 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 21:18:41,664 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 21:18:57,710 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 21:19:12,771 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (2 chars) 2026-04-16 21:19:12,778 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg='Hi' 2026-04-16 21:19:13,601 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 21:19:15,141 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (gemma4:e4b-it-q8_0) 2026-04-16 21:19:23,245 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (gemma4:e4b-it-q8_0) 2026-04-16 21:19:26,716 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 21:19:52,016 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 21:19:52,722 INFO gateway.run: Received SIGTERM/SIGINT — initiating shutdown 2026-04-16 21:19:52,727 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sim 681 30.2 3.2 10500688 531908 ? Ssl 21:17 0:40 openclaw-gateway sim 871 90.9 0.2 48688 38440 pts/0 S+ 21:19 0:00 /home/sim/.hermes/hermes-agent/venv/bin/python3 /home/sim/.local/bin/hermes gateway stop sim 873 0.0 0.0 14648 5760 pts/0 S+ 21:19 0:00 systemctl --user stop hermes-gateway 2026-04-16 21:19:52,728 INFO gateway.run: Stopping gateway... 2026-04-16 21:19:55,314 INFO gateway.run: Sent shutdown notification to telegram:1219203721 2026-04-16 21:20:03,754 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-16 21:20:38,467 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-16 21:20:52,281 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:38:48,588 INFO gateway.run: Starting Hermes Gateway... 2026-04-17 10:38:48,627 INFO gateway.run: Session storage: /home/sim/.hermes/sessions 2026-04-17 10:38:50,717 INFO gateway.run: Connecting to telegram... 2026-04-17 10:38:52,253 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220 2026-04-17 10:38:52,253 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-17 10:38:52,253 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-17 10:38:53,701 INFO telegram.ext.Application: Application started 2026-04-17 10:38:56,123 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 9 hidden (over 100 limit). Use /commands for full list. 2026-04-17 10:38:56,124 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-17 10:38:56,124 INFO gateway.run: ✓ telegram connected 2026-04-17 10:38:56,125 INFO gateway.run: 1 hook(s) loaded 2026-04-17 10:38:56,125 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-17 10:38:56,267 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-17 10:38:56,268 INFO gateway.run: Press Ctrl+C to stop 2026-04-17 10:38:56,646 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-17 10:39:56,271 INFO gateway.run: Session expiry: 1 sessions to flush (telegram:1) 2026-04-17 10:39:56,305 INFO gateway.run: Session expiry done: 1 flushed 2026-04-17 10:40:03,348 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:40:18,567 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:40:26,454 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:40:41,324 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:40:56,906 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:41:12,773 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:41:22,551 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:41:38,663 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:41:57,551 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:42:13,571 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:42:32,288 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:42:48,473 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:43:06,657 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:43:23,130 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:43:41,905 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:43:57,871 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:44:16,863 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:44:33,959 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:44:51,730 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:45:07,723 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:45:26,371 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:45:42,434 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:46:02,555 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:46:16,413 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:46:18,143 INFO gateway.platforms.base: [Telegram] Sending response (204 chars) to 1219203721 2026-04-17 10:46:36,250 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-17 10:46:48,913 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-17 10:47:06,714 INFO gateway.run: Received SIGTERM/SIGINT — initiating shutdown 2026-04-17 10:47:06,773 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sim 402 9.5 3.3 2156712 551228 ? Ssl 10:38 0:50 openclaw-gateway sim 731 78.5 0.2 48692 38440 pts/0 S+ 10:47 0:00 /home/sim/.hermes/hermes-agent/venv/bin/python3 /home/sim/.local/bin/hermes gateway stop sim 733 0.0 0.0 14648 5632 pts/0 S+ 10:47 0:00 systemctl --user stop hermes-gateway 2026-04-17 10:47:06,774 INFO gateway.run: Stopping gateway... 2026-04-17 10:47:08,156 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-17 10:47:08,157 INFO telegram.ext.Application: Application.stop() complete 2026-04-17 10:47:08,160 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-17 10:47:08,160 INFO gateway.run: ✓ telegram disconnected 2026-04-17 10:47:10,586 INFO gateway.run: Gateway stopped 2026-04-17 10:47:10,586 INFO gateway.run: Cron ticker stopped 2026-04-17 10:47:11,295 INFO gateway.run: Exiting with code 1 (signal-initiated shutdown without restart request) so systemd Restart=on-failure can revive the gateway. 2026-04-19 09:42:56,735 INFO gateway.run: Starting Hermes Gateway... 2026-04-19 09:42:56,778 INFO gateway.run: Session storage: /home/sim/.hermes/sessions 2026-04-19 09:42:56,845 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-19 09:42:58,921 INFO gateway.run: Connecting to telegram... 2026-04-19 09:43:00,898 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220 2026-04-19 09:43:00,899 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-19 09:43:00,899 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-19 09:43:04,450 INFO telegram.ext.Application: Application started 2026-04-19 09:43:07,196 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 9 hidden (over 100 limit). Use /commands for full list. 2026-04-19 09:43:07,197 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-19 09:43:07,198 INFO gateway.run: ✓ telegram connected 2026-04-19 09:43:07,199 INFO gateway.run: 1 hook(s) loaded 2026-04-19 09:43:07,199 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-19 09:43:07,252 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-19 09:43:07,253 INFO gateway.run: Press Ctrl+C to stop 2026-04-19 09:43:07,711 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-19 09:44:07,257 INFO gateway.run: Session expiry: 1 sessions to flush (telegram:1) 2026-04-19 09:44:08,332 INFO gateway.run: Session expiry done: 1 flushed 2026-04-19 09:44:31,749 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:44:48,435 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:44:56,355 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:45:12,515 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:45:29,948 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:45:45,988 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:45:59,592 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:46:15,699 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:46:36,530 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:46:52,752 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:47:14,241 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:47:30,314 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:48:24,527 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:48:40,584 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:49:00,623 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:49:16,870 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:49:37,760 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:49:53,595 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:50:14,333 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:50:29,697 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:51:23,856 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:51:40,813 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:51:59,952 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:52:17,277 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:52:36,154 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:52:51,938 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:53:12,258 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:53:30,877 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:53:49,459 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:54:05,625 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:54:26,043 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:54:43,316 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:55:02,835 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:55:19,028 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:55:39,800 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:55:56,400 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:56:51,818 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:57:07,540 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:57:28,268 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:57:44,192 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:58:04,833 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:58:20,282 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:58:41,242 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:58:57,030 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:59:18,052 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 09:59:35,151 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 09:59:54,870 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 10:00:11,676 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 10:00:31,554 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 10:00:48,811 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after conflict retry 1 2026-04-19 10:01:08,006 WARNING gateway.platforms.telegram: [Telegram] Telegram polling conflict (1/3), will retry in 10s. Error: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running 2026-04-19 10:01:32,342 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220 2026-04-19 10:01:42,355 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed: 2026-04-19 10:01:42,357 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 "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request resp = await self._pool.handle_async_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request raise exc from None File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request response = await connection.handle_async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request raise exc File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request stream = await self._connect(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 156, in _connect stream = await stream.start_tls(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 67, in start_tls with map_exceptions(exc_map): File "/home/sim/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 279, in do_request res = await self._client.request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1540, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth response = await self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects response = await self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request response = await transport.handle_async_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 114, in handle_async_request raise last_error File "/home/sim/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request with map_httpcore_exceptions(): File "/home/sim/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/contextlib.py", line 158, in __exit__ self.gen.throw(typ, value, traceback) File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ConnectTimeout The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 161, in network_retry_loop await do_action() File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 136, in do_action await action_cb() File "/home/sim/.hermes/hermes-agent/venv/lib/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 "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_extbot.py", line 1490, in delete_webhook return await super().delete_webhook( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 5037, in delete_webhook return await self._post( ^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_extbot.py", line 370, in _do_post return await super()._do_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 305, in _request_wrapper code, payload = await self.do_request( ^^^^^^^^^^^^^^^^^^^^^^ File "/home/sim/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 296, in do_request raise TimedOut from err telegram.error.TimedOut: Timed out 2026-04-19 10:01:42,692 WARNING gateway.platforms.telegram: [Telegram] Telegram polling retry failed: Timed out 2026-04-20 00:12:00,994 INFO gateway.run: Stopping gateway for restart... 2026-04-20 00:12:01,977 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-20 00:12:02,197 INFO telegram.ext.Application: Application.stop() complete 2026-04-20 00:12:03,217 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-20 00:12:03,217 INFO gateway.run: ✓ telegram disconnected 2026-04-20 00:12:10,357 INFO gateway.run: Gateway stopped 2026-04-20 00:12:10,357 INFO gateway.run: Cron ticker stopped 2026-04-20 00:12:46,534 INFO gateway.run: Starting Hermes Gateway... 2026-04-20 00:12:46,535 INFO gateway.run: Session storage: /home/sim/.hermes/sessions 2026-04-20 00:12:46,650 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-20 00:12:48,125 INFO gateway.run: Connecting to telegram... 2026-04-20 00:12:50,198 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220 2026-04-20 00:12:50,199 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-20 00:12:50,199 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-20 00:12:55,494 INFO telegram.ext.Application: Application started 2026-04-20 00:12:57,211 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 9 hidden (over 100 limit). Use /commands for full list. 2026-04-20 00:12:57,211 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-20 00:12:57,212 INFO gateway.run: ✓ telegram connected 2026-04-20 00:12:57,213 INFO gateway.run: 1 hook(s) loaded 2026-04-20 00:12:57,213 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-20 00:12:57,234 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-20 00:12:57,234 INFO gateway.run: Press Ctrl+C to stop 2026-04-20 00:12:57,593 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-20 00:19:28,403 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (2 chars) 2026-04-20 00:19:28,414 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg='Hi' 2026-04-20 00:19:29,005 INFO run_agent: Loaded environment variables from /home/sim/.hermes/.env 2026-04-20 00:19:30,930 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (gemma4:e4b-it-q8_0) 2026-04-20 00:19:39,034 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (gemma4:e4b-it-q8_0) 2026-04-20 00:24:18,348 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220 2026-04-20 00:24:28,365 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed: 2026-04-20 00:24:40,802 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220 2026-04-20 00:24:44,081 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org path unreachable; using sticky fallback IP 149.154.167.220 2026-04-20 00:29:10,657 ERROR [20260420_001928_11951f13] root: API call failed after 3 retries. Request timed out. | provider=custom model=gemma4:e4b-it-q8_0 msgs=2 tokens=~3,933 2026-04-20 00:29:10,781 INFO gateway.run: response ready: platform=telegram chat=1219203721 time=582.4s api_calls=1 response=51 chars 2026-04-20 00:29:10,891 INFO gateway.platforms.base: [Telegram] Sending response (51 chars) to 1219203721 2026-04-20 00:29:10,958 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (gemma4:e4b-it-q8_0) 2026-04-20 00:29:10,959 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (gemma4:e4b-it-q8_0) at http://172.20.240.1:11434/v1/ 2026-04-20 00:30:42,339 INFO agent.auxiliary_client: Auxiliary title_generation: connection error on auto (Request timed out.), trying fallback 2026-04-20 00:30:42,375 INFO agent.auxiliary_client: Auxiliary title_generation: connection error on auto — falling back to openrouter (google/gemini-3-flash-preview) 2026-04-20 09:33:59,663 INFO gateway.run: Session expiry: 1 sessions to flush (telegram:1) 2026-04-20 09:34:00,244 INFO gateway.run: Session expiry done: 1 flushed 2026-04-20 17:33:14,864 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:1219203721 (2 chars) 2026-04-20 17:33:15,527 INFO gateway.run: inbound message: platform=telegram user=Sim chat=1219203721 msg='Hi' 2026-04-20 17:33:25,281 INFO [20260420_001928_11951f13] agent.auxiliary_client: Vision auto-detect: using active provider custom (gemma4:e4b-it-q8_0) 2026-04-20 17:33:34,001 INFO [20260420_001928_11951f13] agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (gemma4:e4b-it-q8_0) 2026-04-20 17:43:15,536 ERROR [20260420_173315_45cfe57b] root: API call failed after 3 retries. Request timed out. | provider=custom model=gemma4:e4b-it-q8_0 msgs=2 tokens=~3,936 2026-04-20 17:43:16,063 INFO gateway.run: response ready: platform=telegram chat=1219203721 time=600.5s api_calls=1 response=51 chars 2026-04-20 17:43:16,251 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (gemma4:e4b-it-q8_0) at http://172.20.240.1:11434/v1/ 2026-04-20 17:43:16,457 INFO gateway.platforms.base: [Telegram] Sending response (51 chars) to 1219203721 2026-04-20 17:44:47,916 INFO agent.auxiliary_client: Auxiliary title_generation: connection error on auto (Request timed out.), trying fallback 2026-04-20 17:44:48,545 INFO agent.auxiliary_client: Auxiliary title_generation: connection error on auto — falling back to openrouter (google/gemini-3-flash-preview)