New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication failure with uWSGI #99
Comments
I am not aware of any issues with uwsgi and flask-login. |
Without more information, I don't see anyway to conclude this is an issue with flask-login. In light of that, I'm closing this. |
I understand. FWIW I fixed that issue a couple of minutes ago: it seems like dealing with a global array containing users and being processed by the user_loader callback actually fails with both uWSGI and gunicorn. Reentrance problem maybe... |
If you have a fix that applies to the broader scope of flask-login, feel free to make a pull request. :) |
Hi,
I've developped a simple Flask app which uses flack-login, it behaves perfectly when it is launched as a standalone app, but when it is called with uWSGI, the authentication never succeeds.
I assume that it may (must?) be an uWSGI issue or a configuration problem, but the (very basic) application works properly without flask-loginm thus that opened issue.
Are you aware of such behaviour or have any idea why flask-login would fail with uWSGI? I though about a buffers-size problem, but rose it to 65535 and it didn't have any effect.
I am using flask 0.10 and flask-login 0.2.4 installed with pip, and uwsgi + python-plugin 1.2.3 from Debian Wheezy.
Thanks
The text was updated successfully, but these errors were encountered: