Skip to content

Troubleshooting playbooks

This section covers common operational issues and how to diagnose them. Each playbook walks through the symptoms, likely causes, and the steps to resolve the issue.

Playbooks

General debugging approach

  1. Check the admin APIGET /health and GET /stats on the admin listener show the gateway's view of upstream health and active connections.
  2. Check the access log — every request is logged with the request id, route, upstream, status, and duration. Filter by the failing request's correlation id.
  3. Use dwara explain — the dwara explain <method> <path> command traces a request through the full decision path, showing which route matched, which policies applied, and which upstream would be selected. See dwara explain.
  4. Check metrics — the gateway exports Prometheus-compatible metrics on the admin listener. Look for spikes in error rates, latency histograms, and breaker state.
  5. Check the configdwara validate checks the config for validation errors without applying it. dwara diff shows what changed between the current and desired config.

See also