--- hermes dump --- version: 0.10.0 (2026.4.16) [816e3e37] os: Linux 6.17.0-14-generic x86_64 python: 3.11.15 openai_sdk: 2.31.0 profile: default hermes_home: ~/.hermes model: z-ai/glm-5.1 provider: custom terminal: local api_keys: openrouter set openai 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: 86 --- end dump --- --- agent.log (last 200 lines) --- 2026-04-17 13:56:55,036 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=142.3s api_calls=1 response=998 chars 2026-04-17 13:56:55,049 INFO gateway.platforms.base: [Telegram] Sending response (998 chars) to 5693930743 2026-04-17 13:57:25,988 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (39 chars) 2026-04-17 13:57:25,989 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='那你告诉我该怎么获取cookie,我把cookie存到一个文件,你来调用就行了' 2026-04-17 13:59:45,657 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=139.7s api_calls=1 response=1207 chars 2026-04-17 13:59:45,669 INFO gateway.platforms.base: [Telegram] Sending response (1207 chars) to 5693930743 2026-04-17 14:02:06,032 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (1951 chars) 2026-04-17 14:02:06,032 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='sen@ubuntu24:~/ai$ yt-dlp --cookies-from-browser chrome "https://www.youtube.com' 2026-04-17 14:02:47,457 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=41.4s api_calls=1 response=2993 chars 2026-04-17 14:02:47,470 INFO gateway.platforms.base: [Telegram] Sending response (2993 chars) to 5693930743 2026-04-17 14:09:11,010 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (52 chars) 2026-04-17 14:09:11,010 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='我已经获取到了YouTube的Cookie,放到了~/ai/youtu/1.txt,你现在来帮我下载视频' 2026-04-17 14:09:34,543 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=23.5s api_calls=1 response=839 chars 2026-04-17 14:09:34,555 INFO gateway.platforms.base: [Telegram] Sending response (839 chars) to 5693930743 2026-04-17 14:10:04,576 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (2528 chars) 2026-04-17 14:10:04,576 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='sen@ubuntu24:~/ai/youtu$ yt-dlp --cookies ~/ai/youtu/1.txt -f "bv*+ba/b" "https:' 2026-04-17 14:10:35,125 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=30.5s api_calls=1 response=1226 chars 2026-04-17 14:10:35,137 INFO gateway.platforms.base: [Telegram] Sending response (1226 chars) to 5693930743 2026-04-17 14:11:30,906 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (1747 chars) 2026-04-17 14:11:30,907 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='sen@ubuntu24:~/ai/youtu$ yt-dlp --cookies /path/to/cookies.txt "https://www.yout' 2026-04-17 14:12:19,933 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=49.0s api_calls=1 response=1042 chars 2026-04-17 14:12:19,946 INFO gateway.platforms.base: [Telegram] Sending response (1042 chars) to 5693930743 2026-04-17 14:12:51,266 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (10 chars) 2026-04-17 14:12:51,267 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='你来试试看能不能下载' 2026-04-17 14:13:02,278 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=11.0s api_calls=1 response=473 chars 2026-04-17 14:13:02,305 INFO gateway.platforms.base: [Telegram] Sending response (473 chars) to 5693930743 2026-04-17 14:13:02,406 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5-turbo) 2026-04-17 14:13:02,456 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom:wzw.pp.ua (gpt-5.4) 2026-04-17 14:15:09,986 INFO gateway.run: Stopping gateway for restart... 2026-04-17 14:15:12,203 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-17 14:15:12,204 INFO telegram.ext.Application: Application.stop() complete 2026-04-17 14:15:12,207 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-17 14:15:12,207 INFO gateway.run: ✓ telegram disconnected 2026-04-17 14:15:12,209 INFO gateway.run: Gateway stopped 2026-04-17 14:15:12,209 INFO gateway.run: Cron ticker stopped 2026-04-17 14:15:44,118 INFO gateway.run: Starting Hermes Gateway... 2026-04-17 14:15:44,118 INFO gateway.run: Session storage: /home/sen/.hermes/sessions 2026-04-17 14:15:44,123 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-17 14:15:44,307 INFO gateway.run: Connecting to telegram... 2026-04-17 14:15:48,400 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 14:15:48,401 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-17 14:15:48,401 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-17 14:15:50,194 INFO telegram.ext.Application: Application started 2026-04-17 14:15:52,165 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 17 hidden (over 100 limit). Use /commands for full list. 2026-04-17 14:15:52,166 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-17 14:15:52,167 INFO gateway.run: ✓ telegram connected 2026-04-17 14:15:52,167 INFO gateway.run: 1 hook(s) loaded 2026-04-17 14:15:52,167 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-17 14:15:52,169 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-17 14:15:52,170 INFO gateway.run: Press Ctrl+C to stop 2026-04-17 14:15:52,191 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-17 14:18:51,755 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (103 chars) 2026-04-17 14:18:51,756 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='现在尝试使用~/ai/youtu/1.txt里的cookie调用agent-reach这个skill来处理一下这个链接:https://www.youtube.' 2026-04-17 14:18:53,498 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5' at https://cf.betterclau.de/claude/runanytime.hxi.me — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 14:18:53,918 INFO run_agent: Loaded environment variables from /home/sen/.hermes/.env 2026-04-17 14:18:55,034 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5) 2026-04-17 14:18:55,071 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5' at https://cf.betterclau.de/claude/runanytime.hxi.me — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 14:18:55,087 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5) 2026-04-17 14:18:55,192 INFO [20260417_131221_0ba791a1] agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5) 2026-04-17 14:18:55,208 INFO [20260417_131221_0ba791a1] agent.auxiliary_client: Auxiliary flush_memories: using auto (z-ai/glm-5) at https://cf.betterclau.de/claude/runanytime.hxi.me/ 2026-04-17 14:18:56,736 INFO [20260417_131221_0ba791a1] agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5) 2026-04-17 14:18:56,747 INFO [20260417_131221_0ba791a1] agent.auxiliary_client: Auxiliary compression: using auto (z-ai/glm-5) at https://cf.betterclau.de/claude/runanytime.hxi.me/ 2026-04-17 14:18:57,492 WARNING [20260417_131221_0ba791a1] root: Failed to generate context summary: Error code: 403 - {'type': 'error', 'error': {'type': 'forbidden', 'message': 'Invalid endpoint. Path must contain v1/messages'}}. Further summary attempts paused for 60 seconds. 2026-04-17 14:20:48,863 INFO anthropic._base_client: Retrying request to /v1/messages in 0.455180 seconds 2026-04-17 14:22:49,678 INFO anthropic._base_client: Retrying request to /v1/messages in 0.458254 seconds 2026-04-17 14:25:38,313 INFO anthropic._base_client: Retrying request to /v1/messages in 0.403739 seconds 2026-04-17 14:27:08,878 INFO anthropic._base_client: Retrying request to /v1/messages in 0.451015 seconds 2026-04-17 14:28:12,005 INFO anthropic._base_client: Retrying request to /v1/messages in 0.820109 seconds 2026-04-17 14:30:15,810 INFO anthropic._base_client: Retrying request to /v1/messages in 0.427759 seconds 2026-04-17 14:31:16,611 INFO anthropic._base_client: Retrying request to /v1/messages in 0.852157 seconds 2026-04-17 14:33:50,394 INFO anthropic._base_client: Retrying request to /v1/messages in 0.454878 seconds 2026-04-17 14:35:51,460 INFO anthropic._base_client: Retrying request to /v1/messages in 0.464175 seconds 2026-04-17 14:36:52,317 INFO anthropic._base_client: Retrying request to /v1/messages in 0.477566 seconds 2026-04-17 14:37:53,217 INFO anthropic._base_client: Retrying request to /v1/messages in 0.379022 seconds 2026-04-17 14:38:54,017 INFO anthropic._base_client: Retrying request to /v1/messages in 0.838791 seconds 2026-04-17 14:42:15,217 INFO anthropic._base_client: Retrying request to /v1/messages in 0.440951 seconds 2026-04-17 14:44:16,049 INFO anthropic._base_client: Retrying request to /v1/messages in 0.450364 seconds 2026-04-17 14:48:52,830 INFO [20260417_131221_0ba791a1] agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5) 2026-04-17 14:48:52,831 INFO [20260417_131221_0ba791a1] agent.auxiliary_client: Auxiliary vision: using custom (z-ai/glm-5) at https://cf.betterclau.de/claude/runanytime.hxi.me/ 2026-04-17 14:49:38,508 INFO anthropic._base_client: Retrying request to /v1/messages in 0.381377 seconds 2026-04-17 14:50:39,253 INFO anthropic._base_client: Retrying request to /v1/messages in 0.773161 seconds 2026-04-17 14:52:04,652 INFO [20260417_131221_0ba791a1] gateway.run: Session split detected: 20260417_131221_0ba791a1 → 20260417_141857_336e55 (compression) 2026-04-17 14:52:04,708 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=1993.0s api_calls=33 response=455 chars 2026-04-17 14:52:04,743 INFO gateway.platforms.base: [Telegram] Sending response (441 chars) to 5693930743 2026-04-17 14:52:04,863 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5) 2026-04-17 14:52:04,898 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5' at https://cf.betterclau.de/claude/runanytime.hxi.me/ — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 14:52:04,914 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5) 2026-04-17 14:52:05,212 WARNING gateway.platforms.base: [Telegram] Failed to send media (): File not found: 2026-04-17 14:52:05,836 ERROR [20260417_145204_7996bc] root: Non-retryable client error: Error code: 403 - {'type': 'error', 'error': {'type': 'forbidden', 'message': 'Invalid endpoint. Path must contain v1/messages'}} 2026-04-17 14:54:46,259 INFO gateway.run: Stopping gateway for restart... 2026-04-17 14:54:47,841 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-17 14:54:47,842 INFO telegram.ext.Application: Application.stop() complete 2026-04-17 14:54:47,844 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-17 14:54:47,844 INFO gateway.run: ✓ telegram disconnected 2026-04-17 14:54:47,845 INFO gateway.run: Gateway stopped 2026-04-17 14:54:47,845 INFO gateway.run: Cron ticker stopped 2026-04-17 14:55:20,192 INFO gateway.run: Starting Hermes Gateway... 2026-04-17 14:55:20,192 INFO gateway.run: Session storage: /home/sen/.hermes/sessions 2026-04-17 14:55:20,196 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-17 14:55:20,277 INFO gateway.run: Connecting to telegram... 2026-04-17 14:55:20,803 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 14:55:20,803 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-17 14:55:20,803 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-17 14:55:21,816 INFO telegram.ext.Application: Application started 2026-04-17 14:55:22,982 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 17 hidden (over 100 limit). Use /commands for full list. 2026-04-17 14:55:22,983 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-17 14:55:22,984 INFO gateway.run: ✓ telegram connected 2026-04-17 14:55:22,984 INFO gateway.run: 1 hook(s) loaded 2026-04-17 14:55:22,984 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-17 14:55:22,987 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-17 14:55:22,987 INFO gateway.run: Press Ctrl+C to stop 2026-04-17 14:55:23,002 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-17 14:57:50,717 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (76 chars) 2026-04-17 14:57:50,717 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='你拉取一下这个github项目:https://github.com/Panniantong/Agent-Reach,看看该怎么来下载YouTube视频' 2026-04-17 14:57:51,710 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5v-turbo' at https://cf.betterclau.de/claude/runanytime.hxi.me — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 14:57:51,981 INFO run_agent: Loaded environment variables from /home/sen/.hermes/.env 2026-04-17 14:57:52,845 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5v-turbo) 2026-04-17 14:57:52,880 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5v-turbo' at https://cf.betterclau.de/claude/runanytime.hxi.me — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 14:57:52,894 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5v-turbo) 2026-04-17 14:58:17,847 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=27.1s api_calls=1 response=315 chars 2026-04-17 14:58:17,859 INFO gateway.platforms.base: [Telegram] Sending response (315 chars) to 5693930743 2026-04-17 15:01:35,462 INFO gateway.run: Stopping gateway for restart... 2026-04-17 15:01:36,350 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-17 15:01:36,350 INFO telegram.ext.Application: Application.stop() complete 2026-04-17 15:01:36,352 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-17 15:01:36,352 INFO gateway.run: ✓ telegram disconnected 2026-04-17 15:01:36,353 INFO gateway.run: Gateway stopped 2026-04-17 15:01:36,353 INFO gateway.run: Cron ticker stopped 2026-04-17 15:02:07,207 INFO gateway.run: Starting Hermes Gateway... 2026-04-17 15:02:07,207 INFO gateway.run: Session storage: /home/sen/.hermes/sessions 2026-04-17 15:02:07,210 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-17 15:02:07,292 INFO gateway.run: Connecting to telegram... 2026-04-17 15:02:07,849 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 15:02:07,850 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-17 15:02:07,850 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-17 15:02:08,825 INFO telegram.ext.Application: Application started 2026-04-17 15:02:09,913 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 17 hidden (over 100 limit). Use /commands for full list. 2026-04-17 15:02:09,914 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-17 15:02:09,914 INFO gateway.run: ✓ telegram connected 2026-04-17 15:02:09,915 INFO gateway.run: 1 hook(s) loaded 2026-04-17 15:02:09,915 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-17 15:02:09,917 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-17 15:02:09,917 INFO gateway.run: Press Ctrl+C to stop 2026-04-17 15:02:09,933 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-17 15:04:57,944 INFO run_agent: Loaded environment variables from /home/sen/.hermes/.env 2026-04-17 15:04:58,728 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:04:58,879 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:04:59,635 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:05:02,660 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:05:05,361 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5.1' at https://cf.betterclau.de/claude/runanytime.hxi.me — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 15:05:05,377 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5.1) 2026-04-17 15:05:07,104 INFO anthropic._base_client: Retrying request to /v1/messages in 0.459937 seconds 2026-04-17 15:05:09,331 INFO anthropic._base_client: Retrying request to /v1/messages in 0.895053 seconds 2026-04-17 15:05:20,017 INFO anthropic._base_client: Retrying request to /v1/messages in 0.483798 seconds 2026-04-17 15:05:22,079 INFO anthropic._base_client: Retrying request to /v1/messages in 0.822279 seconds 2026-04-17 15:11:14,463 INFO gateway.run: Received SIGTERM/SIGINT — initiating shutdown 2026-04-17 15:11:14,480 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sen 44278 1.5 8.5 10909168 688980 ? Ssl 10:29 4:29 openclaw-gateway sen 154069 0.0 0.0 19148 3752 ? Ss 15:11 0:00 /bin/bash -lc systemctl --user restart hermes-gateway.service && systemctl --user show hermes-gateway.service -p MainPID,SubState,ActiveState,ExecMainStartTimestamp sen 154076 0.0 0.0 28908 6180 ? S 15:11 0:00 systemctl --user restart hermes-gateway.service 2026-04-17 15:11:14,481 INFO gateway.run: Stopping gateway... 2026-04-17 15:11:15,360 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-17 15:11:15,361 INFO telegram.ext.Application: Application.stop() complete 2026-04-17 15:11:15,363 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-17 15:11:15,363 INFO gateway.run: ✓ telegram disconnected 2026-04-17 15:11:15,740 INFO gateway.run: Gateway stopped 2026-04-17 15:11:15,741 INFO gateway.run: Cron ticker stopped 2026-04-17 15:11:15,921 INFO gateway.run: Exiting with code 1 (signal-initiated shutdown without restart request) so systemd Restart=on-failure can revive the gateway. 2026-04-17 15:11:16,751 INFO gateway.run: Starting Hermes Gateway... 2026-04-17 15:11:16,751 INFO gateway.run: Session storage: /home/sen/.hermes/sessions 2026-04-17 15:11:16,757 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-04-17 15:11:16,908 INFO gateway.run: Connecting to telegram... 2026-04-17 15:11:17,508 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 15:11:17,508 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-17 15:11:17,508 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-17 15:11:18,429 INFO telegram.ext.Application: Application started 2026-04-17 15:11:19,522 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 17 hidden (over 100 limit). Use /commands for full list. 2026-04-17 15:11:19,523 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-17 15:11:19,523 INFO gateway.run: ✓ telegram connected 2026-04-17 15:11:19,523 INFO gateway.run: 1 hook(s) loaded 2026-04-17 15:11:19,524 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-17 15:11:19,527 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-17 15:11:19,527 INFO gateway.run: Press Ctrl+C to stop 2026-04-17 15:11:19,543 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-17 15:13:22,520 INFO run_agent: Loaded environment variables from /home/sen/.hermes/.env 2026-04-17 15:13:23,326 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:13:23,475 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:13:23,737 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:13:26,433 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:13:27,879 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5.1' at https://cf.betterclau.de/claude/runanytime.hxi.me — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 15:13:27,895 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5.1) 2026-04-17 15:13:33,153 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5.1) 2026-04-17 15:13:33,153 INFO agent.auxiliary_client: Auxiliary title_generation: using auto (z-ai/glm-5.1) at https://cf.betterclau.de/claude/runanytime.hxi.me/ 2026-04-17 15:16:35,365 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (76 chars) 2026-04-17 15:16:35,365 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='你拉取一下这个github项目:https://github.com/Panniantong/Agent-Reach,看看该怎么来下载YouTube视频' 2026-04-17 15:16:36,723 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5.1' at https://cf.betterclau.de/claude/runanytime.hxi.me — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 15:16:36,971 INFO run_agent: Loaded environment variables from /home/sen/.hermes/.env 2026-04-17 15:16:37,836 INFO agent.auxiliary_client: Vision auto-detect: using active provider custom (z-ai/glm-5.1) 2026-04-17 15:16:37,870 INFO agent.model_metadata: Could not detect context length for model 'z-ai/glm-5.1' at https://cf.betterclau.de/claude/runanytime.hxi.me — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-17 15:16:37,885 INFO agent.auxiliary_client: Auxiliary auto-detect: using main provider custom (z-ai/glm-5.1) --- errors.log (last 100 lines) --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.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/sen/.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/sen/.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/sen/.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/sen/.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/sen/.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/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/httpx/_client.py", line 1629, in send response = await self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.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/sen/.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/sen/.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/sen/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 114, in handle_async_request raise last_error File "/home/sen/.hermes/hermes-agent/gateway/platforms/telegram_network.py", line 88, in handle_async_request response = await transport.handle_async_request(candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.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/sen/.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/sen/.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/sen/.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/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/ext/_utils/networkloop.py", line 136, in do_action await action_cb() File "/home/sen/.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/sen/.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/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 5037, in delete_webhook return await self._post( ^^^^^^^^^^^^^^^^^ File "/home/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 704, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.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/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/home/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.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/sen/.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-17 09:14:36,720 WARNING gateway.platforms.telegram: [Telegram] Telegram polling reconnect failed: Timed out 2026-04-17 09:14:36,721 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 2/10), reconnecting in 10s. Error: Timed out 2026-04-17 10:14:59,641 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-17 10:14:59,642 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-17 10:40:10,920 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sen 44278 9.8 7.1 10816968 578128 ? Ssl 10:29 1:02 openclaw-gateway sen 48271 1.1 0.5 67872 44444 pts/0 S+ 10:39 0:00 /home/sen/.hermes/hermes-agent/venv/bin/python3 /home/sen/.local/bin/hermes update sen 48831 0.0 0.0 28480 6212 pts/0 S+ 10:40 0:00 systemctl --user restart hermes-gateway 2026-04-17 10:58:22,183 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-17 10:58:22,183 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-17 11:10:43,850 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-17 11:10:43,851 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-17 13:31:29,260 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220 2026-04-17 13:31:40,986 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org path unreachable; using sticky fallback IP 149.154.167.220 2026-04-17 14:18:57,492 WARNING [20260417_131221_0ba791a1] root: Failed to generate context summary: Error code: 403 - {'type': 'error', 'error': {'type': 'forbidden', 'message': 'Invalid endpoint. Path must contain v1/messages'}}. Further summary attempts paused for 60 seconds. 2026-04-17 14:52:05,212 WARNING gateway.platforms.base: [Telegram] Failed to send media (): File not found: 2026-04-17 14:52:05,836 ERROR [20260417_145204_7996bc] root: Non-retryable client error: Error code: 403 - {'type': 'error', 'error': {'type': 'forbidden', 'message': 'Invalid endpoint. Path must contain v1/messages'}} 2026-04-17 15:11:14,480 WARNING gateway.run: Shutdown diagnostic — other hermes processes running: sen 44278 1.5 8.5 10909168 688980 ? Ssl 10:29 4:29 openclaw-gateway sen 154069 0.0 0.0 19148 3752 ? Ss 15:11 0:00 /bin/bash -lc systemctl --user restart hermes-gateway.service && systemctl --user show hermes-gateway.service -p MainPID,SubState,ActiveState,ExecMainStartTimestamp sen 154076 0.0 0.0 28908 6180 ? S 15:11 0:00 systemctl --user restart hermes-gateway.service --- gateway.log (last 100 lines) --- ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_bot.py", line 733, in _do_post result = await request.post( ^^^^^^^^^^^^^^^^^^^ File "/home/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 317, in _request_wrapper raise NetworkError(f"Unknown error in HTTP implementation: {exc!r}") from exc telegram.error.NetworkError: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-11 12:47:19,156 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (18 chars) 2026-04-11 12:47:19,156 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='发个我看啊,你存在一个本地位置干嘛?' 2026-04-11 12:47:32,830 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=13.7s api_calls=1 response=169 chars 2026-04-11 12:47:32,832 INFO gateway.platforms.base: [Telegram] Sending response (107 chars) to 5693930743 2026-04-11 13:10:03,320 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (16 chars) 2026-04-11 13:10:03,320 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='刷新一下网页再看看有哪些新的帖子' 2026-04-11 13:11:27,647 INFO gateway.run: response ready: platform=telegram chat=5693930743 time=84.3s api_calls=2 response=1252 chars 2026-04-11 13:11:27,650 INFO gateway.platforms.base: [Telegram] Sending response (1252 chars) to 5693930743 2026-04-11 16:13:17,927 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-11 16:13:17,928 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: Unknown error in HTTP implementation: SSLError(1, '[SSL] record layer failure (_ssl.c:2590)') 2026-04-11 16:13:25,211 INFO gateway.platforms.telegram: [Telegram] Telegram polling resumed after network error (attempt 1) 2026-04-11 20:14:09,369 INFO gateway.run: Stopping gateway... 2026-04-11 20:14:10,591 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-11 20:14:10,592 INFO telegram.ext.Application: Application.stop() complete 2026-04-11 20:14:10,596 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-11 20:14:10,597 INFO gateway.run: ✓ telegram disconnected 2026-04-11 20:14:10,599 INFO gateway.run: Gateway stopped 2026-04-11 20:14:10,599 INFO gateway.run: Cron ticker stopped 2026-04-13 09:17:47,964 INFO gateway.run: Starting Hermes Gateway... 2026-04-13 09:17:47,966 INFO gateway.run: Session storage: /home/sen/.hermes/sessions 2026-04-13 09:17:49,098 INFO gateway.run: Connecting to telegram... 2026-04-13 09:17:50,106 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-13 09:17:50,106 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220 2026-04-13 09:17:50,106 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220 2026-04-13 09:17:51,346 INFO telegram.ext.Application: Application started 2026-04-13 09:17:53,260 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 100 commands registered, 4 hidden (over 100 limit). Use /commands for full list. 2026-04-13 09:17:53,260 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-04-13 09:17:53,260 INFO gateway.run: ✓ telegram connected 2026-04-13 09:17:53,261 INFO gateway.run: 1 hook(s) loaded 2026-04-13 09:17:53,261 INFO gateway.run: Gateway running with 1 platform(s) 2026-04-13 09:17:53,269 INFO gateway.run: Channel directory built: 1 target(s) 2026-04-13 09:17:53,269 INFO gateway.run: Press Ctrl+C to stop 2026-04-13 09:17:53,345 INFO gateway.run: Cron ticker started (interval=60s) 2026-04-13 09:18:52,124 INFO gateway.run: Session expiry: 1 sessions to flush (telegram:1) 2026-04-13 09:18:52,448 INFO run_agent: Loaded environment variables from /home/sen/.hermes/.env 2026-04-13 09:18:52,797 WARNING model_tools: Could not import tool module tools.web_tools: cannot import name '_write_codex_cli_tokens' from 'hermes_cli.auth' (/home/sen/.hermes/hermes-agent/hermes_cli/auth.py) 2026-04-13 09:18:52,842 WARNING model_tools: Could not import tool module tools.vision_tools: cannot import name '_write_codex_cli_tokens' from 'hermes_cli.auth' (/home/sen/.hermes/hermes-agent/hermes_cli/auth.py) 2026-04-13 09:18:52,844 WARNING model_tools: Could not import tool module tools.mixture_of_agents_tool: cannot import name '_write_codex_cli_tokens' from 'hermes_cli.auth' (/home/sen/.hermes/hermes-agent/hermes_cli/auth.py) 2026-04-13 09:18:52,876 WARNING model_tools: Could not import tool module tools.browser_tool: cannot import name '_write_codex_cli_tokens' from 'hermes_cli.auth' (/home/sen/.hermes/hermes-agent/hermes_cli/auth.py) 2026-04-13 09:18:52,893 WARNING model_tools: Could not import tool module tools.session_search_tool: cannot import name '_write_codex_cli_tokens' from 'hermes_cli.auth' (/home/sen/.hermes/hermes-agent/hermes_cli/auth.py) 2026-04-13 09:18:53,250 INFO gateway.run: Session expiry done: 1 flushed 2026-04-13 09:19:16,688 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (2 chars) 2026-04-13 09:19:16,689 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='在?' 2026-04-13 09:19:16,709 INFO run_agent: Loaded environment variables from /home/sen/.hermes/.env 2026-04-13 09:19:16,711 ERROR gateway.run: Agent error in session agent:main:telegram:dm:5693930743 Traceback (most recent call last): File "/home/sen/.hermes/hermes-agent/gateway/run.py", line 3020, in _handle_message_with_agent if _ext in _TEXT_EXTENSIONS: ^^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.hermes/hermes-agent/gateway/run.py", line 6592, in _run_agent except RuntimeError: File "/home/sen/.hermes/hermes-agent/run_agent.py", line 72, in from tools.browser_tool import cleanup_browser File "/home/sen/.hermes/hermes-agent/tools/browser_tool.py", line 68, in from agent.auxiliary_client import call_llm File "/home/sen/.hermes/hermes-agent/agent/auxiliary_client.py", line 52, in from agent.credential_pool import load_pool File "/home/sen/.hermes/hermes-agent/agent/credential_pool.py", line 18, in from hermes_cli.auth import ( ImportError: cannot import name '_write_codex_cli_tokens' from 'hermes_cli.auth' (/home/sen/.hermes/hermes-agent/hermes_cli/auth.py) 2026-04-13 09:19:16,717 INFO gateway.platforms.base: [Telegram] Sending response (214 chars) to 5693930743 2026-04-13 09:19:33,412 INFO agent.model_metadata: Could not detect context length for model 'gpt-5.4' at https://wzw.pp.ua/v1 — defaulting to 128,000 tokens (probe-down). Set model.context_length in config.yaml to override. 2026-04-13 09:19:33,413 INFO gateway.platforms.base: [Telegram] Sending response (153 chars) to 5693930743 2026-04-13 09:19:43,787 INFO gateway.platforms.telegram: [Telegram] Flushing text batch agent:main:telegram:dm:5693930743 (2 chars) 2026-04-13 09:19:43,788 INFO gateway.run: inbound message: platform=telegram user=sen en chat=5693930743 msg='在?' 2026-04-13 09:19:43,808 INFO run_agent: Loaded environment variables from /home/sen/.hermes/.env 2026-04-13 09:19:43,809 ERROR gateway.run: Agent error in session agent:main:telegram:dm:5693930743 Traceback (most recent call last): File "/home/sen/.hermes/hermes-agent/gateway/run.py", line 3020, in _handle_message_with_agent if _ext in _TEXT_EXTENSIONS: ^^^^^^^^^^^^^^^^^^^^^ File "/home/sen/.hermes/hermes-agent/gateway/run.py", line 6592, in _run_agent except RuntimeError: File "/home/sen/.hermes/hermes-agent/run_agent.py", line 72, in from tools.browser_tool import cleanup_browser File "/home/sen/.hermes/hermes-agent/tools/browser_tool.py", line 68, in from agent.auxiliary_client import call_llm File "/home/sen/.hermes/hermes-agent/agent/auxiliary_client.py", line 52, in from agent.credential_pool import load_pool File "/home/sen/.hermes/hermes-agent/agent/credential_pool.py", line 18, in from hermes_cli.auth import ( ImportError: cannot import name '_write_codex_cli_tokens' from 'hermes_cli.auth' (/home/sen/.hermes/hermes-agent/hermes_cli/auth.py) 2026-04-13 09:19:43,811 INFO gateway.platforms.base: [Telegram] Sending response (214 chars) to 5693930743 2026-04-13 09:50:24,290 INFO gateway.run: Stopping gateway... 2026-04-13 09:50:25,297 INFO telegram.ext.Application: Application is stopping. This might take a moment. 2026-04-13 09:50:25,297 INFO telegram.ext.Application: Application.stop() complete 2026-04-13 09:50:25,299 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-04-13 09:50:25,299 INFO gateway.run: ✓ telegram disconnected 2026-04-13 09:50:25,303 INFO gateway.run: Gateway stopped 2026-04-13 09:50:25,303 INFO gateway.run: Cron ticker stopped