Page 1 of 1

Session timeout - Google Chrome

Posted: Mon Dec 30, 2019 6:35 pm
by rferebee
Hello team,

I'm trying to switch over to using Google Chrome exclusively due to multiple issues with Internet Explorer, but one issue I'm running into specifically with Log Server involves what seems like my session timing out due to inactivity.

I tend to stay logged into Log Server all day since it's a major portion of my job responsibilities and this was never a problem with IE, but in Chrome after what seems like 30 or so minutes when I navigate back to my Log Server tab I see a yellow triangle in the upper right hand corner of the console window next to my username and if I attempt to reload the page by clicking Home in the menu bar, I automatically get logged out.

If I hover over the yellow triangle it says: "Could not authenticate. Invalid token given."

There does not seem to be a session time setting for Log Server in the GUI like there is in XI, but is there a way for me to keep this behavior from occurring?

Thank you!

Re: Session timeout - Google Chrome

Posted: Thu Jan 02, 2020 11:49 am
by mbellerue
I'm not running into this on Log Server 2.1.2, but I may not have the same configuration as you. A couple of questions to try and get our systems in line with each other.

Are you logged into Chrome with a Gmail or Google Business account?
Are you running SSL on the Log Server web interface?

Re: Session timeout - Google Chrome

Posted: Thu Jan 02, 2020 11:55 am
by rferebee
I am not logged into Chrome with any accounts.

We are not currently utilizing SSL in the console, although I wouldn't mind enabling it.

Re: Session timeout - Google Chrome

Posted: Thu Jan 02, 2020 3:26 pm
by scottwilkerson
You can add the following line to /var/www/html/nagioslogserver/application/config/config.local.php which should allow you session to stay connected for 24 hours

Code: Select all

$config['sess_expiration'] = 86400;
If you want the session to never expire you can set it to

Code: Select all

$config['sess_expiration'] = 0;

Re: Session timeout - Google Chrome

Posted: Thu Jan 02, 2020 4:05 pm
by rferebee
Perfect, thank you. I made the change.

You can lock this up.

Re: Session timeout - Google Chrome

Posted: Thu Jan 02, 2020 4:05 pm
by scottwilkerson
rferebee wrote:Perfect, thank you. I made the change.

You can lock this up.
great!

Locking