Session issues - automatically logged out frequently/instantly
Hi list folks,
I've had an issue with Observium since I *think* 4152 (http://fisheye.observium.org/changelog/Observium?cs=4152) where some authentication stuff was changed. Symptoms are once you log in, your next click may have your session already expired. As an example, I can log in, type something in the search bar, it may immediately report that the session is expired.
If I simply leave the browser open on a page, it typically will just auto expire at some random period of time, all of which is under an hour. It appears to be very random so difficult to troubleshoot. This happens weather you choose to save your session or not.
I've enabled PHP session debugging to write to files, contents of those seem fine. I've also cleared out `users_ckeys` table, no changes. I've also enabled php error logging in my apache config, but observium is overwritting this with ini_set all over the place which makes that somewhat futile.
I've tested this on multiple systems, with built in auth and LDAP auth. Common denominator in this case is that my systems are FreeBSD, not Linux. Basically I'm checking if anyone else has encountered this at all, or if any other FreeBSD users are NOT having any issues. Info about my main observium install:
FreeBSD 9.1 PHP+Modules 5.4.20 I've tested with PHP's APC on and off php Memory limit = 256
I've mentioned this with devs many times over the last 6 months, they effectively consider FreeBSD unsupported so don't really care. It all certainly worked perfectly prior to that auth update, nothing has changed on my systems since then except standard package updates.
Thoughts?
--Chris
I've had an issue with Observium since I *think* 4152 (http://fisheye.observium.org/changelog/Observium?cs=4152) where some authentication stuff was changed. Symptoms are once you log in, your next click may have your session already expired. As an example, I can log in, type something in the search bar, it may immediately report that the session is expired.
If I simply leave the browser open on a page, it typically will just auto expire at some random period of time, all of which is under an hour. It appears to be very random so difficult to troubleshoot. This happens weather you choose to save your session or not.
I've enabled PHP session debugging to write to files, contents of those seem fine. I've also cleared out `users_ckeys` table, no changes. I've also enabled php error logging in my apache config, but observium is overwritting this with ini_set all over the place which makes that somewhat futile.
I've tested this on multiple systems, with built in auth and LDAP auth. Common denominator in this case is that my systems are FreeBSD, not Linux. Basically I'm checking if anyone else has encountered this at all, or if any other FreeBSD users are NOT having any issues. Info about my main observium install:
FreeBSD 9.1 PHP+Modules 5.4.20 I've tested with PHP's APC on and off php Memory limit = 256
I've mentioned this with devs many times over the last 6 months, they effectively consider FreeBSD unsupported so don't really care. It all certainly worked perfectly prior to that auth update, nothing has changed on my systems since then except standard package updates.
Thoughts?
I can also say that I run Observium on CentOS (also not supported) and I do not have this issue...
On Mon, Jan 6, 2014 at 11:18 AM, Chris Wopat me@falz.net wrote:
Hi list folks,
I've had an issue with Observium since I *think* 4152 (http://fisheye.observium.org/changelog/Observium?cs=4152) where some authentication stuff was changed. Symptoms are once you log in, your next click may have your session already expired. As an example, I can log in, type something in the search bar, it may immediately report that the session is expired.
<snip>
Responding to myself here - All of my issues were fixed with the auth changes in mid Feb 2014, changeset 4967 and the next few.
http://fisheye.observium.org/changelog/Observium?cs=4967
cheers, Chris
participants (2)
-
Chris Wopat
-
Laurens Vets