Home / Docs / HAProxy (Hardened) / Troubleshooting
| Symptom | Check | Fix |
|---|---|---|
| 503 no server available | stats page backend state; server health checks | Fix backend addresses/health checks in haproxy.cfg; reload. |
| Reload rejected | `haproxy -c -f /etc/haproxy/haproxy.cfg` output | Fix the reported line; config must validate before reload applies. |
| Stats page unreachable remotely | GCE: it binds 127.0.0.1 by design. AWS: no stats frontend ships | Use an IAP tunnel (GCE) or add a loopback-bound stats frontend (AWS); don't expose stats publicly. |
GCE: curl -fsS http://127.0.0.1:8404/stats (on the instance). AWS: haproxy -c -f /etc/haproxy/haproxy.cfg && systemctl is-active haproxy