In ZM 1.25, I could keep my 'stream' (displays certain cameras on living room wall) account logged in for days, if not weeks at a time. Now in 1.28.1, the monitor feeds will freeze (not a set amount of time, random), I hit refresh and I have to log in again with guest account, whereas before I could just hit refresh.
I have not tried with admin account, yet.
Are there any settings I can look into?
Thank you
Ben
user logged in timeout?
-
- Posts: 24
- Joined: Fri May 29, 2015 12:23 pm
Re: user logged in timeout?
I tried with admin account as well, no difference.
-
- Posts: 24
- Joined: Fri May 29, 2015 12:23 pm
Re: user logged in timeout?
I disabled user authentication and same result.
-
- Posts: 24
- Joined: Fri May 29, 2015 12:23 pm
Re: user logged in timeout?
well, the only way I could get around this was to turn off authentication and install an add on for firefox to autoreload every 15 minutes.
not ideal, however.
not ideal, however.
Re: user logged in timeout?
I've been trying to find out the same too - haven't figured out (yet) which part of the code is doing this. There are no cookies that control this for sure. You said it was random -- do you know an approximate time period?
Also, can you check something for me -- please go to the directory where zone minder is installed and let me know if you have a file called core.php somewhere there
thx
Also, can you check something for me -- please go to the directory where zone minder is installed and let me know if you have a file called core.php somewhere there
thx
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
-
- Posts: 24
- Joined: Fri May 29, 2015 12:23 pm
Re: user logged in timeout?
There is no core.php ANYWHERE including /usr/share/zoneminder (where zm looks to be installed)asker wrote: Also, can you check something for me -- please go to the directory where zone minder is installed and let me know if you have a file called core.php somewhere there
thx
Re: user logged in timeout?
Okay, thanks that at least eliminates one area of research.
I'll keep digging -- I'm probably missing something staring right at me. I'll let you know if I find something.
Based on what I have seen so far, there are a few candidates:
a) ZM's authentication logic is resetting the authentication session after some time
b) PHP has a session timeout
c) CakePHP has a session timeout (used for APIs)
You have already eliminated c) -- no core.php
As far as b goes, you said this was never an issue with 1.25, so I doubt it
The probable candidate therefore is a), but I can't (Yet) find why this is happening. I don't see any session cookies that expire in a few minutes or hours. I also don't see any logic that is checking for timeout anywhere or re-computing hash based on time
I'll keep digging -- I'm probably missing something staring right at me. I'll let you know if I find something.
Based on what I have seen so far, there are a few candidates:
a) ZM's authentication logic is resetting the authentication session after some time
b) PHP has a session timeout
c) CakePHP has a session timeout (used for APIs)
You have already eliminated c) -- no core.php
As far as b goes, you said this was never an issue with 1.25, so I doubt it
The probable candidate therefore is a), but I can't (Yet) find why this is happening. I don't see any session cookies that expire in a few minutes or hours. I also don't see any logic that is checking for timeout anywhere or re-computing hash based on time
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: user logged in timeout?
I suspect php session timeout...
Re: user logged in timeout?
This behavior is back.. Chrome on linux and chromebook with ZM on Ubuntu Server 20.04