Skip to main content

Troubleshooting Guide

This guide covers common issues and solutions for OpenClaw, organized by category.

Quick Diagnostics

Run these commands first:

Installation Issues

Problem: OpenClaw requires Node.js 22+.Symptoms:
Fix:
Problem: npm install fails with EACCES.Fix:
Problem: openclaw command not found after installation.Fix:
Problem: pnpm build or pnpm ui:build fails.Fix:

Gateway Issues

Problem: Gateway fails to start.Symptoms:
Fix:
Problem: Port 18789 already bound.Symptoms:
Fix:
Problem: Can’t connect to gateway from other devices.Fix:
Problem: Gateway starts then immediately crashes.Debug:

Channel Issues

Problem: QR code doesn’t appear or fails to scan.Fix:
Problem: Telegram bot doesn’t reply to messages.Debug:
Problem: Discord bot shows as offline.Fix:
Problem: Signal channel fails to send.Fix:
Problem: Slack bot not responding.Fix:

Authentication Issues

Problem: Authentication fails when connecting to gateway.Symptoms:
Fix:
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
Problem: DM pairing code not appearing.Debug:
Problem: openclaw login anthropic fails.Fix:

Performance Issues

Problem: High memory usage (>2GB).Fix:
Problem: Agent takes too long to respond.Debug:
Problem: Gateway consuming >50% CPU.Debug:
Problem: ~/.openclaw/ growing too large.Fix:

Docker Issues

Problem: Docker container exits immediately.Debug:
Problem: Permission denied accessing mounted volumes.Fix:
Problem: Gateway unreachable from host.Fix:

Diagnostic Commands

System Information

Gateway Diagnostics

Configuration Diagnostics

Log Analysis

Getting Help

If issues persist:
1

Run full diagnostics

2

Collect logs

3

Check GitHub Issues

4

Ask on Discord

Join the community: https://discord.gg/clawd
5

File a bug report

Include:
  • OpenClaw version
  • Platform and Node version
  • openclaw doctor output
  • Relevant logs
  • Steps to reproduce

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