Forum Discussion

trx's avatar
Oct 13, 2011

specify https host for health monitor

Hello All,


I have an issue with an http health monitor always marking the member as down when specifying a separte host name/ip name.




- member IP:


- HTTP health monitor added to member:




GET /gsa_servername.txt HTTP/1.1\r\nHost:\r\nConnection: Close\r\n




In theory this should work, but it's marking the member as down.




Any thoughts on why this is happening?










1 Reply

  • Hamish's avatar
    Icon for Cirrocumulus rankCirrocumulus
    Several... Assuming the title doesn't match your query for some other reason though... No https here...



    Why are you specifying HTTP/1.1? Won't 1.0 suffice? Are you using software virtual servers? If not, use 10 and no host: header. if you re using virtual servers, then IS the virtual called Or something else? If it's something else, then the host won't match and the request will fail.


    For later versions of LTM you're missing the extra \r\n off the end of the query too (HTTP/1.0 and HTTP/1.1 need a blank link to tell the server you've finished the multi-line query)



    Failing those quick ones, what is the response when you telnet to the port and perform the request by hand? Any clues in there? If this really IS an HTTPS serve you're querying, you can use openssl to open a connection and talk HTTP to it. eg..



    openssl s_client -connect :



    and then copy & paste (Or type) the multi-line request and check the return.