400 errors caused by loadbalancer
Vlad Ro
lists at ruby-forum.com
Thu Feb 21 21:17:40 MSK 2008
Most likely due to your bigip's "monitor" for that service (port 80),
which at its most generic is a simple TCP/IP-level connect with no HTTP
request behind it.
You must make sure your monitor is a http monitor that does a "GET /"
instead of a simple connect if you don't want to see HTTP 400.
See the bigip reference for examples.
V.
Jodok Batlogg wrote:
> hi,
>
> my loadbalancer (big-ip) causes 400 errors in the logfile. if found
> http://wiki.codemongers.com/HWLoadbalancerCheckErrors
> but it doesn't work for me. any idea?
>
> thanks
>
> jodok
>
> here is my config:
>
> http {
> ...
> geo $lb {
> default 0;
> 10.228.22.225/32 1; # o2lb01
> 10.228.22.226/32 1; # o2lb01-1
> 10.228.22.227/32 1; # o2lb01-2
> }
> ...
> server {
> ...
> error_page 400 /400;
> location = '/400' {
> if ($lb) { access_log off; }
> return 400;
> }
> ...
> }
>
> my log-file:
>
> 10.228.22.226 - - [27/Jan/2008:22:01:23 +0100] "-" 400 0 "-" "-"
> 10.228.22.227 - - [27/Jan/2008:22:01:25 +0100] "-" 400 0 "-" "-"
> 10.228.22.226 - - [27/Jan/2008:22:01:28 +0100] "-" 400 0 "-" "-"
> 10.228.22.227 - - [27/Jan/2008:22:01:30 +0100] "-" 400 0 "-" "-"
> 10.228.22.226 - - [27/Jan/2008:22:01:33 +0100] "-" 400 0 "-" "-"
> 10.228.22.227 - - [27/Jan/2008:22:01:35 +0100] "-" 400 0 "-" "-"
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list