-
-
Notifications
You must be signed in to change notification settings - Fork 69.4k
openclaw cron run always times out + doctor --fix breaks multi-account Discord #28942
Description
Summary
Two bugs: cron run always times out even when gateway is healthy, and doctor --fix repeatedly corrupts multi-account Discord configuration.
Steps to reproduce
Bug 1:
- Configure any cron job with openclaw cron add
- Confirm gateway is running (openclaw gateway status shows RPC probe: ok)
- Run: openclaw cron run
- Observe: always times out after 30000ms
Bug 2:
- Configure 7 Discord bots as separate named accounts in channels.discord.accounts
- Run: openclaw doctor --fix
- Observe: empty "default" account added to channels.discord.accounts
- Result: all cron delivery fails with "Channel is required when multiple channels are configured"
- Repeat doctor --fix: default account re-added every time
Expected behavior
cron run should trigger the job immediately for manual testing
doctor --fix should not add or modify accounts when valid multi-account Discord config exists
Actual behavior
cron run always returns Error: gateway timeout after 30000ms
doctor --fix injects empty default account, breaking multi-bot delivery
OpenClaw version
OpenClaw version: 2026.2.26 (bc50708)
Operating system
Operating system: Ubuntu 24.04 (WSL2 on Windows 11)
Install method
Install method: npm install -g openclaw
Logs, screenshots, and evidence
Error: gateway timeout after 30000ms
Gateway target: ws://127.0.0.1:18789
Cron delivery error:
"Channel is required when multiple channels are configured: telegram, discord
Set delivery.channel explicitly or use a main session with a previous channel."Impact and severity
Affects any user with multi-agent multi-bot Discord setup (7 agents/bots)
Bug 1: blocks workflow — cannot manually test/debug cron jobs
Bug 2: blocks workflow — breaks automated delivery every time doctor runs
Frequency: always reproducible
Consequence: missed scheduled agent reports, extra manual remediation required after every doctor --fix
Additional information
Multi-account Discord (one bot per agent) is a legitimate documented use case. Workaround for Bug 2: manually delete channels.discord.accounts.default after each doctor --fix. Scheduled cron jobs DO fire correctly at their scheduled times — Bug 1 is specific to the manual cron run debug command only.