Free auditStart free
GuideError · HTTP status codes

HTTP 499 Client Closed Request

HTTP 499 is a non-standard code in nginx and Cloudflare logs for a client that hung up before the reply. See the causes, what to check and the nginx settings.

4 min
read
6
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
The short answer

HTTP 499 is a non-standard status that nginx and Cloudflare record in their logs when the client closes the connection before the server finishes responding. No 499 response reaches the client; it appears only in logs. A common pattern is a client deadline shorter than your latency, so measure slow endpoints before changing any setting.

  1. What a 499 means and who defines it
  2. When a 499 is worth investigating
  3. nginx: what to log and which setting matters
  4. What it does to SEO
30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01499 compared with 408 and 504

What a 499 means and who defines it

499 is not an HTTP standard status code. It is not defined in RFC 9110. nginx defines it in its source as NGX_HTTP_CLIENT_CLOSED_REQUEST with the value 499, and finalizes a request with it after logging "client prematurely closed connection" at the info level. Cloudflare uses the same number: it records a 499 "when a client closes the connection before the request is complete", and sends no 499 response to the client.
Code

499

Standard?
No. nginx and Cloudflare logging value
Who gave up
The client closed the connection
Seen by the client?
No, logs only
Code

408

Standard?
Yes, RFC 9110
Who gave up
The server stopped waiting for the client's request
Seen by the client?
Yes, as a response from the server
Code

504

Standard?
Yes, RFC 9110
Who gave up
A proxy stopped waiting for an upstream server
Seen by the client?
Yes

Because the client has already gone, you never see a 499 in a browser. You see it in access logs, analytics and monitoring. Cloudflare says clients disconnect for ordinary reasons such as page navigation, app cancellation or a request deadline, and that a low 499 rate is expected and does not indicate a fault.

03Check it

nginx: what to log and which setting matters

In nginx, a 499 appears in the access log's status field when a client closes the connection before nginx finishes. To see the matching event in the error log, set its level to info, because that is the level of the "client prematurely closed connection" message. The related directive is proxy_ignore_client_abort, which "determines whether the connection with a proxied server should be closed when a client closes the connection without waiting for a response". It defaults to off, so nginx closes the upstream connection when the client leaves.

If clients leave because responses take a long time, the fix is a faster response, and the page to read is 504 Gateway Timeout for the proxy-side timeouts that look similar.

Log request time next to the status to spot slow requests that end in 499
log_format timed '$remote_addr "$request" $status $request_time $upstream_response_time';
access_log /var/log/nginx/access.log timed;

location /api/ {
    proxy_pass http://127.0.0.1:8000;
    # default is off: close the upstream connection when the client leaves
    proxy_ignore_client_abort off;
}
04Explained

What it does to SEO

A 499 is never returned, so it is not a status Google receives or documents. What matters is why the connection was closed. If real visitors abandon slow pages, that is a latency problem; see slow TTFB. If the failures you see are responses with 5xx status, they are covered in 5xx server errors, and Google's documentation on how HTTP status codes affect its crawlers lists the codes it does act on.

Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What does HTTP 499 mean?

It means the client closed the connection before the server finished responding. It is a non-standard code recorded in nginx and Cloudflare logs, and no 499 response is sent to the client.

02How do I fix HTTP 499 in nginx?

Find which endpoints show 499, log $request_time and $upstream_response_time beside the status, and fix the slow responses or the client timeout behind them. Changing proxy_ignore_client_abort only changes whether nginx keeps the upstream connection open after the client leaves.

03Is a 499 a server error?

Not in the HTTP standard sense. It is a logging value for a client that hung up, though the cause can be server latency. It is a 4xx-range number, but it is not defined by RFC 9110.

04What is the difference between 499 and 504?

With a 499 the client gave up and closed the connection. With a 504 a gateway or proxy gave up waiting for an upstream server and returned a response to the client.

Sources · 6

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • github.com
  • cloudflare.com
  • nginx.org
  • rfc-editor.org
  • google.com
  1. 01nginx source: ngx_http_request.hgithub.com · checked 2026-10-25
  2. 02nginx source: ngx_http_request.cgithub.com · checked 2026-10-25
  3. 03Cloudflare: Error 499developers.cloudflare.com · checked 2026-10-25
  4. 04nginx: ngx_http_proxy_modulenginx.org · checked 2026-10-25
  5. 05RFC 9110: HTTP Semanticsrfc-editor.org · checked 2026-10-25
  6. 06How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane