-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Session conflict with other service at the same IP #2322
Comments
Please note that the dashboard only updates when it is visible. If you have the tab open but are not actively using it, there is little point in updating it all the time, waiting resources on this. But yes, this means that when you don't use the page in more than half an hour, it may have expired. This is desired behavior.
Do you have any other plugins in your browsers possibly influencing cookie behavior? I'm asking because it can only get the value "deleted" when FTL invalidate the session via this header: Line 46 in 37f9a96
settings the Expires=-1 which seems to be missing in your screenshot.
|
Please try whether the issue is fixed after running
|
pihole runs in a docker container and |
See here how to do this https://github.com/pi-hole/docker-pi-hole?tab=readme-ov-file#building-the-image-locally It boils down to
|
I tried to reproduce the issue with chrome/firefox
When I got auto-logged out, the cookie was still there with all it's values, but I could successfully re-login. Maybe I have to wait longer until the |
See also this thread. It could be possible in this case that the session is being expired because another web application (which is accessed via the same IP/hostname - even if a different port) also had a cookie named The one way to be sure to avoid collisions here is to use |
That was the problem! E.g. "webmin" uses "sid" as well.
In my case I need to follow these hints: pi-hole/docker-pi-hole#1769 (comment) |
I set this to "no bug" as the issue is interference with other services hosted on the same domain. This is - in general - an issue and would have been one before v6.0 as well if the second application would have been using PHP as backend. The conflict would then have been in the TL;DR: The solution is to use your Pi-hole at http://pi.hole/admin, not via its IP address. This will resolve all the problems and comes at no extra costs. DNS is there so you don't have to remember IP addresses and |
Versions
From docker container startup "Version info":
Platform
Docker on Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-133-generic x86_64).
Expected behavior
Actual behavior / bug
The session expires after about half an hour
After entering the valid password the login is denied with the message ""
A cookie "sid" is created with the value "deleted"
Steps to reproduce
Steps to reproduce the behavior:
Debug Token
Screenshots
Additional context
This behaviour started with one of the last docker container updates (about 3 weeks ago).
Tested with Brave and Firefox.
The text was updated successfully, but these errors were encountered: