authentication timeout or random logout

Does anyone else have issues with random logouts on 17.1.8318? I will be working on or looking at something, clicking menu's, and then all of the sudden i'm at the login screen. Sometimes it happens after a few minutes of the initial login, and sometimes its hours later.
PHP 5.6.30 Centos 7.3.1611 Active directory authentication.
Dan.

Hi Dan,
We've had reports of this, and have tried quite a few things to fix it... unfortunately I don't have a lot of news about this, as we're kind of out of ideas of what is happening. Useful datapoint that you included you use LDAP auth.
Tom
On 11/02/2017 01:23, Dan Letkeman wrote:
Does anyone else have issues with random logouts on 17.1.8318? I will be working on or looking at something, clicking menu's, and then all of the sudden i'm at the login screen. Sometimes it happens after a few minutes of the initial login, and sometimes its hours later.
PHP 5.6.30 Centos 7.3.1611 Active directory authentication.
Dan.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

If there is a way I can run some debugs, let me know.
Dan.
On Sat, Feb 11, 2017 at 6:06 PM, Tom Laermans tom.laermans@powersource.cx wrote:
Hi Dan,
We've had reports of this, and have tried quite a few things to fix it... unfortunately I don't have a lot of news about this, as we're kind of out of ideas of what is happening. Useful datapoint that you included you use LDAP auth.
Tom
On 11/02/2017 01:23, Dan Letkeman wrote:
Does anyone else have issues with random logouts on 17.1.8318? I will be working on or looking at something, clicking menu's, and then all of the sudden i'm at the login screen. Sometimes it happens after a few minutes of the initial login, and sometimes its hours later.
PHP 5.6.30 Centos 7.3.1611 Active directory authentication.
Dan.
observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

I also get this using local authentication (ie. Accounts created directly through Observium) as-well – using PHP7 and CentOS7.
But it’s inconsistent – sometimes I can go days without seeing the issue and then it will just happen a few times (eg. sometimes once every few hours, sometimes multiple times within an hour). Bit hard to predict when it’ll happen to capture useful logs though.
It’s probably also worth noting that we still had this problem when our Observium was running off Debian and PHP5 (specific versions, I can’t remember them). The database was migrated to the CentOS7 box mentioned above so one could say that’s the common factor here, if that’s relevant.
There is also another thing, which I believe is unrelated but I’ll mention it just in-case. I have noticed if you leave Observium at its login screen for a very long period of time (overnight), and attempt to login, it will just boot you back to the login page. I’m assuming this is just because the PHP session has expired though.
* Jacob
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Sunday, 12 February 2017 8:06 AM To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] authentication timeout or random logout
Hi Dan,
We've had reports of this, and have tried quite a few things to fix it... unfortunately I don't have a lot of news about this, as we're kind of out of ideas of what is happening. Useful datapoint that you included you use LDAP auth.
Tom
On 11/02/2017 01:23, Dan Letkeman wrote: Does anyone else have issues with random logouts on 17.1.8318? I will be working on or looking at something, clicking menu's, and then all of the sudden i'm at the login screen. Sometimes it happens after a few minutes of the initial login, and sometimes its hours later.
PHP 5.6.30 Centos 7.3.1611 Active directory authentication.
Dan.
_______________________________________________
observium mailing list
observium@observium.orgmailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Hi,
you sure that issue still exist in latest Pro?
In revision 8295 (0.16.12.8295) fixed sessions race condition which can cause such behavior.
Other situations that can cause such behavior: - your client IP dynamic: for resolve this goto page "Global settings -> Edit -> Authentication" and switch option "Session bind to IP" to False. - your browser Updated to an new version.
On Sun, Feb 12, 2017 at 5:28 AM, Jacob Bisby Jacob.Bisby@uniscope.com.au wrote:
I also get this using local authentication (ie. Accounts created directly through Observium) as-well – using PHP7 and CentOS7.
But it’s inconsistent – sometimes I can go days without seeing the issue and then it will just happen a few times (eg. sometimes once every few hours, sometimes multiple times within an hour). Bit hard to predict when it’ll happen to capture useful logs though.
It’s probably also worth noting that we still had this problem when our Observium was running off Debian and PHP5 (specific versions, I can’t remember them). The database was migrated to the CentOS7 box mentioned above so one could say that’s the common factor here, if that’s relevant.
There is also another thing, which I believe is unrelated but I’ll mention it just in-case. I have noticed if you leave Observium at its login screen for a very long period of time (overnight), and attempt to login, it will just boot you back to the login page. I’m assuming this is just because the PHP session has expired though.
- Jacob
*From:* observium [mailto:observium-bounces@observium.org] *On Behalf Of *Tom Laermans *Sent:* Sunday, 12 February 2017 8:06 AM *To:* Observium Network Observation System observium@observium.org *Subject:* Re: [Observium] authentication timeout or random logout
Hi Dan,
We've had reports of this, and have tried quite a few things to fix it... unfortunately I don't have a lot of news about this, as we're kind of out of ideas of what is happening. Useful datapoint that you included you use LDAP auth.
Tom
On 11/02/2017 01:23, Dan Letkeman wrote:
Does anyone else have issues with random logouts on 17.1.8318? I will be working on or looking at something, clicking menu's, and then all of the sudden i'm at the login screen. Sometimes it happens after a few minutes of the initial login, and sometimes its hours later.
PHP 5.6.30
Centos 7.3.1611
Active directory authentication.
Dan.
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

I'm using 17.2.8345 and I just had the issue happen again this morning. I have a static ip on my client machine. I have not updated or closed my browser for a few weeks.
On Mon, Feb 13, 2017 at 8:44 AM, Mike Stupalov mike@observium.org wrote:
Hi,
you sure that issue still exist in latest Pro?
In revision 8295 (0.16.12.8295) fixed sessions race condition which can cause such behavior.
Other situations that can cause such behavior:
- your client IP dynamic: for resolve this goto page "Global settings ->
Edit -> Authentication" and switch option "Session bind to IP" to False.
- your browser Updated to an new version.
On Sun, Feb 12, 2017 at 5:28 AM, Jacob Bisby Jacob.Bisby@uniscope.com.au wrote:
I also get this using local authentication (ie. Accounts created directly through Observium) as-well – using PHP7 and CentOS7.
But it’s inconsistent – sometimes I can go days without seeing the issue and then it will just happen a few times (eg. sometimes once every few hours, sometimes multiple times within an hour). Bit hard to predict when it’ll happen to capture useful logs though.
It’s probably also worth noting that we still had this problem when our Observium was running off Debian and PHP5 (specific versions, I can’t remember them). The database was migrated to the CentOS7 box mentioned above so one could say that’s the common factor here, if that’s relevant.
There is also another thing, which I believe is unrelated but I’ll mention it just in-case. I have noticed if you leave Observium at its login screen for a very long period of time (overnight), and attempt to login, it will just boot you back to the login page. I’m assuming this is just because the PHP session has expired though.
- Jacob
*From:* observium [mailto:observium-bounces@observium.org] *On Behalf Of *Tom Laermans *Sent:* Sunday, 12 February 2017 8:06 AM *To:* Observium Network Observation System observium@observium.org *Subject:* Re: [Observium] authentication timeout or random logout
Hi Dan,
We've had reports of this, and have tried quite a few things to fix it... unfortunately I don't have a lot of news about this, as we're kind of out of ideas of what is happening. Useful datapoint that you included you use LDAP auth.
Tom
On 11/02/2017 01:23, Dan Letkeman wrote:
Does anyone else have issues with random logouts on 17.1.8318? I will be working on or looking at something, clicking menu's, and then all of the sudden i'm at the login screen. Sometimes it happens after a few minutes of the initial login, and sometimes its hours later.
PHP 5.6.30
Centos 7.3.1611
Active directory authentication.
Dan.
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org/
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Hi Mike
We are running currently running 17.1.8334 (issue has persisted across many versions of Observium though). I will change that auth setting and see how it affects the behaviour on my machine (DHCP range), but I have noted the issue also affects clients that access via a static IP (eg. Terminal server).
- Jacob Bisby
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Mike Stupalov Sent: Monday, 13 February 2017 10:45 PM To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] authentication timeout or random logout
Hi, you sure that issue still exist in latest Pro? In revision 8295 (0.16.12.8295) fixed sessions race condition which can cause such behavior. Other situations that can cause such behavior: - your client IP dynamic: for resolve this goto page "Global settings -> Edit -> Authentication" and switch option "Session bind to IP" to False. - your browser Updated to an new version.
On Sun, Feb 12, 2017 at 5:28 AM, Jacob Bisby <Jacob.Bisby@uniscope.com.aumailto:Jacob.Bisby@uniscope.com.au> wrote: I also get this using local authentication (ie. Accounts created directly through Observium) as-well – using PHP7 and CentOS7.
But it’s inconsistent – sometimes I can go days without seeing the issue and then it will just happen a few times (eg. sometimes once every few hours, sometimes multiple times within an hour). Bit hard to predict when it’ll happen to capture useful logs though.
It’s probably also worth noting that we still had this problem when our Observium was running off Debian and PHP5 (specific versions, I can’t remember them). The database was migrated to the CentOS7 box mentioned above so one could say that’s the common factor here, if that’s relevant.
There is also another thing, which I believe is unrelated but I’ll mention it just in-case. I have noticed if you leave Observium at its login screen for a very long period of time (overnight), and attempt to login, it will just boot you back to the login page. I’m assuming this is just because the PHP session has expired though.
* Jacob
From: observium [mailto:observium-bounces@observium.orgmailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Sunday, 12 February 2017 8:06 AM To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Subject: Re: [Observium] authentication timeout or random logout
Hi Dan,
We've had reports of this, and have tried quite a few things to fix it... unfortunately I don't have a lot of news about this, as we're kind of out of ideas of what is happening. Useful datapoint that you included you use LDAP auth.
Tom
On 11/02/2017 01:23, Dan Letkeman wrote: Does anyone else have issues with random logouts on 17.1.8318? I will be working on or looking at something, clicking menu's, and then all of the sudden i'm at the login screen. Sometimes it happens after a few minutes of the initial login, and sometimes its hours later.
PHP 5.6.30 Centos 7.3.1611 Active directory authentication.
Dan.
_______________________________________________
observium mailing list
observium@observium.orgmailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org/

On 14.02.17 5:26, Jacob Bisby wrote:
Hi Mike
We are running currently running 17.1.8334 (issue has persisted across many versions of Observium though). I will change that auth setting and see how it affects the behaviour on my machine (DHCP range), but I have noted the issue also affects clients that access via a static IP (eg. Terminal server).
If access from Terminal server output over NAT or Proxy, external IP also can be changed..
Also I know case with dual stack IPv4/6 when client and server use both, external IP can be randomly switched between v4 and v6.
Jacob Bisby
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Mike Stupalov *Sent:* Monday, 13 February 2017 10:45 PM *To:* Observium Network Observation System observium@observium.org *Subject:* Re: [Observium] authentication timeout or random logout
Hi,
you sure that issue still exist in latest Pro?
In revision 8295 (0.16.12.8295) fixed sessions race condition which can causesuch behavior.
Other situations that can causesuch behavior:
- your client IP dynamic: for resolve this goto page "Global settings
-> Edit -> Authentication" and switch option "Session bind to IP" to False.
- your browser Updated to an new version.
On Sun, Feb 12, 2017 at 5:28 AM, Jacob Bisby <Jacob.Bisby@uniscope.com.au mailto:Jacob.Bisby@uniscope.com.au> wrote:
I also get this using local authentication (ie. Accounts created directly through Observium) as-well – using PHP7 and CentOS7. But it’s inconsistent – sometimes I can go days without seeing the issue and then it will just happen a few times (eg. sometimes once every few hours, sometimes multiple times within an hour). Bit hard to predict when it’ll happen to capture useful logs though. It’s probably also worth noting that we still had this problem when our Observium was running off Debian and PHP5 (specific versions, I can’t remember them). The database was migrated to the CentOS7 box mentioned above so one could say that’s the common factor here, if that’s relevant. There is also another thing, which I believe is unrelated but I’ll mention it just in-case. I have noticed if you leave Observium at its login screen for a very long period of time (overnight), and attempt to login, it will just boot you back to the login page. I’m assuming this is just because the PHP session has expired though. * Jacob *From:*observium [mailto:observium-bounces@observium.org <mailto:observium-bounces@observium.org>] *On Behalf Of *Tom Laermans *Sent:* Sunday, 12 February 2017 8:06 AM *To:* Observium Network Observation System <observium@observium.org <mailto:observium@observium.org>> *Subject:* Re: [Observium] authentication timeout or random logout Hi Dan, We've had reports of this, and have tried quite a few things to fix it... unfortunately I don't have a lot of news about this, as we're kind of out of ideas of what is happening. Useful datapoint that you included you use LDAP auth. Tom On 11/02/2017 01:23, Dan Letkeman wrote: Does anyone else have issues with random logouts on 17.1.8318? I will be working on or looking at something, clicking menu's, and then all of the sudden i'm at the login screen. Sometimes it happens after a few minutes of the initial login, and sometimes its hours later. PHP 5.6.30 Centos 7.3.1611 Active directory authentication. Dan. _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--
Mike Stupalov http://observium.org/
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Dan Letkeman
-
Jacob Bisby
-
Mike Stupalov
-
Tom Laermans