Forum Discussion
Cory_50405
May 15, 2014Noctilucent
Change your monitor Blah send string to this (replace host.domain.com with the actual host name):
GET /BCCommunicationDirector/Blah.ashx HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n\r\n
You need to specify a host header in your send string to comply with HTTP/1.1.
- Brian_Gibson_30May 15, 2014NimbostratusThanks Cory. I don't have an actual host name to for this specific service. Is there a way to use the node IP address in the check?
- Brian_Gibson_30May 15, 2014NimbostratusNever mind. Apparently the host name doesn't matter in this case.
- Cory_50405May 15, 2014NoctilucentThat should also work. In your cURL statement above, you can see the HTTP/1.1 request specifying the IP address as the host, and the server responded with a 200 OK. Looks like it isn't doing any host name checking.
- Cory_50405May 15, 2014NoctilucentIf your receive string still isn't working, try changing it to this: 200\sOK
- Brian_Gibson_30May 15, 2014NimbostratusEverything is working. I guess all the docs I was reading referring to http .9 and that threw me for a loop. I thought the LBs would add the host aspect. Obviously I was mistaken.
- Cory_50405May 15, 2014NoctilucentCorrect. HTTP/0.9 is used by default. Glad to hear things are working now.