Skip to main content

Incident Response

Severity Levels

Quick Diagnostics

Check Gateway Health

Check Telegram Connection

View Logs

Common Incidents

Gateway Not Responding

Symptoms: Health endpoint returns error or times out Resolution:
  1. Check if container is running: docker ps | grep crocbot
  2. Check container logs: docker logs crocbot --tail 100
  3. Restart container: docker restart crocbot
  4. If persists, check system resources (memory, disk)

Telegram Disconnected

Symptoms: crocbot channels status shows Telegram offline Resolution:
  1. Check bot token is valid: verify with @BotFather
  2. Check network connectivity from container
  3. Review gateway logs for connection errors
  4. Restart gateway: docker restart crocbot
  5. If 429 errors, wait for rate limit cooldown

High Memory Usage

Symptoms: Health endpoint shows high heapUsedMb/rssMb Resolution:
  1. Check current memory: curl localhost:18789/health | jq '.heapUsedMb, .rssMb'
  2. If over 512MB RSS, consider restart
  3. Check for memory leaks in logs
  4. Restart container: docker restart crocbot

Bot Not Responding to Messages

Symptoms: Messages sent but no response Resolution:
  1. Check gateway is running and healthy
  2. Check Telegram connection status
  3. Check agent configuration: crocbot config show
  4. Check API key validity (Anthropic, etc.)
  5. Review logs for processing errors

Restart Procedures

Docker Container

Full Redeploy

Rollback

If a recent update caused issues:

Escalation

If standard procedures do not resolve:
  1. Collect logs: docker logs crocbot > incident-logs.txt
  2. Collect health: curl localhost:18789/health > health.json
  3. Open GitHub issue with logs and reproduction steps