Replies: 1 comment 9 replies
-
The nginx configuration that you are showing here is for one worker, so I have no way to know what the problem is with multiple workers. |
Beta Was this translation helpful? Give feedback.
9 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.
-
Hello,
I'd like to kindly ask about help with multiple workers setup.
I use gevent worker with gunicorn with -w 1 in from of this is nginx, and in front of this nginx I use aws ALB with stickysession enabled.
flask-socketio I initialize like this:
my nginx config
When I have 1 worker it works fine, when I scale to 2 or so , then I'm getting 400 (Invalid session ID)
Do you have any idea where to look or what to adjust ?
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions