Too many 400 bad request
Maxim Dounin
mdounin at mdounin.ru
Wed Aug 22 09:26:32 UTC 2012
Hello!
On Wed, Aug 22, 2012 at 12:38:23PM +0800, Christopher Meng wrote:
> Hi everyone,
>
> I've deployed a server for rsync public mirror,and I use nginx as web
> server to display some html for visitors.
>
> Now the problem is, too many 400 errors.
>
> I paste "only a small amount of them" below:
>
> =================================
> 216.216.33.242 - - [21/Aug/2012:03:02:05 -0700] "-" 400 0 "-" "-" "-"
> 174.128.254.98 - - [21/Aug/2012:03:02:05 -0700] "-" 400 0 "-" "-" "-"
> 216.216.33.242 - - [21/Aug/2012:03:02:05 -0700] "-" 400 0 "-" "-" "-"
Try looking e.g. here for a possible cause:
http://mailman.nginx.org/pipermail/nginx/2011-September/029045.html
At least Chrome is known to cause such log entries if there aren't
many resources on a page requested due to additional connections
being open and then closed without sending any single request in
them.
[...]
> Well,this really make me confused.And I've asked other mirror admins who
> use nginx,they all have this problem.
>
> Is it caused by nginx?
> Do anyone know the solution?
> Thanks.
It's just a way how nginx logs connections which are just opened
and then closed. Confusing part is that some other web servers
doesn't seem to log anything in this case.
Maxim Dounin
More information about the nginx
mailing list