For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

TNY_122436's avatar
TNY_122436
Icon for Nimbostratus rankNimbostratus
Mar 25, 2014

HTTP monitoring for Disable string

Hello,

 

There is a file on a server on port 443 that has a file called health-check.html. The content is "up" so I've configured the receive string as "up". I can get to the page by going via a web browser: https://server1.corp.com/content/health-check.html

 

I have configured my http monitor's send string as:

 

Code
    get / https://server1.corp.com/content/health-check.html HTTP/1.1

I get a 400 bad request. What is wrong with my syntax? Or does it have something to do with the fact that it is on 443?

 

2 Replies

  • HTTP 1.1 request requires a Host header. See the example below:

     

    GET /index.html HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n

     

    For more information check out:

     

    http://support.f5.com/kb/en-us/solutions/public/13000/300/sol13397.html

     

    • TNY_122436's avatar
      TNY_122436
      Icon for Nimbostratus rankNimbostratus
      Hey, thanks for your help. I've read the link you posted and was able to re-arrange my syntax to make it work! "GET /content/health-check.html HTTP/1.1\r\nHost: server1.corp.com\r\n\r\n"