I added a load balancer to my stack, but it’s showing a 503 Service Unavailable error. How can I solve this?
Posted: over 2 years
Are you on DigitalOcean? In that case, you will be using a HAProxy load balancer, which by default pings your backend servers on / every two seconds to determine if they’re up and healthy. If that route returns an error, the backend is deemed to be down and a 503 is shown.
Depending on your application, this route may in fact return an error (eg. an API). Please see our documentation on changing the HAProxy endpoint to change this. Hope this helps.
Posted: 3 months
I am having the same issue with HAProxy on Digital Ocean. The link you provided in this post is broken, can you provide a fresh one?
Posted: 13 days
I think this might be an updated link…
You must be logged in to answer this question