Re: Nginx returns HTTP 200 with Content-Length: 0

2013-07-23 Thread bkoski
I had a very similar problem using nginx to front rainbows/rails. Even though rails was definitely returning a JSON response, ngnix always responded with 200 OK, Content-Length: 0, and an empty body. The strange thing was that the error was related to the size of the incoming POST. When the reque

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-07-16 Thread bruiselee
we just encountered the same problem at 0.002% level, solved it by removing following line in conf file: "gzip_http_version 1.0" very wired problem, still not understand the true reason Posted at Nginx Forum: http://forum.nginx.org/read.php?2,205826,240918#msg-240918 __

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-07-02 Thread crazynuxer
Hello all, I have some problem , I use version nginx/1.2.2 and nginx/1.0.11, should I upgrade my version first or just compile then send you my debug log thanks, Rizki Posted at Nginx Forum: http://forum.nginx.org/read.php?2,205826,240499#msg-240499 __

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-22 Thread Maxim Dounin
Hello! On Tue, May 21, 2013 at 09:56:59PM -0400, apeman wrote: > no, no, no! > Normally, it's not 0, but sometimes, the possibility is 0.07%. It's > absolutely not normal! > [21/May/2013:00:02:56 +0800] "POST /ourservice/api HTTP/1.1" 200 607 27 "-" > "c" "10.23.130.154" > [21/May/2013:00:02:56

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-21 Thread apeman
no, no, no! Normally, it's not 0, but sometimes, the possibility is 0.07%. It's absolutely not normal! [21/May/2013:00:02:56 +0800] "POST /ourservice/api HTTP/1.1" 200 607 27 "-" "c" "10.23.130.154" [21/May/2013:00:02:56 +0800] "POST /ourservice/api HTTP/1.1" 200 613 27 "-" "c" "10.59.24.83"

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-21 Thread suttya
If your request is post, Content-Length: 0 is normal. 2013/5/21 apeman > I don't use SPDY. My request is POST. > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,205826,239381#msg-239381 > > ___ > nginx mailing list > nginx@nginx.org > htt

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-21 Thread apeman
I don't use SPDY. My request is POST. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,205826,239381#msg-239381 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-20 Thread suttya
it's GET request? 2013/5/20 apeman > I never use SPDY. The problem still exists. I don't know how to fix it. > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,205826,239334#msg-239334 > > ___ > nginx mailing list > nginx@nginx.org > http:

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-20 Thread apeman
I never use SPDY. The problem still exists. I don't know how to fix it. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,205826,239334#msg-239334 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-18 Thread spdyg
Do you have SPDY enabled? I have experienced issues with SPDY, upstream keepalive and proxy_cache together. Ended up having to turn off SPDY. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,205826,239314#msg-239314 ___ nginx mailing list ngi

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-16 Thread apeman
It's not always happen, the possibility of this phenomenon is 0.081%. I havn't any idea about this... Posted at Nginx Forum: http://forum.nginx.org/read.php?2,205826,239255#msg-239255 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mail

Re: Nginx returns HTTP 200 with Content-Length: 0

2013-05-16 Thread apeman
I met the same problem. Client got http 200 response, but the Content-Length: 0. I never define this. I don't why? Is there anybody know how to fix it? Thanks in advance. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,205826,239252#msg-239252 ___