By npsoni88
I have a python flast app running on port :5005 on 2 servers (with nginx installed). I am trying to setup a load balancer with round-robin approach but it ends up going to “503 bad request, no servers were available”.
If I visit xx.xx.xx.xx:5005 of each server individually, I could see the app. I have redirected port 80 and 443 of load-balancer to 5005 of the droplet.
Any help would be appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey friend!
Interesting issue. Hopefully I can offer some insight. What is the HTTP code returned by your application on request? It is possible that the code returned is something the LB determines to mean that the request could not be returned, as opposed to like a 200 code.
Jarland
I have the same issue and an open ticket, #2483180. Load balancer was working until recently and now I can’t make it behave
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.