LokiVLProxyBackendUnreachable
- Signal: sustained
500responses from proxy to clients. Like Loki, the proxy answers every failed backend call with500and Loki's text (Internal Server Error, astext/plain): VictoriaLogs refusing or resetting the connection, a VictoriaLogs or front-proxy error status, a truncated or malformed body. It never answers502or503for a query. A backend deadline is504, a client cancellation499, a full queue429. - Likely causes: VictoriaLogs outage, network/DNS path break, backend auth mismatch.
- The client text carries no backend detail. The proxy's
request errorlog line has it inupstream_error: the transport error, VictoriaLogs' message or the front proxy's status. - Not every
500means the backend is down: queries that exceed-backend-max-buffered-response-bytesare rejected with500and a message naming that flag. A query that exceeds-manual-range-metric-row-limitis a400naming it. Check the error message before treating the backend as unreachable.
Triage​
kubectl -n <ns> exec <proxy-pod> -- wget -qO- http://<victorialogs>:9428/health- Validate
-backendURL, DNS resolution, and network policy. - Validate backend auth headers/credentials used by proxy.
- Check backend saturation and error logs.
- Search proxy logs for
request errorentries and readupstream_error:dial tcp,connection refusedor a VictoriaLogs message mean the backend failed; alimit_flagfield means an execution-limit rejection for oversized queries, not backend unavailability. Narrow the offending queries (selector, range or grouping) rather than failing over the backend.
Mitigation​
- Restore backend service/network reachability.
- Fix backend auth credentials or forwarded headers.
- Fail over to healthy backend if your topology supports it.
Recovery Criteria​
500rate returns to baseline.- Proxy readiness remains stable.
- Circuit breaker closes and stays closed.
Prevention​
Apply Deployment And Scaling Best Practices for backend health probes, network path hardening, and failover readiness.