Running Rasa using gunicorn and nginx, getting 502 bad gateway error

Hi, I am currently running rasa using gunicorn(4 workers) and Nginx. As the number of concurrent users increases request failures start increasing with the message (502 Bad Gateway error).

I have also tried out the Nginx load balancer with 2 instances of 8GB RAM, 4vCPU ubuntu configuration but still getting the same error.

Hi @abhishek166!

I’m curious, how exactly are you using gunicorn to run rasa servers?

@abhishek166 could you solve the issue?

just facing a similar behavior