499 Code - The connection resets after 1 minute

Maxim Dounin mdounin at mdounin.ru
Sat Oct 15 08:53:05 UTC 2011


On Fri, Oct 14, 2011 at 10:18:58PM -0400, krukmat wrote:

> I have a django view which lasts more than a minute. 
> But after the first minute, the browser shows me the connection is
> reset. 
> If I read the access log, I find this:
>  "GET
> /2.1/jmsf/events?apikey=6ff9131a-2c37-4584-9988-7e0e4da91577&m=2010-06-18+00%3A33%3A34.None.None
> HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7)
> AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1"
> I tried adjusting client_header_timeout,
> client_body_timeout,keepalive_timeout,fastcgi_read_timeout
> ,fastcgi_connect_timeout,fastcgi_send_timeout and send_timeout. But It
> didn't work.

Status code 499 indicate that from nginx point of view connection 
was closed by browser.  (You may take a look at error log to find 
out more details, there should be something like "client closed 
connection" logged at info level.)

As I don't expect Chrome to close connection after 1 minute 
(actually, I'v just tested - it doesn't) it's likely something 
between your browser and nginx.

Maxim Dounin

More information about the nginx mailing list