Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Status code 200 & empty page

10 views
Skip to first unread message

benjami...@gmail.com

unread,
Apr 30, 2013, 4:19:00 PM4/30/13
to
Hi,

we're having a bizarre random issue on our apache2 servers. Once in a while (1 in 1000 requests about) we see in our logs that the request was successful (HTTP code 200), but that 0 bytes where transferred:

XXX.XXX.XXX.XXX - - [26/Apr/2013:11:22:50 -0400] "GET /js/jQuery/jquery.cookies.js HTTP/1.1" 200 0
XXX.XXX.XXX.XXX - - [26/Apr/2013:11:22:50 -0400] "GET /js/jQuery/jquery.js HTTP/1.1" 200 0

Now this happens on php files, js files, css files or images files;

What would cause an 200 HTTP_CODE but 0 bytes transferred?

It seems looking through the logs that the client automatically retries these files (I get another query within the same second that has an 200 error code also but with a good file size)

Is there any logical explanation for this?

Running Apache/2.2.16 (Debian)
On Debian 6.0.7

Using the out of the box Debian configs for apache

Thank you,

Ben

Jeff Long

unread,
May 3, 2013, 10:51:34 AM5/3/13
to
On 04/30/2013 03:19 PM, benjami...@gmail.com wrote:
> Hi,
>

> XXX.XXX.XXX.XXX - - [26/Apr/2013:11:22:50 -0400] "GET /js/jQuery/jquery.cookies.js HTTP/1.1" 200 0
> XXX.XXX.XXX.XXX - - [26/Apr/2013:11:22:50 -0400] "GET /js/jQuery/jquery.js HTTP/1.1" 200 0
>
> Now this happens on php files, js files, css files or images files;
>
> What would cause an 200 HTTP_CODE but 0 bytes transferred?

I've been able to replicate this behavior by double clicking on
hyperlinks. It appears the first request is logged as successful (200)
but nothing (0 bytes) gets transferred to the client because the client
has already moved on to the second set of requests.

Jeff Long

0 new messages