Troubleshooting Guide
This guide covers common issues and solutions for OpenClaw, organized by category.Quick Diagnostics
Run these commands first:Installation Issues
Node.js version too old
Node.js version too old
Problem: OpenClaw requires Node.js 22+.Symptoms:Fix:
Permission denied during install
Permission denied during install
Problem: npm install fails with EACCES.Fix:
Command not found after install
Command not found after install
Problem:
openclaw command not found after installation.Fix:Build fails from source
Build fails from source
Problem:
pnpm build or pnpm ui:build fails.Fix:Gateway Issues
Gateway won't start
Gateway won't start
Problem: Gateway fails to start.Symptoms:Fix:
Port already in use
Port already in use
Problem: Port 18789 already bound.Symptoms:Fix:
Gateway not accessible remotely
Gateway not accessible remotely
Problem: Can’t connect to gateway from other devices.Fix:
Gateway crashes on startup
Gateway crashes on startup
Problem: Gateway starts then immediately crashes.Debug:
Channel Issues
WhatsApp QR code won't scan
WhatsApp QR code won't scan
Problem: QR code doesn’t appear or fails to scan.Fix:
Telegram bot not responding
Telegram bot not responding
Problem: Telegram bot doesn’t reply to messages.Debug:
Discord bot offline
Discord bot offline
Problem: Discord bot shows as offline.Fix:
Signal not sending messages
Signal not sending messages
Problem: Signal channel fails to send.Fix:
Slack bot not in workspace
Slack bot not in workspace
Problem: Slack bot not responding.Fix:
Authentication Issues
Unauthorized / 401 error
Unauthorized / 401 error
Rate limited
Rate limited
Problem: Too many failed authentication attempts.Symptoms:Fix:Rate limiting config from
src/gateway/auth-rate-limit.ts:- Max attempts: 10
- Window: 1 minute
- Lockout: 5 minutes
Pairing code not received
Pairing code not received
Problem: DM pairing code not appearing.Debug:
Claude login fails
Claude login fails
Problem:
openclaw login anthropic fails.Fix:Performance Issues
Gateway using too much memory
Gateway using too much memory
Problem: High memory usage (>2GB).Fix:
Slow message responses
Slow message responses
Problem: Agent takes too long to respond.Debug:
Gateway CPU usage high
Gateway CPU usage high
Problem: Gateway consuming >50% CPU.Debug:
Disk space filling up
Disk space filling up
Problem: ~/.openclaw/ growing too large.Fix:
Docker Issues
Container won't start
Container won't start
Problem: Docker container exits immediately.Debug:
Volume permissions error
Volume permissions error
Problem: Permission denied accessing mounted volumes.Fix:
Can't connect to containerized gateway
Can't connect to containerized gateway
Problem: Gateway unreachable from host.Fix:
Diagnostic Commands
System Information
Gateway Diagnostics
Configuration Diagnostics
Log Analysis
Getting Help
If issues persist:Check GitHub Issues
Search existing issues: https://github.com/openclaw/openclaw/issues
Ask on Discord
Join the community: https://discord.gg/clawd
Next Steps
Security Audit
Run security checks and fix issues
Deployment Guide
Deploy with best practices
Doctor Command
Detailed doctor command reference
Discord Support
Get help from the community

