You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When openclaw.json contains an unrecognized config key (e.g., channels.whatsapp.groups.*.groupPolicy), the gateway enters an infinite config validation retry loop with zero backoff. The same error message is written to gateway.err.log on every cycle, causing the log file to grow to ~1GB within hours.
The gateway process stays alive (not crashing), consuming CPU in the retry loop, but is completely non-functional — no messages are processed.
Gateway was completely unresponsive (no Telegram/WhatsApp messages processed)
The only fix was to manually edit the config and restart
OpenClaw version
2026.2.26
Operating system
macOS 15 (Darwin 24.6.0, Apple Silicon)
Install method
npm global
Impact and severity
Affected: Anyone whose config becomes invalid after an upgrade (common — config schema changes between versions)
Severity: High — gateway silently becomes non-functional, fills disk with log spam, no alert to user
Frequency: 100% reproducible with any invalid config key
Consequence: Bot goes offline with no obvious indication. On unattended machines, disk can fill up. In my case, the bot was unresponsive and I only noticed when messages stopped being answered.
Suggested fix
Fail fast: If config is invalid, log the error once and exit with non-zero status. Let the process manager (systemd/launchd/pm2) handle restarts with its own backoff.
Log deduplication: At minimum, don't log the same error message more than once per config file change.
Summary
When
openclaw.jsoncontains an unrecognized config key (e.g.,channels.whatsapp.groups.*.groupPolicy), the gateway enters an infinite config validation retry loop with zero backoff. The same error message is written togateway.err.logon every cycle, causing the log file to grow to ~1GB within hours.The gateway process stays alive (not crashing), consuming CPU in the retry loop, but is completely non-functional — no messages are processed.
Steps to reproduce
openclaw.json, e.g.:{ "channels": { "whatsapp": { "groups": { "*": { "groupPolicy": "open", "requireMention": false } } } } }groupPolicyis valid atchannels.whatsapp.groupPolicybut not insidegroups.*)~/.openclaw/logs/gateway.err.logExpected behavior
Actual behavior
Gateway enters a tight loop, logging the same error on every iteration:
This message repeats indefinitely. In my case:
gateway.err.loggrew to 983MBgateway.loggrew to 21MBOpenClaw version
2026.2.26
Operating system
macOS 15 (Darwin 24.6.0, Apple Silicon)
Install method
npm global
Impact and severity
Suggested fix
openclaw doctor --fixcan resolve the issue, consider running it automatically (or at least prompting once).Related issues