Troubleshooting Guide
Common issues and their solutions for SimpleClaw Gateway, channels, and agents.Gateway Issues
Gateway Won’t Start
Port already in use
Port already in use
Error:
EADDRINUSE: address already in useSolution:-
Find process using port 18789:
-
Kill the process:
-
Or use a different port:
Permission denied
Permission denied
Error:
EACCES: permission deniedSolution:- Don’t use privileged ports (below 1024) without sudo
- Use default port 18789 (no sudo needed)
- Check file permissions:
Config errors
Config errors
Error:
Config validation failedSolution:-
Validate config syntax:
-
Check for missing required fields:
-
Reset to defaults if needed:
Gateway Running but Not Responding
Channel Issues
WhatsApp Not Connecting
QR code not appearing
QR code not appearing
-
Ensure channel is enabled:
-
Clear credentials and re-login:
Connection keeps dropping
Connection keeps dropping
- Check for multiple devices using same credentials
- Verify phone has stable internet connection
- Check Gateway logs:
Messages not being received
Messages not being received
-
Check allowlist:
-
Verify DM policy:
- Test with allowed number
Telegram Bot Issues
Bot not responding
Bot not responding
-
Verify bot token:
-
Test token with Telegram API:
-
Check Gateway logs for errors:
Can't find bot in Telegram
Can't find bot in Telegram
- Check bot username with BotFather
- Send
/startto activate bot - Verify bot isn’t blocked in your account
Discord Bot Issues
Bot offline
Bot offline
-
Check bot token:
- Verify privileged intents are enabled in Discord Developer Portal
-
Check Gateway connection:
Bot not seeing messages
Bot not seeing messages
- Enable Message Content Intent in Discord Developer Portal
- Verify bot has permission to read messages in the channel
- Check Gateway logs:
Agent Issues
Agent Not Responding
Model/provider errors
Model/provider errors
-
Check API keys:
-
Verify model is configured:
-
Test provider authentication:
-
Check for rate limits in logs:
Slow responses
Slow responses
-
Check thinking level:
-
Switch to faster model:
-
Monitor token usage:
Agent using wrong model
Agent using wrong model
-
Check session configuration:
-
Update session model:
-
Or reset session:
Tool Execution Errors
bash tool failing
bash tool failing
-
Check shell environment:
-
Test bash directly:
- Check for command restrictions
browser tool not working
browser tool not working
-
Verify browser is enabled:
-
Check Chrome/Chromium installation:
- See Browser Troubleshooting for Linux issues
Remote Access Issues
Can’t Connect to Remote Gateway
Tailscale connection failed
Tailscale connection failed
-
Verify Tailscale is running:
-
Check Tailscale Serve config:
-
Test Tailscale URL:
SSH tunnel drops
SSH tunnel drops
-
Use autossh for persistence:
-
Check SSH keep-alive settings in
~/.ssh/config:
Authentication errors
Authentication errors
-
Check password is set (for public access):
-
Verify auth mode:
-
Test authentication:
Installation Issues
npm Install Failures
Node version too old
Node version too old
Error:
Unsupported engineSolution:Install Node.js 22+:Permission errors during install
Permission errors during install
Error:
EACCES: permission deniedSolution:Use npm prefix to install globally without sudo:Performance Issues
High Memory Usage
-
Check session count:
-
Compact old sessions:
-
Delete unused sessions:
High CPU Usage
-
Check for runaway agents:
-
Review active sessions:
-
Restart Gateway:
Diagnostic Commands
Doctor Command
Run comprehensive health check:- Config validity
- Channel setup
- Model configuration
- DM policy safety
- Dependency versions
Status Commands
Log Commands
Getting Help
If you’re still stuck:Discord Community
Ask for help in the SimpleClaw Discord
GitHub Issues
Report bugs or request features
Documentation
Search the full documentation
FAQ
Common questions and answers