Closed arctichomelab closed 2 years ago
I believe this may be due to the application seeing multiple IPs and not trusting the session.
Correct.
In the same issue (https://github.com/janeczku/calibre-web/issues/1466#issuecomment-1000231549) a solution was suggested, I'm not sure about this, therefore it's not changed yet. The sideeffect in my opinion would be that every user could only get logged in on one device and as soon as you open Calibre-Web on another computer you would get logged out on the last computer. I'm using a web service which behalf like this and I find it very annoying.
Honestly, I'm not sure how one would go about this. As I mentioned in that post, I'm not a software person at all - I do have a strong red-team/IT Security background though.
I personally see a few options here:
If you use Cloudflare/Waf Nginx is unnecessary. Cloudflare always uses the same ips to access your server, you just have to filter them in your router-firewall. You can see them here: https://www.cloudflare.com/ips/
Describe the bug/problem
A clear and concise description of what the bug is. If you are asking for support, please check our Wiki if your question is already answered there. Checked the wiki and issues
I'm running into a similar issue as #1466, but without the tolino. My issue relates to regluar use of the webui.
Since 6.12 (last usable release for me), the session seems to reset on navigating to a new page and forces login again.
I have my setup as follows:
I believe this may be due to the application seeing multiple IPs and not trusting the session.
To Reproduce
Steps to reproduce the behavior: This is a global issue, create your setup as above and compare 6.12 to the latest release.
Logfile
Add content of calibre-web.log file or the relevant error, try to reproduce your problem with "debug" log-level to get more output.
Expected behavior
A clear and concise description of what you expected to happen. I expect to be able to browse normally and not be logged out randomly.
Environment
please complete the following information:
Additional context
Add any other context about the problem here. [e.g. access via reverse proxy, database background sync, special database location] None