Forum Discussion
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.1I 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
Nimbostratus
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"
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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