Health Check on Load Balancer Fails Does Not Work on TCP or HTTP

November 26, 2017 2.6k views
Nginx Load Balancing Ubuntu 16.04

My load-balancer is convinced my droplet is unhealthy and so blocking it. The droplet is running NGINX on Ubuntu 16.04. I can access the website that NGINX is hosting via the public IP or a domain pointed to that IP. And a floating IP works.

I’ve tried both HTTP and TCP for health-checks, neither works. Any suggestions?

1 comment
  • I am having a very similar issue. Calling my server IPs with the address for healthcheck works fine directly, returns as expected, but the load balancer keeps telling me that healthchecks are failing.

1 Answer

Good luck @dloker I eventually gave up and just went with a floating IP which is way cheaper but not ideal.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!