Newly set up droplets with loadbalancer returning 503


I have just set up two fresh droplets with a loadbalancer in front of them. The droplets have web apps running on port 4000. The loadbalancer is setup to receive on port 80 (http) & 443 (https) and forward to port 4000 (http). Everything works find when using http. However, I get a long delay and then a 503 error when trying to hit the https url.

Note, I used the Letsencrypt option on Digitalocean and I have the subdomain url pointing towards the loadbalancer IP (also, an A record was auto added to DNS for the root domain but I removed it because I only want the subdomain to use the letsencrypt cert).

The full error I’m getting is:

503 Service Unavailable
No server is available to handle this request.

Many thanks, Phil


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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

i´m having the same problem. i´ve tried with HTTP and HTTPS rule. Any solution?

Seems to be working now. Not sure why - I didn’t change anything.