Fix Google Chat Plugin Infinite Restart Loop
Typical Signal
[google-chat] channel exited ... restartingIf the Google Chat plugin starts, exits immediately, and then restarts in a loop, the issue is usually channel config validity or startup ordering. Stabilize with a stop-validate-start sequence.
Next Step
Fix now, then reduce repeat incidents
If this issue keeps coming back, validate your setup in Doctor first, then harden your config.
Jump to Fix
Step 1: Stop before changes
openclaw gateway stop openclaw gateway status
Step 2: Validate Google Chat config
Confirm required credentials and channel fields are present, and no duplicate Google Chat channel entries exist.
# validate config structure first
node -e "JSON.parse(require('fs').readFileSync(process.env.HOME+'/.openclaw/openclaw.json','utf8')); console.log('config ok')"
# then run diagnostics
npx clawkit-doctor@latestStep 3: Start once after cleanup
openclaw gateway start openclaw logs --follow
Avoid repeated manual restarts while logs are still initializing. Repeated start/stop can mask the original startup error and make loops harder to diagnose.
Step 4: Verify stable state
No repeated channel exited/restarting logs for at least 2-3 minutes
Channel status stays running/connected in dashboard
Test message delivery succeeds end-to-end
Related Guides
Did this guide solve your problem?