Skip to content

openclaw cron run always times out + doctor --fix breaks multi-account Discord #28942

@sjronan

Description

@sjronan

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:

  1. Configure any cron job with openclaw cron add
  2. Confirm gateway is running (openclaw gateway status shows RPC probe: ok)
  3. Run: openclaw cron run
  4. Observe: always times out after 30000ms

Bug 2:

  1. Configure 7 Discord bots as separate named accounts in channels.discord.accounts
  2. Run: openclaw doctor --fix
  3. Observe: empty "default" account added to channels.discord.accounts
  4. Result: all cron delivery fails with "Channel is required when multiple channels are configured"
  5. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions