Forum Discussion

jaikumar_f5_226's avatar
jaikumar_f5_226
Icon for Nimbostratus rankNimbostratus
Aug 24, 2018

Monitor send string - space between GET and HTTP

Hi All,

Today I witnessed an issue where I would like to have your inputs or point me to the right article to learn more on this.

Issue:
Pool members marked down.

Monitor:
send "GET /monitor/bigip.html HTTP/1.1\r\nUser-Agent:BigIP Prober\r\nHost: host.domain.com\r\nConnection: close\r\n\r\n"

As you can see, there's 2 space between the bigip.html and HTTP/1.1.

On the webserver logs, we had observed 400 error message. Which is when I suspected it could be the request being sent is failing in some manner, maybe syntax issue. So I worked on the monitor send string. Because when I tested with curl, i did get my recv string.

Solution:

I updated the monitor string with single space and it started working.

Monitor:

send "GET /monitor/bigip.html HTTP/1.1\r\nUser-Agent:BigIP Prober\r\nHost: host.domain.com\r\nConnection: close\r\n\r\n"

Just single space between bigip.html and HTTP/1.1

I'm trying to go through multiple articles to get some sense. Any help is appreciated.

2 Replies

  • Had the same issue with a web app (think some IBM service) running on a very old RedHat version.

     

    If I remember right we never fully got to the bottom of it but looked as if the F5 sends the request as is and that some web servers will not accept mutli spaces between HTTP request elements while other do.