# 499 Code - The connection resets after 1 minute

**URL:** <https://www.ruby-forum.com/t/499-code-the-connection-resets-after-1-minute/212846>\
**Category:** NGINX\
**Created:** [October 15, 2011, 4:19am UTC](https://www.ruby-forum.com/t/499-code-the-connection-resets-after-1-minute/212846 "2011-10-15T04:19:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [October 15, 2011, 4:19am UTC](https://www.ruby-forum.com/t/499-code-the-connection-resets-after-1-minute/212846/1 "2011-10-15T04:19:14Z")

</div>

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.  
Thanks

Posted at Nginx Forum:

> **[499 Code - The connection resets after 1 minute](https://forum.nginx.org/read.php?2,216721,216721#msg-216721)**
>
> 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...

---

<div class="post-metadata">

**Author:** ![krukmat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/db5fbb/32.png) [@krukmat](https://www.ruby-forum.com/u/krukmat)\
**Post date:** [October 15, 2011, 10:53am UTC](https://www.ruby-forum.com/t/499-code-the-connection-resets-after-1-minute/212846/2 "2011-10-15T10:53:50Z")

</div>

Hello!

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

> 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 D.

---

<div class="post-metadata">

**Author:** ![krukmat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/db5fbb/32.png) [@krukmat](https://www.ruby-forum.com/u/krukmat)\
**Post date:** [October 15, 2011, 4:57pm UTC](https://www.ruby-forum.com/t/499-code-the-connection-resets-after-1-minute/212846/3 "2011-10-15T16:57:35Z")

</div>

But I’ve experienced the same problem with Firefox and Safari also…

Posted at Nginx Forum:

> **[Re: 499 Code - The connection resets after 1 minute](https://forum.nginx.org/read.php?2,216721,216741#msg-216741)**
>
> 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...

---

<div class="post-metadata">

**Author:** ![krukmat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/db5fbb/32.png) [@krukmat](https://www.ruby-forum.com/u/krukmat)\
**Post date:** [October 15, 2011, 9:18pm UTC](https://www.ruby-forum.com/t/499-code-the-connection-resets-after-1-minute/212846/4 "2011-10-15T21:18:03Z")

</div>

Oh sorry i misunderstood you. I’ll figure it out. Maybe It’s a iptables  
problem…

Posted at Nginx Forum:

> **[Re: 499 Code - The connection resets after 1 minute](https://forum.nginx.org/read.php?2,216721,216748#msg-216748)**
>
> 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...
