Troubleshooting
This guide covers common issues and their solutions.
Daemon Issues
Daemon Won’t Start
Symptom: clauderon daemon exits immediately or errors.
Solutions:
-
Check for existing daemon:
Terminal window pgrep clauderon -
Check if port is in use:
Terminal window lsof -i :3030 -
Check logs:
Terminal window RUST_LOG=clauderon=debug clauderon daemon -
Reset state:
Terminal window rm ~/.clauderon/db.sqliteclauderon daemon
Can’t Connect to Daemon
Symptom: CLI commands fail with connection errors.
Solutions:
-
Verify daemon is running:
Terminal window curl http://localhost:3030/health -
Check daemon logs for errors.
-
Restart daemon:
Terminal window pkill clauderonclauderon daemon
Session Issues
Session Won’t Create
Symptom: clauderon create fails or hangs.
Solutions:
-
Check backend requirements:
- Zellij:
zellij --version - Docker:
docker info
- Zellij:
-
Check repository path exists:
Terminal window ls -la ~/your/project -
Check disk space:
Terminal window df -h ~/.clauderon -
Try with verbose logging:
Terminal window RUST_LOG=clauderon=debug clauderon create --repo ~/project --prompt "test"
Session Not Appearing
Symptom: Session created but not in list.
Solutions:
-
Check with archived:
Terminal window clauderon list --archived -
Reconcile database:
Terminal window clauderon reconcile -
Check database:
Terminal window sqlite3 ~/.clauderon/db.sqlite "SELECT * FROM sessions"
Can’t Attach to Session
Symptom: clauderon attach fails.
Solutions:
-
Check session exists:
Terminal window clauderon list -
Check backend status:
Terminal window # For Zellijzellij list-sessions# For Dockerdocker ps -a | grep clauderon -
Reconcile if needed:
Terminal window clauderon reconcile
Proxy Issues
Credentials Not Injecting
Symptom: Agent gets 401/403 errors.
Solutions:
-
Check credential status:
Terminal window clauderon config credentials -
Verify secret files exist:
Terminal window ls -la ~/.clauderon/secrets/ -
Check file permissions:
Terminal window chmod 600 ~/.clauderon/secrets/* -
Check audit log:
Terminal window tail ~/.clauderon/audit.jsonl | jq -
Test credential directly:
Terminal window curl -H "Authorization: Bearer $(cat ~/.clauderon/secrets/github_token)" \https://api.github.com/user
Certificate Errors
Symptom: SSL/TLS certificate verification fails.
Solutions:
-
Regenerate CA:
Terminal window rm ~/.clauderon/proxy-ca.pem ~/.clauderon/proxy-ca-key.pemclauderon daemon -
Check certificate is mounted (Docker):
Terminal window docker exec <container> cat /etc/clauderon/proxy-ca.pem -
Check environment variables in session:
Terminal window echo $SSL_CERT_FILEecho $NODE_EXTRA_CA_CERTS
Requests Being Blocked
Symptom: Requests fail with 403 in read-only mode.
Solutions:
-
Check access mode:
Terminal window clauderon list -
Change to read-write if needed:
Terminal window clauderon set-access-mode <session> read-write -
Check audit log for blocked requests:
Terminal window jq 'select(.allowed == false)' ~/.clauderon/audit.jsonl
Docker Backend Issues
Container Won’t Start
Symptom: Docker session creation fails.
Solutions:
-
Check Docker is running:
Terminal window docker info -
Check user is in docker group:
Terminal window groups | grep docker -
Pull image manually:
Terminal window docker pull ghcr.io/anthropics/claude-code:latest -
Check disk space:
Terminal window docker system df
Container Network Issues
Symptom: Container can’t reach proxy.
Solutions:
-
Test from container:
Terminal window docker exec <container> curl http://host.docker.internal:3030/health -
Check Docker network mode.
-
Verify proxy is accessible from host.
Out of Disk Space
Symptom: Docker operations fail with no space.
Solutions:
-
Check Docker disk usage:
Terminal window docker system df -
Clean up:
Terminal window docker system prune -a -
Clean clauderon cache:
Terminal window clauderon clean-cache --force
Zellij Backend Issues
Zellij Session Not Found
Symptom: Can’t attach, session shows as missing.
Solutions:
-
List Zellij sessions:
Terminal window zellij list-sessions -
Kill orphaned sessions:
Terminal window zellij kill-session <name> -
Reconcile:
Terminal window clauderon reconcile
Environment Variables Not Set
Symptom: Proxy variables missing in Zellij session.
Solutions:
-
Verify daemon was running when session was created.
-
Delete and recreate session:
Terminal window clauderon delete <session>clauderon create --repo ~/project --prompt "task"
1Password Issues
1Password CLI Not Found
Symptom: Error about op command not found.
Solutions:
-
Install 1Password CLI:
Terminal window brew install 1password-cli -
Verify installation:
Terminal window op --version -
Specify path in config:
[onepassword]op_path = "/usr/local/bin/op"
1Password Not Signed In
Symptom: Credentials not loading from 1Password.
Solutions:
-
Sign in:
Terminal window op signin -
For service accounts:
Terminal window export OP_SERVICE_ACCOUNT_TOKEN="your-token" -
Test access:
Terminal window op vault list
Item Not Found
Symptom: 1Password reference fails.
Solutions:
-
Verify reference format:
op://Vault/Item/Field -
Test reference:
Terminal window op read "op://Vault/Item/Field" -
Check vault and item names match exactly.
Performance Issues
Slow Session Startup
Solutions:
-
Use Zellij for faster startup.
-
For Docker, use
--pull-policy neverwith cached images. -
Check disk I/O.
High Memory Usage
Solutions:
-
Check for many active sessions:
Terminal window clauderon list | wc -l -
Archive old sessions:
Terminal window clauderon archive <session> -
Restart daemon to clear memory.
Slow Web UI
Solutions:
-
Archive old sessions with large chat histories.
-
Clear browser cache.
-
Check WebSocket connection status.
Getting Help
If these solutions don’t help:
-
Check logs with debug level:
Terminal window RUST_LOG=clauderon=debug clauderon daemon -
Report issues at GitHub Issues
-
Include:
- clauderon version
- Operating system
- Backend type
- Error messages
- Relevant logs
See Also
- Installation - Setup guide
- Configuration Reference - Config options
- Docker Backend - Docker-specific guide
- Zellij Backend - Zellij-specific guide