Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

HTTP Endpoints setup as a LoadBalancedSet (Http Probe) is not working

$
0
0

I have two vm's set up as web servers running IIS.  I have websites deployed to each which are running fine.  Both are on the same Virtual net / subnet and behind the same cloudservice.  I've successfully set up endpoints that use a common LoadBalanceSet (public and private port 80 with the lbset's probe using a TCP probe).  That works great and I'm able to confirm that the probe is working by traffic being directed to a one server when I shut down the app poll on the other server.  I'd like to use an HTTP probe with a probe path so I can do some additional checks (i.e., connection to db is good) before sending back a 200 response.  The problem is, when I switch the lbset to use HTTP with a probe path (i.e., a value of /HealthCheck), it never becomes healthy.  I've got entries in my host file so I can hit both servers directly so I know the HealthCheck page is returning a 200 response.  I've also tried completely disabling the firewall so that's not a factor.

I'm at a loss as to why this is not working.  Any help would be appreciated.


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>