Forum Discussion
Doug_104173
Nimbostratus
Aug 31, 2010GET causes send string to send twice
Hi, I have the LTM VE running 10.2 and i'm trying to monitor some HTTP nodes in EC2. For some reason a http health check I created is sending the GET string twice. Here is my health check:
list ltm monitor http Cassandra_Check_80
ltm monitor http Cassandra_Check_80 {
defaults-from http
destination *:80
interval 5
recv "double rainbow"
send "GET /status/check"
time-until-up 0
timeout 16
and here is what I see in the nginx access logs:
[31/Aug/2010:15:53:17 -0400] "GET /status/checkGET /status/check" 400 173 "-" "-"
[31/Aug/2010:15:53:26 -0400] "GET /status/checkGET /status/check" 400 173 "-" "-"
[31/Aug/2010:15:53:37 -0400] "GET /status/checkGET /status/check" 400 173 "-" "-"
[31/Aug/2010:15:53:47 -0400] "GET /status/checkGET /status/check" 400 173 "-" "-"
[31/Aug/2010:15:53:56 -0400] "GET /status/checkGET /status/check" 400 173 "-" "-"
[31/Aug/2010:15:54:07 -0400] "GET /status/checkGET /status/check" 400 173 "-" "-"
[31/Aug/2010:15:54:17 -0400] "GET /status/checkGET /status/check" 400 173 "-" "-"
If I use anything other than GET in capital letters, the log shows it fine. But once I use GET in caps, it appears in there twice.
- Chris_Miller
Altostratus
Try using this for your GET string:GET /status/check HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n
- Doug_104173
Nimbostratus
Closer, but that still no luck, it yields this in the logs:[01/Sep/2010:10:24:36 -0400] "GET /status/check HTTP/1.1" 400 173 "-" "-"
- L4L7_53191
Nimbostratus
The 400 response means the server doesn't like the request. Have you tried passing in a valid hostname for the Host: header above? - smp_86112
Cirrostratus
I probably misunderstand the symptom, but just in case...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects