Troubleshooting by Symptom
Whenever deployment or voice calls misbehave, check service status and recent container logs inside ~/chirp (https profile runs app, livekit, nginx; external proxy setups run app and livekit):
sh
cd ~/chirp
sudo docker compose config --services
sudo docker compose ps --all
sudo docker compose logs --tail=80 app livekit1. Config Download or Image Pull Fails
| Symptom | Cause & Fix |
|---|---|
curl returns 404 for compose.yaml | Confirm URL points to root compose.yaml on main. View Compose |
Image pull says manifest unknown | Check CHIRP_IMAGE repo and tag in .env against Docker Hub Tags. |
| Architecture mismatch or syntax error | Check dpkg --print-architecture equals amd64 and sudo docker compose version is 2.26+. Getting Started |
2. Bundled Nginx Certificate Issuance Fails or Stays unhealthy
Inspect nginx logs and host TCP listeners:
sh
sudo docker compose logs --tail=100 nginx
sudo ss -ltnp| Log / Status Symptom | What to Check |
|---|---|
| Address already in use | Both bundled profiles need 443/TCP; HTTP-01 needs 80/TCP; DNS-01 defaults to 127.0.0.1:8080. Stop conflicting listeners or switch to Existing Nginx. |
| HTTP-01 challenge failed | Verify public A record points to your host (Cloudflare set to DNS-only) and firewall/security groups allow 80/TCP. HTTP-01 Guide |
| DNS-01 plugin or credential error | Match CHIRP_DNS_PLUGIN to secrets/swag/dns-conf/<plugin>.ini, verify 0600 permissions, scoped API token permissions, and TXT propagation logs. DNS-01 Guide |
Certificate issued, yet container unhealthy | Health check queries /healthz over 443 with CHIRP_DOMAIN SNI. Confirm app is healthy and CHIRP_DOMAIN matches the cert. |
Force-recreate nginx after fixing config:
sh
sudo docker compose up -d --force-recreate --wait --wait-timeout 600 nginx
sudo docker compose ps3. Existing Nginx Returns 502 Bad Gateway or 404 on /rtc
Probe both upstreams directly from the Nginx host (or proxy container network) (substitute LAN IP or app:18115 / livekit:7880):
sh
curl -sS -o /dev/null -w '%{http_code}\n' http://127.0.0.1:18115/healthz
curl -sS -o /dev/null -w '%{http_code}\n' http://127.0.0.1:7880/rtc/v1/validate- First command must return
200, second must return401. If unreachable, verifyCHIRP_HTTP_PUBLISH_IP, firewalls, or Docker network attachment. - If direct probes succeed yet public
/rtc/v1/validatereturns404, fix Nginx's/rtclocationrule (e.g., avoid trailing slash rewriting inproxy_passand preserveUpgrade/ConnectionWebSocket headers). - Whenever Chirp containers recreate behind a Dockerized Nginx proxy, run
nginx -s reloadto flush stale container IP caches. Existing Nginx
4. Browser Loads, Registration or Login Fails
- Passkey errors or origin mismatch: Open
/registerdirectly, confirm trusted TLS without warnings, and verifyCHIRP_PUBLIC_ORIGINin.envmatches the browser and client URL character-for-character (including port). Re-runsudo docker compose up -d --wait --wait-timeout 600after editing.env. - Stuck "Pending Approval": Approve requests in
/admin/→ Requests, or runchirp admin bootstrapfor a fresh database's first account. Verification NETWORK_TIME_REQUIRED: Device clock drifted too far or NTP (123/UDP) is blocked; enable automatic network time sync and retry.- Other device kicked offline: Expected—Chirp allows only one active client login session per account at a time.
5. Joined Room Cleanly, Zero Audio or One-Way Audio
Check from endpoint out to network:
- Verification status: Confirm no peer displays Verification Required. Unverified devices mute voice and data across the whole room.
- Local mic & output state: Have the speaker confirm mute is off, VAD threshold isn't too high, and OS mic permission is granted; have the listener check Deafen is off, output device is right, and per-member gain isn't
0%. Audio & Profile CHIRP_RTC_NODE_IP&7882/UDP: VerifyCHIRP_RTC_NODE_IPholds the media host's reachable public IPv4 and7882/UDPinbound passes through cloud security groups, host firewall, and router NAT. Chirp streams media exclusively over UDP with no TCP fallback or external TURN.- LiveKit logs: Run
sudo docker compose logs --tail=80 livekitduring a live test call to inspect ICE candidate pairs, update.env, recreate containers, and confirm two-way audio again.
