Nginx 499 Client Closed Request
HTTP 499 Client Closed Request is a non-standard code logged by Nginx when the client closed the connection before the server finished responding.
Quick answer
HTTP 499 Client Closed Request is a non-standard code logged by Nginx when the client closed the connection before the server finished responding. The client never receives it; it appears only in server logs and usually means the backend was too slow or the user gave up.
Last updated · Maintained by FreeAIToolz · How we test
What does Nginx 499 Client Closed Request mean?
Because the client disconnected, there is no one to send a response to. Spikes in 499s often mean slow upstream responses, load balancer timeouts shorter than the app’s, or users cancelling slow requests.
| Status code | 499 |
|---|---|
| Name | Client Closed Request |
| Class | 4xx Client Error |
| Defined in | Nginx (non-standard) |
| Safe to retry automatically? | No: change the request first |
What causes Nginx 499?
- Slow backend or database queries.
- A load balancer or client timeout shorter than the upstream processing time.
- Users navigating away or cancelling requests.
How do I fix Nginx 499?
- Find slow endpoints in the logs and speed them up.
- Align timeouts: client > load balancer > Nginx > app.
- Use proxy_ignore_client_abort only if work must finish even when the client leaves.
What should a client do after Nginx 499?
Not seen by clients; if you are the client, your timeout fired first.
Does Nginx 499 affect SEO?
Many 499s from Googlebot mean your pages respond too slowly, which hurts crawling.
Other 4xx status codes
The request contains an error or cannot be fulfilled as sent. Fix the request before retrying.
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Content Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 416 Range Not Satisfiable
- 417 Expectation Failed
- 418 I'm a teapot
- 421 Misdirected Request
- 422 Unprocessable Content
- 423 Locked
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 451 Unavailable For Legal Reasons
Frequently asked questions
Is 499 a real HTTP status?
499 vs 504?
Is 499 a client or server error?
Related
- 504 Gateway Timeout HTTP 504 Gateway Timeout means a gateway or proxy did not get a response from the upstream server in time.
- 408 Request Timeout HTTP 408 Request Timeout means the server closed the connection because the client took too long to send the c.
- 502 Bad Gateway HTTP 502 Bad Gateway means a server acting as a gateway or proxy (Nginx, a load balancer, Cloudflare) got an i.
- Open the HTTP Status Codes Reference → Free, no signup.