internetarchive / openlibrary

One webpage for every book ever published!
https://openlibrary.org
GNU Affero General Public License v3.0
5.2k stars 1.36k forks source link

Cannot login when using 1 worker with gunicorn #2122

Open cdrini opened 5 years ago

cdrini commented 5 years ago

Description

Pressing "login" doesn't work in the dev environment when starting the site with only 1 worker (i.e. when using the debugger) in ol-docker-start.sh.

Details

xayhewalo commented 4 years ago

@cdrini Is this still an issue? According to the Debugger Documentation there must be 1 worker to use the debugger in VS Code, so no one since May should be able to debug Open Library code...which seems hard to believe.

Granted, when I tried to resolve https://github.com/internetarchive/openlibrary/issues/333#issuecomment-542461192, I couldn't log in as admin so that problem might be related

mheiman commented 3 years ago

This isn't resolved, but there's a workaround: Log in as admin while multiple workers are running, then restart with only one worker.