Bad Gateway and TypeError while using Nginx, Flask_SocketIO, and uWSGI+Gevent. #1635
Unanswered
razaaliabid87
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Your uWSGI start up command seems to be incorrect.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on Nginx, Flask_SocketIO, and uWSGI+Gevent. Whenever I run my code in the docker container I always ended up with a 502 Bad Gateway error.

Here is my
__init__
file.app/__init__.py
run.py.
nginx.conf
uWSGI configuration resides in the .ini file.
app.ini
requirements.txt
When I run this I get an error
TypeError: 'module' object is not callable
. the response to thedocker-compose up
command is given below.Nginx Logs
Please help me to get out of this problem thank you in anticipation.
Beta Was this translation helpful? Give feedback.
All reactions