Description
The Discord provider disconnects every ~10-15 minutes, requiring the health-monitor to detect and restart it. This creates a recurring cycle where messages sent during the ~2 second reconnect window can be missed.
Environment
- OpenClaw version: 2026.3.8 (3caab92)
- Node: v22.22.0
- OS: Ubuntu Linux 6.17.0 (x64)
- Discord plugin: bundled (no pinned override)
- Bot: single guild, 10 channels,
requireMention: false
Observed Behavior
After gateway start, the Discord provider connects successfully but drops the connection every 10-15 minutes. The health-monitor detects the disconnect and restarts the provider, which reconnects in ~2 seconds. The cycle repeats indefinitely.
12:28:50 [discord] logged in to discord as 1476669405822713916 (Zen)
12:43:47 [health-monitor] [discord:default] health-monitor: restarting (reason: disconnected)
12:43:49 [discord] logged in to discord as 1476669405822713916 (Zen)
12:58:47 [health-monitor] [discord:default] health-monitor: restarting (reason: disconnected)
12:58:49 [discord] logged in to discord as 1476669405822713916 (Zen)
13:08:47 [health-monitor] [discord:default] health-monitor: restarting (reason: disconnected)
13:08:49 [discord] logged in to discord as 1476669405822713916 (Zen)
13:18:47 [health-monitor] [discord:default] health-monitor: restarting (reason: disconnected)
13:18:50 [discord] logged in to discord as 1476669405822713916 (Zen)
Pattern: disconnect detected at :43, :58, :08, :18 — roughly every 10-15 minutes.
Expected Behavior
Discord connection should remain stable between health-monitor checks, with the underlying discord.js WebSocket maintaining its heartbeat/keepalive with the Discord gateway.
Notes
- No errors logged between connect and disconnect — the connection silently drops
- Gateway itself is stable (same PID, no restarts)
- Previously had Discord plugin pinned to
2026.2.26 which did not exhibit this behavior; un-pinned to test 2026.3.8
openclaw channels status --probe reports disconnected between health-monitor cycles
- The
streaming: off config is set for Discord
Description
The Discord provider disconnects every ~10-15 minutes, requiring the health-monitor to detect and restart it. This creates a recurring cycle where messages sent during the ~2 second reconnect window can be missed.
Environment
requireMention: falseObserved Behavior
After gateway start, the Discord provider connects successfully but drops the connection every 10-15 minutes. The health-monitor detects the disconnect and restarts the provider, which reconnects in ~2 seconds. The cycle repeats indefinitely.
Pattern: disconnect detected at :43, :58, :08, :18 — roughly every 10-15 minutes.
Expected Behavior
Discord connection should remain stable between health-monitor checks, with the underlying discord.js WebSocket maintaining its heartbeat/keepalive with the Discord gateway.
Notes
2026.2.26which did not exhibit this behavior; un-pinned to test2026.3.8openclaw channels status --probereportsdisconnectedbetween health-monitor cyclesstreaming: offconfig is set for Discord