Bug Report
OpenClaw version: 2026.3.2
OS: macOS 26.2 (arm64)
Gateway mode: local, loopback (127.0.0.1:18789)
Description
The Discord provider WebSocket connection drops every ~15 minutes throughout the day. After each drop, it attempts a resume with 1000ms backoff but the resume consistently fails with code 1005.
The only fix is a manual gateway restart, which restores connectivity temporarily before the cycle repeats.
Log Pattern (repeating all day)
[2026-03-07T08:00:06] discord gateway: WebSocket connection closed with code 1006
[2026-03-07T08:00:06] discord gateway: Attempting resume with backoff: 1000ms after code 1006
[2026-03-07T08:00:13] discord gateway: WebSocket connection closed with code 1005
[2026-03-07T08:16:20] discord gateway: WebSocket connection closed with code 1006
[2026-03-07T08:16:20] discord gateway: Attempting resume with backoff: 1000ms after code 1006
[2026-03-07T08:16:27] discord gateway: WebSocket connection closed with code 1005
This repeats every 13–17 minutes continuously. openclaw status reports Discord as OK even while the connection is in a broken state.
Steps to Reproduce
- Run OpenClaw gateway with Discord channel configured
- Leave running for 15+ minutes
- Observe Discord WebSocket drop/resume failure cycle in logs
Expected Behavior
Discord WebSocket should maintain a stable connection or successfully resume after drops without requiring a full gateway restart.
Workaround
Manual openclaw gateway restart restores connectivity temporarily.
Notes
- Telegram channel is unaffected and stable
- This pattern started appearing consistently from 2026-03-06 onwards
- Gateway is bound to loopback; outbound Discord connections should not be affected by this
Bug Report
OpenClaw version: 2026.3.2
OS: macOS 26.2 (arm64)
Gateway mode: local, loopback (127.0.0.1:18789)
Description
The Discord provider WebSocket connection drops every ~15 minutes throughout the day. After each drop, it attempts a resume with 1000ms backoff but the resume consistently fails with code 1005.
The only fix is a manual gateway restart, which restores connectivity temporarily before the cycle repeats.
Log Pattern (repeating all day)
This repeats every 13–17 minutes continuously.
openclaw statusreports Discord asOKeven while the connection is in a broken state.Steps to Reproduce
Expected Behavior
Discord WebSocket should maintain a stable connection or successfully resume after drops without requiring a full gateway restart.
Workaround
Manual
openclaw gateway restartrestores connectivity temporarily.Notes