Jodok_B
January 27, 2008, 10:15pm
1
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 “-” “-”
Jodok_B
January 27, 2008, 10:26pm
2
On 1/27/08, Jodok B. [email protected] 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?
I ran into this a while ago too. I don’t think it works anymore.
Jodok_B
February 21, 2008, 7:17pm
3
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 B. 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 “-” “-”