Welcome! Log In Create A New Profile

Advanced

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

May 21, 2013 09:56PM
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"
[21/May/2013:00:02:56 +0800] "POST /ourservice/api HTTP/1.1" 200 604 62 "-" "e" "10.197.218.20"
[21/May/2013:00:02:57 +0800] "POST /ourservice/api HTTP/1.1" 200 491 27 "-" "f" "-"
[21/May/2013:00:02:57 +0800] "POST /ourservice/api HTTP/1.1" 200 612 278 "-" "f" "10.165.21.34"
[21/May/2013:00:02:57 +0800] "POST /ourservice/api HTTP/1.0" 200 816 27 "-" "c" "10.26.152.101"
[21/May/2013:00:02:57 +0800] "POST /ourservice/api HTTP/1.1" 200 585 27 "-" "c" "10.67.55.190"
[21/May/2013:00:02:57 +0800] "POST /ourservice/api HTTP/1.1" 200 463 211 "-" "f" "-"
[21/May/2013:00:02:57 +0800] "POST /ourservice/api HTTP/1.1" 200 596 0 "-" "f" "10.181.30.95"
You see the last column, the response content-length is 0. And we can't find the record in tomcat log. It seems nginx don't forward the request to tomcat.
Subject Author Posted

Nginx returns HTTP 200 with Content-Length: 0

dennis dang June 11, 2011 12:14AM

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

apeman May 16, 2013 03:32AM

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

apeman May 16, 2013 04:48AM

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

spdyg May 18, 2013 08:50AM

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

apeman May 20, 2013 03:29AM

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

suttya May 20, 2013 12:04PM

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

apeman May 21, 2013 06:40AM

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

suttya May 21, 2013 11:06AM

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

apeman May 21, 2013 09:56PM

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

bruiselee July 16, 2013 11:51AM

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

Maxim Dounin May 22, 2013 11:22AM

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

crazynuxer July 02, 2013 11:23AM

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

bkoski July 23, 2013 11:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready