Closed FeralFox closed 1 month ago
I have the same problem. If I log in directly (serverip:8083) I have no issues. If I login via an nginx proxy (prettyurl.com) I timeout to a 504 timeout.
I tried CORS (via nginx, and via implementing flask-cors in the app python) and that didn't solve the issue. Calibre admin logfile shows no errors.
I also tried setting lm.session_protection = None -- as there were timeouts related to that in the past, and it didn't help
Also tried the changes in commit 0d359e9
I switched to the nightly, since there were comments on proxy enabling, and that still didn't fix the issue.
Attempted to update flask-login to v0.7, did not resolve proxy issues.
For me it worked again after the latest update (0.6.23). I didn't change the VirtualHost configuration.
Describe the bug/problem
I run calibre-web using docker and I guess I need some help with the Virtualhost configuration file.
Currently, everytime I click a link, I am redirected to the login page. If i login again, I will get to the desired page, but when clicking the next link, I will be redirected to the login page again. As far as I know, this happens as the authentication cookie is not forwarded correctly.
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
Additional context
This is the VirtualHost file I use. It was working until some weeks ago. Then, the login-issue appeared (probably after some system updates)
Does somebody know what could be the issue?
Thank you very much in advance!