hermes - 💡(How to fix) Fix [Bug]: discord disabled, still trying to connect

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Operating System

MacOS 25.4

Python Version

3.11.15

Hermes Version

0.14.0 (2026.5.16) [a84cec61]

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fix / Workaround

--- gateway.log (last 100 lines) --- 2026-05-22 20:40:20,257 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.166.110 2026-05-22 20:40:20,270 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.166.110 2026-05-22 20:40:21,652 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeDefault (30 cmds) 2026-05-22 20:40:21,972 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeAllPrivateChats (30 cmds) 2026-05-22 20:40:22,306 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeAllGroupChats (30 cmds) 2026-05-22 20:40:22,307 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 30 commands registered, 114 hidden (over 30 limit). Use /commands for full list. 2026-05-22 20:40:22,310 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-05-22 20:40:22,316 INFO gateway.run: ✓ telegram connected 2026-05-22 20:40:22,317 INFO gateway.run: Connecting to discord... 2026-05-22 20:40:22,323 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:40:22,324 WARNING gateway.run: ✗ discord failed to connect 2026-05-22 20:40:22,324 INFO hermes_plugins.discord_platform.adapter: [Discord] Disconnected 2026-05-22 20:40:22,327 INFO gateway.run: Gateway running with 1 platform(s) 2026-05-22 20:40:22,332 INFO gateway.run: Channel directory built: 1 target(s) 2026-05-22 20:40:23,336 INFO gateway.run: Starting reconnection watcher for 1 failed platform(s): discord 2026-05-22 20:40:23,337 INFO gateway.run: Press Ctrl+C to stop 2026-05-22 20:40:23,368 INFO gateway.run: Cron ticker started (interval=60s) 2026-05-22 20:40:28,345 INFO gateway.run: kanban dispatcher: embedded in gateway (interval=60.0s) 2026-05-22 20:40:53,375 INFO gateway.run: Reconnecting discord (attempt 2)... 2026-05-22 20:40:53,376 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:40:53,378 INFO gateway.run: Reconnect discord failed, next retry in 60s 2026-05-22 20:41:53,513 INFO gateway.run: Reconnecting discord (attempt 3)... 2026-05-22 20:41:53,514 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:41:53,518 INFO gateway.run: Reconnect discord failed, next retry in 120s 2026-05-22 20:43:17,829 INFO gateway.run: Received SIGTERM — initiating shutdown 2026-05-22 20:43:17,829 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=1.42 parent_cmdline='(unknown)' 2026-05-22 20:43:17,842 INFO gateway.run: Stopping gateway... 2026-05-22 20:43:19,400 INFO gateway.run: Sent shutdown notification to home channel telegram:8405949698 2026-05-22 20:43:19,401 INFO gateway.run: Shutdown phase: notify_active_sessions done at +1.56s 2026-05-22 20:43:19,404 INFO gateway.run: Shutdown phase: drain done at +1.56s (drain took 0.00s, timed_out=False, active_at_start=0, active_now=0) 2026-05-22 20:43:20,327 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram 2026-05-22 20:43:20,328 INFO gateway.run: ✓ telegram disconnected (0.92s) 2026-05-22 20:43:20,329 INFO gateway.run: Shutdown phase: all adapters disconnected at +2.49s 2026-05-22 20:43:20,396 INFO gateway.run: Shutdown phase: final-cleanup tool kill done at +2.55s 2026-05-22 20:43:20,396 INFO gateway.run: Shutdown phase: SessionDB close done at +2.55s 2026-05-22 20:43:20,397 INFO gateway.run: Gateway stopped (total teardown 2.55s) 2026-05-22 20:43:20,397 INFO gateway.run: Cron ticker stopped 2026-05-22 20:43:20,398 INFO gateway.memory_monitor: [MEMORY] shutdown rss=144MB gc=(393, 2, 7) threads=4 uptime=180s 2026-05-22 20:43:20,398 INFO gateway.memory_monitor: [MEMORY] Periodic memory monitoring stopped 2026-05-22 20:43:20,398 INFO gateway.run: Exiting with code 1 (signal-initiated shutdown without restart request) so systemd Restart=on-failure can revive the gateway. ┌─────────────────────────────────────────────────────────┐ │ ⚕ Hermes Gateway Starting... │ ├─────────────────────────────────────────────────────────┤ │ Messaging platforms + cron scheduler │ │ Press Ctrl+C to stop │ └─────────────────────────────────────────────────────────┘

2026-05-22 20:43:31,406 INFO gateway.memory_monitor: [MEMORY] baseline rss=104MB gc=(96, 3, 2) threads=1 uptime=0s 2026-05-22 20:43:31,406 INFO gateway.memory_monitor: [MEMORY] Periodic memory monitoring started (interval: 300s) 2026-05-22 20:43:31,462 WARNING gateway.run: Unknown service_tier 'flex', ignoring 2026-05-22 20:43:31,497 INFO gateway.run: Starting Hermes Gateway... 2026-05-22 20:43:31,497 INFO gateway.run: Session storage: /Users/rob/.hermes/sessions 2026-05-22 20:43:31,498 INFO gateway.run: Agent budget: max_iterations=60 (agent.max_turns from config.yaml, or HERMES_MAX_ITERATIONS from .env, or default 90) 2026-05-22 20:43:31,498 INFO gateway.run: Secret redaction: ENABLED (tool output, logs, and chat responses are scrubbed before delivery) 2026-05-22 20:43:31,500 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension 2026-05-22 20:43:31,574 INFO gateway.run: Connecting to telegram... 2026-05-22 20:43:31,859 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.166.110 2026-05-22 20:43:31,896 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.166.110 2026-05-22 20:43:33,579 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeDefault (30 cmds) 2026-05-22 20:43:33,890 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeAllPrivateChats (30 cmds) 2026-05-22 20:43:34,279 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeAllGroupChats (30 cmds) 2026-05-22 20:43:34,280 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 30 commands registered, 114 hidden (over 30 limit). Use /commands for full list. 2026-05-22 20:43:34,284 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode) 2026-05-22 20:43:34,291 INFO gateway.run: ✓ telegram connected 2026-05-22 20:43:34,292 INFO gateway.run: Connecting to discord... 2026-05-22 20:43:34,298 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:43:34,298 WARNING gateway.run: ✗ discord failed to connect 2026-05-22 20:43:34,299 INFO hermes_plugins.discord_platform.adapter: [Discord] Disconnected 2026-05-22 20:43:34,302 INFO gateway.run: Gateway running with 1 platform(s) 2026-05-22 20:43:34,306 INFO gateway.run: Channel directory built: 1 target(s) 2026-05-22 20:43:35,310 INFO gateway.run: Starting reconnection watcher for 1 failed platform(s): discord 2026-05-22 20:43:35,311 INFO gateway.run: Press Ctrl+C to stop 2026-05-22 20:43:35,340 INFO gateway.run: Cron ticker started (interval=60s) 2026-05-22 20:43:40,317 INFO gateway.run: kanban dispatcher: embedded in gateway (interval=60.0s) 2026-05-22 20:44:05,347 INFO gateway.run: Reconnecting discord (attempt 2)... 2026-05-22 20:44:05,349 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:44:05,352 INFO gateway.run: Reconnect discord failed, next retry in 60s 2026-05-22 20:45:05,512 INFO gateway.run: Reconnecting discord (attempt 3)... 2026-05-22 20:45:05,513 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:45:05,517 INFO gateway.run: Reconnect discord failed, next retry in 120s 2026-05-22 20:47:05,761 INFO gateway.run: Reconnecting discord (attempt 4)... 2026-05-22 20:47:05,763 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:47:05,766 INFO gateway.run: Reconnect discord failed, next retry in 240s 2026-05-22 20:48:31,529 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(508, 7, 6) threads=6 uptime=300s 2026-05-22 20:51:06,242 INFO gateway.run: Reconnecting discord (attempt 5)... 2026-05-22 20:51:06,244 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:51:06,248 INFO gateway.run: Reconnect discord failed, next retry in 300s 2026-05-22 20:53:31,668 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(242, 9, 6) threads=6 uptime=600s 2026-05-22 20:56:06,879 INFO gateway.run: Reconnecting discord (attempt 6)... 2026-05-22 20:56:06,882 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 20:56:06,887 INFO gateway.run: Reconnect discord failed, next retry in 300s 2026-05-22 20:58:31,817 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(516, 10, 6) threads=6 uptime=900s 2026-05-22 21:01:07,501 INFO gateway.run: Reconnecting discord (attempt 7)... 2026-05-22 21:01:07,502 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 21:01:07,506 INFO gateway.run: Reconnect discord failed, next retry in 300s 2026-05-22 21:03:31,931 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(400, 0, 7) threads=6 uptime=1200s 2026-05-22 21:06:08,141 INFO gateway.run: Reconnecting discord (attempt 8)... 2026-05-22 21:06:08,143 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured 2026-05-22 21:06:08,148 INFO gateway.run: Reconnect discord failed, next retry in 300s 2026-05-22 21:08:32,005 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(0, 2, 7) threads=6 uptime=1500s

Code Example

$ hermes plugins list | grep discord
│ platforms/discord                   │ disabled │ 1.0.0Discord gateway adapter for Hermes Agent. Connects to Discord │ bundled │
│                                     │          │         │ via the discord.py library and relays messages between        │         │

---

2026-05-22 20:44:05,349 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:44:05,352 INFO gateway.run: Reconnect discord failed, next retry in 60s
2026-05-22 20:45:05,512 INFO gateway.run: Reconnecting discord (attempt 3)...
2026-05-22 20:45:05,513 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:45:05,517 INFO gateway.run: Reconnect discord failed, next retry in 120s
2026-05-22 20:47:05,761 INFO gateway.run: Reconnecting discord (attempt 4)...
2026-05-22 20:47:05,763 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:47:05,766 INFO gateway.run: Reconnect discord failed, next retry in 240s
...

---

2026-05-22 20:44:05,349 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:44:05,352 INFO gateway.run: Reconnect discord failed, next retry in 60s
2026-05-22 20:45:05,512 INFO gateway.run: Reconnecting discord (attempt 3)...
2026-05-22 20:45:05,513 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:45:05,517 INFO gateway.run: Reconnect discord failed, next retry in 120s
2026-05-22 20:47:05,761 INFO gateway.run: Reconnecting discord (attempt 4)...
2026-05-22 20:47:05,763 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:47:05,766 INFO gateway.run: Reconnect discord failed, next retry in 240s
...

### Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

### Messaging Platform (if gateway-related)

Discord

### Debug Report

---

### Operating System

MacOS 25.4

### Python Version

3.11.15

### Hermes Version

0.14.0 (2026.5.16) [a84cec61]

### Additional Logs / Traceback (optional)
RAW_BUFFERClick to expand / collapse

Bug Description

Discord is disabled in my configuration. However, the logs show that my gateway continues to make continuous connection attempts.

$ hermes plugins list | grep discord
│ platforms/discord                   │ disabled │ 1.0.0   │ Discord gateway adapter for Hermes Agent. Connects to Discord │ bundled │
│                                     │          │         │ via the discord.py library and relays messages between        │         │
2026-05-22 20:44:05,349 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:44:05,352 INFO gateway.run: Reconnect discord failed, next retry in 60s
2026-05-22 20:45:05,512 INFO gateway.run: Reconnecting discord (attempt 3)...
2026-05-22 20:45:05,513 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:45:05,517 INFO gateway.run: Reconnect discord failed, next retry in 120s
2026-05-22 20:47:05,761 INFO gateway.run: Reconnecting discord (attempt 4)...
2026-05-22 20:47:05,763 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:47:05,766 INFO gateway.run: Reconnect discord failed, next retry in 240s
...

Steps to Reproduce

  1. Remove your discord credentials
  2. disable the discord plugin: hermes plugins disable platforms/discord
  3. verify that the discord plugin is disabled: hermes plugins list | grep discord
  4. restart hermes gateway: hermes gateway restart

Logs will show ERRORS about missing credentials and repeated attempts by the gateway to connect to discord

Expected Behavior

  • The gateway should not expect to find discord credentials when discord is disabled.
  • Missing credentials for a disabled plugin should never be logged as an ERROR. It doesn't warrant any logging whatsoever.
  • The gateway should not be attempting to connect to discord when the discord plugin is disabled.

Actual Behavior

2026-05-22 20:44:05,349 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:44:05,352 INFO gateway.run: Reconnect discord failed, next retry in 60s
2026-05-22 20:45:05,512 INFO gateway.run: Reconnecting discord (attempt 3)...
2026-05-22 20:45:05,513 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:45:05,517 INFO gateway.run: Reconnect discord failed, next retry in 120s
2026-05-22 20:47:05,761 INFO gateway.run: Reconnecting discord (attempt 4)...
2026-05-22 20:47:05,763 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:47:05,766 INFO gateway.run: Reconnect discord failed, next retry in 240s
...

### Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

### Messaging Platform (if gateway-related)

Discord

### Debug Report

```shell
Collecting debug report...
[hermes debug share: log content redacted at upload time. run with --no-redact to disable]
--- hermes dump ---
version:          0.14.0 (2026.5.16) [a84cec61]
os:               Darwin 25.4.0 arm64
python:           3.11.15
openai_sdk:       2.24.0
profile:          default
hermes_home:      ~/.hermes
model:            deepseek-v4-flash:cloud
provider:         ollama-local
terminal:         local

api_keys:
  openrouter           not set
  openai               not set
  anthropic            not set
  anthropic_token      not set
  nous                 not set
  google/gemini        not set
  gemini               not set
  glm/zai              not set
  zai                  not set
  kimi                 not set
  minimax              set
  deepseek             not set
  dashscope            not set
  huggingface          not set
  nvidia               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               set

features:
  toolsets:           hermes-cli
  mcp_servers:        0
  memory_provider:    built-in
  gateway:            running (launchd, pid 46341)
  platforms:          telegram
  cron_jobs:          0
  skills:             100

config_overrides:
  agent.max_turns: 60
  display.streaming: True
--- end dump ---


--- errors.log (last 100 lines) ---
             ^^^^^^^^^^^^^^^^^^^
  File "/Users/rob/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 198, in post
    result = await self._request_wrapper(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/rob/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/request/_baserequest.py", line 375, in _request_wrapper
    raise exception
telegram.error.BadRequest: Message is not modified: specified new message content and reply markup are exactly the same as a current content and reply markup of the message
2026-05-22 17:09:23,683 WARNING [20260522_120552_54fdf13b] root: Failed to generate context summary: Error code: 400 - {'message': 'Malformed input request: #/messages/0/content: expected type: JSONArray, found: String, reformat your input and try again.'}. Further summary attempts paused for 60 seconds.
2026-05-22 17:10:24,163 WARNING [20260522_170923_8c93fe] root: Failed to generate context summary: Error code: 400 - {'message': 'Malformed input request: #/messages/0/content: expected type: JSONArray, found: String, reformat your input and try again.'}. Further summary attempts paused for 60 seconds.
2026-05-22 17:11:11,981 WARNING gateway.run: Unrecognized slash command /models from telegram — replying with unknown-command notice
2026-05-22 17:13:52,634 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=1.23 parent_cmdline='(unknown)'
2026-05-22 17:27:35,669 WARNING [20260522_171655_eb922b] run_agent: API call failed (attempt 1/3) error_type=AuthenticationError thread=Thread-2 (run_agent):6180777984 provider=custom base_url=https://bedrock-mantle.us-west-2.api.aws/v1 model=deepseek.v3.2 summary=HTTP 401: Invalid bearer token
2026-05-22 17:27:35,685 ERROR [20260522_171655_eb922b] root: Non-retryable client error: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'Invalid bearer token', 'param': None, 'type': 'permission_denied_error'}}
2026-05-22 17:32:08,026 WARNING [20260522_171655_eb922b] run_agent: API call failed (attempt 1/3) error_type=AuthenticationError thread=Thread-2 (run_agent):6187692032 provider=custom base_url=https://bedrock-mantle.us-west-2.api.aws/v1 model=moonshotai.kimi-k2.5 summary=HTTP 401: Invalid bearer token
2026-05-22 17:32:08,046 ERROR [20260522_171655_eb922b] root: Non-retryable client error: Error code: 401 - {'error': {'code': 'invalid_api_key', 'message': 'Invalid bearer token', 'param': None, 'type': 'permission_denied_error'}}
2026-05-22 17:33:35,532 WARNING [20260522_171655_eb922b] run_agent: Tool process returned error (0.00s): {"status": "not_found", "error": "No process with ID terminal"}
2026-05-22 17:49:40,997 WARNING [20260522_171655_eb922b] run_agent: Tool terminal returned error (0.29s): {"output": "Traceback (most recent call last):\n  File \"<string>\", line 5, in <module>\n    from agent.model_routing import get_model_client\nModuleNotFoundError: No module named 'agent.model_routin
2026-05-22 18:10:12,138 WARNING gateway.platforms.telegram: [Telegram] Telegram network error, scheduling reconnect: httpx.ReadError: 
2026-05-22 18:10:12,140 WARNING gateway.platforms.telegram: [Telegram] Telegram network error (attempt 1/10), reconnecting in 5s. Error: httpx.ReadError: 
2026-05-22 18:26:11,340 WARNING [20260522_171655_eb922b] run_agent: Tool terminal returned error (0.26s): {"output": "fatal: not a git repository (or any of the parent directories): .git", "exit_code": 128, "error": null}
2026-05-22 18:26:12,611 WARNING [20260522_171655_eb922b] run_agent: Tool terminal returned error (0.26s): {"output": "fatal: not a git repository (or any of the parent directories): .git", "exit_code": 128, "error": null}
2026-05-22 18:26:25,020 WARNING [20260522_171655_eb922b] run_agent: Tool terminal returned error (0.26s): {"output": "fatal: not a git repository (or any of the parent directories): .git", "exit_code": 128, "error": null}
2026-05-22 18:38:57,425 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=2.22 parent_cmdline='(unknown)'
2026-05-22 18:39:16,526 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:39:16,527 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 18:39:47,589 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:40:31,900 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=2.41 parent_cmdline='(unknown)'
2026-05-22 18:40:47,172 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:40:47,172 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 18:40:48,210 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:40:48,383 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:40:48,389 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:40:49,014 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:40:49,020 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:41:18,212 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:42:18,292 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:42:44,920 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=1.85 parent_cmdline='(unknown)'
2026-05-22 18:42:59,777 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:42:59,777 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 18:43:11,555 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:43:11,677 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:43:11,683 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:43:11,801 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:43:11,807 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 18:43:30,818 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:44:30,891 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:46:30,954 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:50:31,244 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 18:55:31,593 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 19:00:31,933 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 19:05:32,285 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 19:10:32,675 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 19:15:32,981 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 19:15:32,988 WARNING gateway.run: discord paused after 10 consecutive failures (failed to reconnect) — fix the underlying issue then run `/platform resume discord` to retry, or `hermes gateway restart` to restart the gateway.
2026-05-22 20:01:42,629 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'bedrock-mantle' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 20:01:52,942 WARNING [20260522_171024_d7a98d] agent.tool_executor: Tool terminal returned error (0.35s): {"output": "usage: hermes [-h] [--version] [-z PROMPT] [-m MODEL] [--provider PROVIDER]\n              [-t TOOLSETS] [--resume SESSION] [--continue [SESSION_NAME]]\n              [--worktree] [--accep
2026-05-22 20:09:07,839 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=1.58 parent_cmdline='(unknown)'
2026-05-22 20:09:12,803 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:09:12,804 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 20:09:44,696 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:10:44,815 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:12:45,062 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:15:13,351 WARNING gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:15:13,549 WARNING agent.auxiliary_client: resolve_provider_client: named custom provider 'ollama-local' has no resolvable api_key — request will be sent with placeholder no-key-required and will 401 on auth-required endpoints
2026-05-22 20:16:30,117 WARNING [20260522_171024_d7a98d] agent.tool_executor: Tool terminal returned error (16.00s): {"output": "", "exit_code": -1, "error": "BLOCKED: Command denied by user. Do NOT retry this command.", "status": "blocked"}
2026-05-22 20:16:45,528 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:20:54,489 WARNING [20260522_171024_d7a98d] gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:21:45,159 WARNING gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:21:46,287 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:24:05,574 WARNING [20260522_171024_d7a98d] gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:25:34,370 WARNING [20260522_171024_d7a98d] gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:26:44,709 WARNING gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:26:46,907 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:28:00,984 WARNING [20260522_171024_d7a98d] agent.tool_executor: Tool terminal returned error (0.10s): {"output": "", "exit_code": 1, "error": null}
2026-05-22 20:31:47,497 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:36:48,116 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:36:55,080 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=1.57 parent_cmdline='(unknown)'
2026-05-22 20:36:58,301 WARNING gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:37:01,538 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:37:01,538 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 20:37:32,593 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:38:32,719 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:40:07,131 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=1.51 parent_cmdline='(unknown)'
2026-05-22 20:40:20,016 WARNING gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:40:22,323 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:40:22,324 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 20:40:53,376 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:41:53,514 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:43:17,829 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=1.42 parent_cmdline='(unknown)'
2026-05-22 20:43:31,462 WARNING gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:43:34,298 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:43:34,298 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 20:44:05,349 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:45:05,513 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:47:05,763 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:51:06,244 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:56:06,882 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 21:01:07,502 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 21:06:08,143 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured

--- gateway.log (last 100 lines) ---
2026-05-22 20:40:20,257 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.166.110
2026-05-22 20:40:20,270 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.166.110
2026-05-22 20:40:21,652 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeDefault (30 cmds)
2026-05-22 20:40:21,972 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeAllPrivateChats (30 cmds)
2026-05-22 20:40:22,306 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeAllGroupChats (30 cmds)
2026-05-22 20:40:22,307 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 30 commands registered, 114 hidden (over 30 limit). Use /commands for full list.
2026-05-22 20:40:22,310 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode)
2026-05-22 20:40:22,316 INFO gateway.run: ✓ telegram connected
2026-05-22 20:40:22,317 INFO gateway.run: Connecting to discord...
2026-05-22 20:40:22,323 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:40:22,324 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 20:40:22,324 INFO hermes_plugins.discord_platform.adapter: [Discord] Disconnected
2026-05-22 20:40:22,327 INFO gateway.run: Gateway running with 1 platform(s)
2026-05-22 20:40:22,332 INFO gateway.run: Channel directory built: 1 target(s)
2026-05-22 20:40:23,336 INFO gateway.run: Starting reconnection watcher for 1 failed platform(s): discord
2026-05-22 20:40:23,337 INFO gateway.run: Press Ctrl+C to stop
2026-05-22 20:40:23,368 INFO gateway.run: Cron ticker started (interval=60s)
2026-05-22 20:40:28,345 INFO gateway.run: kanban dispatcher: embedded in gateway (interval=60.0s)
2026-05-22 20:40:53,375 INFO gateway.run: Reconnecting discord (attempt 2)...
2026-05-22 20:40:53,376 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:40:53,378 INFO gateway.run: Reconnect discord failed, next retry in 60s
2026-05-22 20:41:53,513 INFO gateway.run: Reconnecting discord (attempt 3)...
2026-05-22 20:41:53,514 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:41:53,518 INFO gateway.run: Reconnect discord failed, next retry in 120s
2026-05-22 20:43:17,829 INFO gateway.run: Received SIGTERM — initiating shutdown
2026-05-22 20:43:17,829 WARNING gateway.run: Shutdown context: signal=SIGTERM under_systemd=yes parent_pid=1 parent_name=? loadavg_1m=1.42 parent_cmdline='(unknown)'
2026-05-22 20:43:17,842 INFO gateway.run: Stopping gateway...
2026-05-22 20:43:19,400 INFO gateway.run: Sent shutdown notification to home channel telegram:8405949698
2026-05-22 20:43:19,401 INFO gateway.run: Shutdown phase: notify_active_sessions done at +1.56s
2026-05-22 20:43:19,404 INFO gateway.run: Shutdown phase: drain done at +1.56s (drain took 0.00s, timed_out=False, active_at_start=0, active_now=0)
2026-05-22 20:43:20,327 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram
2026-05-22 20:43:20,328 INFO gateway.run: ✓ telegram disconnected (0.92s)
2026-05-22 20:43:20,329 INFO gateway.run: Shutdown phase: all adapters disconnected at +2.49s
2026-05-22 20:43:20,396 INFO gateway.run: Shutdown phase: final-cleanup tool kill done at +2.55s
2026-05-22 20:43:20,396 INFO gateway.run: Shutdown phase: SessionDB close done at +2.55s
2026-05-22 20:43:20,397 INFO gateway.run: Gateway stopped (total teardown 2.55s)
2026-05-22 20:43:20,397 INFO gateway.run: Cron ticker stopped
2026-05-22 20:43:20,398 INFO gateway.memory_monitor: [MEMORY] shutdown rss=144MB gc=(393, 2, 7) threads=4 uptime=180s
2026-05-22 20:43:20,398 INFO gateway.memory_monitor: [MEMORY] Periodic memory monitoring stopped
2026-05-22 20:43:20,398 INFO gateway.run: Exiting with code 1 (signal-initiated shutdown without restart request) so systemd Restart=on-failure can revive the gateway.
┌─────────────────────────────────────────────────────────┐
│           ⚕ Hermes Gateway Starting...                 │
├─────────────────────────────────────────────────────────┤
│  Messaging platforms + cron scheduler                    │
│  Press Ctrl+C to stop                                   │
└─────────────────────────────────────────────────────────┘

2026-05-22 20:43:31,406 INFO gateway.memory_monitor: [MEMORY] baseline rss=104MB gc=(96, 3, 2) threads=1 uptime=0s
2026-05-22 20:43:31,406 INFO gateway.memory_monitor: [MEMORY] Periodic memory monitoring started (interval: 300s)
2026-05-22 20:43:31,462 WARNING gateway.run: Unknown service_tier 'flex', ignoring
2026-05-22 20:43:31,497 INFO gateway.run: Starting Hermes Gateway...
2026-05-22 20:43:31,497 INFO gateway.run: Session storage: /Users/rob/.hermes/sessions
2026-05-22 20:43:31,498 INFO gateway.run: Agent budget: max_iterations=60 (agent.max_turns from config.yaml, or HERMES_MAX_ITERATIONS from .env, or default 90)
2026-05-22 20:43:31,498 INFO gateway.run: Secret redaction: ENABLED (tool output, logs, and chat responses are scrubbed before delivery)
2026-05-22 20:43:31,500 INFO gateway.run: Previous gateway exited cleanly — skipping session suspension
2026-05-22 20:43:31,574 INFO gateway.run: Connecting to telegram...
2026-05-22 20:43:31,859 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.166.110
2026-05-22 20:43:31,896 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.166.110
2026-05-22 20:43:33,579 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeDefault (30 cmds)
2026-05-22 20:43:33,890 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeAllPrivateChats (30 cmds)
2026-05-22 20:43:34,279 INFO gateway.platforms.telegram: [Telegram] set_my_commands OK for scope BotCommandScopeAllGroupChats (30 cmds)
2026-05-22 20:43:34,280 INFO gateway.platforms.telegram: [Telegram] Telegram menu: 30 commands registered, 114 hidden (over 30 limit). Use /commands for full list.
2026-05-22 20:43:34,284 INFO gateway.platforms.telegram: [Telegram] Connected to Telegram (polling mode)
2026-05-22 20:43:34,291 INFO gateway.run: ✓ telegram connected
2026-05-22 20:43:34,292 INFO gateway.run: Connecting to discord...
2026-05-22 20:43:34,298 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:43:34,298 WARNING gateway.run: ✗ discord failed to connect
2026-05-22 20:43:34,299 INFO hermes_plugins.discord_platform.adapter: [Discord] Disconnected
2026-05-22 20:43:34,302 INFO gateway.run: Gateway running with 1 platform(s)
2026-05-22 20:43:34,306 INFO gateway.run: Channel directory built: 1 target(s)
2026-05-22 20:43:35,310 INFO gateway.run: Starting reconnection watcher for 1 failed platform(s): discord
2026-05-22 20:43:35,311 INFO gateway.run: Press Ctrl+C to stop
2026-05-22 20:43:35,340 INFO gateway.run: Cron ticker started (interval=60s)
2026-05-22 20:43:40,317 INFO gateway.run: kanban dispatcher: embedded in gateway (interval=60.0s)
2026-05-22 20:44:05,347 INFO gateway.run: Reconnecting discord (attempt 2)...
2026-05-22 20:44:05,349 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:44:05,352 INFO gateway.run: Reconnect discord failed, next retry in 60s
2026-05-22 20:45:05,512 INFO gateway.run: Reconnecting discord (attempt 3)...
2026-05-22 20:45:05,513 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:45:05,517 INFO gateway.run: Reconnect discord failed, next retry in 120s
2026-05-22 20:47:05,761 INFO gateway.run: Reconnecting discord (attempt 4)...
2026-05-22 20:47:05,763 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:47:05,766 INFO gateway.run: Reconnect discord failed, next retry in 240s
2026-05-22 20:48:31,529 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(508, 7, 6) threads=6 uptime=300s
2026-05-22 20:51:06,242 INFO gateway.run: Reconnecting discord (attempt 5)...
2026-05-22 20:51:06,244 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:51:06,248 INFO gateway.run: Reconnect discord failed, next retry in 300s
2026-05-22 20:53:31,668 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(242, 9, 6) threads=6 uptime=600s
2026-05-22 20:56:06,879 INFO gateway.run: Reconnecting discord (attempt 6)...
2026-05-22 20:56:06,882 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 20:56:06,887 INFO gateway.run: Reconnect discord failed, next retry in 300s
2026-05-22 20:58:31,817 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(516, 10, 6) threads=6 uptime=900s
2026-05-22 21:01:07,501 INFO gateway.run: Reconnecting discord (attempt 7)...
2026-05-22 21:01:07,502 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 21:01:07,506 INFO gateway.run: Reconnect discord failed, next retry in 300s
2026-05-22 21:03:31,931 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(400, 0, 7) threads=6 uptime=1200s
2026-05-22 21:06:08,141 INFO gateway.run: Reconnecting discord (attempt 8)...
2026-05-22 21:06:08,143 ERROR hermes_plugins.discord_platform.adapter: [Discord] No bot token configured
2026-05-22 21:06:08,148 INFO gateway.run: Reconnect discord failed, next retry in 300s
2026-05-22 21:08:32,005 INFO gateway.memory_monitor: [MEMORY] rss=143MB gc=(0, 2, 7) threads=6 uptime=1500s

Operating System

MacOS 25.4

Python Version

3.11.15

Hermes Version

0.14.0 (2026.5.16) [a84cec61]

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Bug]: discord disabled, still trying to connect