HTTP status code · nginx (non-standard)

499 Client Closed Request

499 Client Closed Request is an nginx log code: the client gave up and closed the connection before the server answered.

What 499 means

Not part of the HTTP standard, and never sent to a client: nobody is left to receive it. nginx writes 499 to its access log when the client disconnects first, usually because the client's timeout ran out while the backend was still working.

Common causes

  • A slow backend: queries or upstream calls that take longer than the client is willing to wait.
  • A load balancer or monitor with a shorter timeout than your application.
  • Users closing the tab or cancelling a request.

How to fix 499

  • Find the slow endpoints in your logs (499s cluster on them) and make them faster or asynchronous.
  • Line up timeouts: the client should wait at least as long as the backend may take.

How Uptenna treats 499

A monitor never receives a 499; it sees its own timeout instead, which counts as a failed check (the alert says the request timed out). If your logs show 499s from Uptenna, the endpoint took longer than the monitor's timeout: speed it up or raise the monitor's timeout (10 seconds by default, up to 30).

See Monitors for expected status codes, keywords and timeouts.

Frequently asked questions

What does HTTP 499 mean?

499 Client Closed Request is an nginx log code: the client gave up and closed the connection before the server answered.

Is 499 an error?

Yes, 499 is a client error: the server is saying something about the request needs to change.

Does an uptime monitor treat 499 as down?

By default, yes: Uptenna counts anything outside 200-399 as a failed check and opens an incident after two failures in a row. You can change the expected status per monitor.

All codes

Find out the moment your site returns 499

Uptime checks from 3 regions, cron job heartbeats and a status page your users can subscribe to.

  • No card required
  • 5 monitors free, forever