You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. But the flask socketio application runs perfectly in development when I don't use Nginx and uWSGI. nginx.conf
When I build and run nginx and ztest docker containers, I am unable to reach my desired endpoint. Nginx gives me a Bad Gateway error. Here are the logs.
I seem to have this same problem. I've built a bunch of web apps on this stack in the past and have never gotten this error before...but it's random...most of the time it doesn't work...but occationally it does...I'll do some digging.
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. But the flask socketio application runs perfectly in development when I don't use Nginx and uWSGI.
nginx.conf
uWSGI configuration resides in the .ini file.
app.ini
docker-compose.yml
application.py.
requirements.txt
When I build and run
nginx
andztest
docker containers, I am unable to reach my desired endpoint. Nginx gives me a Bad Gateway error. Here are the logs.Please help me to get out of this problem thank you in anticipation.
The text was updated successfully, but these errors were encountered: