New answers tagged gunicorn
It's pretty late, but I'll add a solution anyways. I had a similar issue with gunicorn as well, and solved by running my app using env /bin/gunicorn instead of just gunicorn.
Ideally your MQ should be located on a separate instance(s) so it can be scaled independently of either your application servers or load balancer. This is also makes maintenance easer (you can swap out your load balancer instance without having to migrate your existing queue for example) and it's better for security to have them isolated (your LB needs ...
Internal Server Error (HTTP 500) usually indicates that there is a problem with your code, not the Web Server application. Have you set up logging? You should log all 500 errors to a file in your django project, so that you can see why the error is occurring. You can also try switching on Debug mode, which should tell you why the application is failing.
Top 50 recent answers are included