-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
[Bug]: gateway health drops live runtime state and doctor warns for disabled allowlist channels #32689
Copy link
Copy link
Open
Description
Summary
I updated OpenClaw on my VPS to 2026.3.2 and saw two false reports around channel state. The gateway health snapshot drops live runtime fields, and the doctor empty-allowlist scan still evaluates channels/accounts that are explicitly disabled.
Actual behavior
openclaw channels status --jsonshows Slack as configured and running, butopenclaw health --jsoncan still return:botTokenSource: "none"appTokenSource: "none"running: false
- Gateway startup can print this warning even when WhatsApp is disabled:
channels.whatsapp.groupPolicy is "allowlist" but groupAllowFrom (and allowFrom) is empty
- On my VPS I saw the health mismatch and the warning at the same time while Slack Socket Mode was already connected.
Expected behavior
openclaw health --jsonshould reflect the live runtime snapshot for channel/account state that already exists in the running gateway.- Doctor should skip disabled channels/accounts when checking empty allowlist warnings.
Repro notes
- Update to
2026.3.2. - Use a config with Slack enabled and configured, and WhatsApp set to
enabled: false. - Start or restart
openclaw-gateway. - Compare
openclaw channels status --jsonwithopenclaw health --json. - Check startup logs for doctor warnings.
Environment:
- Linux VPS
systemd --usergateway service- Slack enabled from config
- WhatsApp disabled in config
Proposed fix
- Overlay the gateway runtime snapshot onto the refreshed health cache before serving/broadcasting health.
- Skip disabled channels/accounts in
detectEmptyAllowlistPolicy(). - I have a patch ready and will open a PR linked to this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.