A reverse proxy can still be working when its client gives up. Nginx records that condition as 499 in its logs; it is not a standard response sent to the disconnected client. The apparent client may itself be another proxy. Identify which layer stopped waiting, then inspect whether the application continued expensive work after the requester had gone away.
499 Client Closed Request
Nginx uses this log code when the requesting client closes the connection before the server finishes responding.
All HTTP status codes
What does HTTP 499 mean?
An investigation example
Illustrative report-page investigation
Nginx log: 499 after 30 seconds
An outer gateway stops waiting at that point.
Application report query finishes after 48 seconds.
Action: reduce or queue the long work and align timeout policy.
Verify: the visitor receives a complete result within the intended budget.Common causes
- A browser navigates away or cancels a slow request before completion.
- A load balancer or monitor has a shorter timeout than the origin's response time.
- Slow queries or external calls keep the request running until an upstream client gives up.
Diagnose the response
Correlate client disconnect timing with upstream work and intervening timeout limits rather than treating 499 as an origin response.
- Compare request duration with the timeout configured on the client, CDN and proxy. A cluster of disconnects at the same duration often identifies a boundary worth checking.
- Trace slow requests through application, database and external-service timings. Determine whether the server kept doing expensive work after the client had already disconnected.
- Distinguish normal cancellations from a widespread slowdown. Optimise the slow path or move long work to a background job before simply increasing every timeout.
What it means for website monitoring
A monitoring timeout may correspond to 499 in your server logs. Compare timestamps and duration across layers to find the slow work and the first connection to close.