From azurit at pobox.sk Mon May 20 12:35:53 2019 From: azurit at pobox.sk (azurit at pobox.sk) Date: Mon, 20 May 2019 14:35:53 +0200 Subject: [imp] Users are getting logged out Message-ID: <20190520143553.Horde.T53OnTpvmJfrtJXKBA1o801@webmail.inetadmin.eu> Hi, i would like to ask for any suggestions how to resolve my quite strange problem with Horde/IMP. During the past year, several users (really not much, about 3 or 4) contacted us about problem with logging out from Horde/IMP. The logout reason is 'session expired' BUT all users are describing very similar things: - logout can happen anytime and session, probably, didn't expired at all: for example, one of the affected users is SOMETIMES getting logout few seconds after he logged in - it is happening on the same account using different PCs and browsers - it is NOT happening to anyone, only to few users (but it is happening all the time for that users [for some few times per week, for some few times per day], i mean, it's not like it happen few times to sometime and than few times to someone-other, it's still same users - i'm NOT able to reproduce it on my PC, even when using affected accounts - it NEVER happen to me and i'm using our webmail daily Nothing interesting in logs even on debug level (i just see that users really get logged out). Any suggestions on what is happening, how to debug it, how to reproduce it etc.? Thank you. azur From build+horde at de-korte.org Mon May 20 13:01:30 2019 From: build+horde at de-korte.org (Arjen de Korte) Date: Mon, 20 May 2019 15:01:30 +0200 Subject: [imp] Users are getting logged out In-Reply-To: <20190520143553.Horde.T53OnTpvmJfrtJXKBA1o801@webmail.inetadmin.eu> Message-ID: <20190520150130.Horde.UdGrb1hR-eagtfWfxXrDX2r@mail.de-korte.org> Citeren azurit at pobox.sk: > Hi, > > i would like to ask for any suggestions how to resolve my quite > strange problem with Horde/IMP. > > During the past year, several users (really not much, about 3 or 4) > contacted us about problem with logging out from Horde/IMP. The > logout reason is 'session expired' BUT all users are describing very > similar things: > > - logout can happen anytime and session, probably, didn't expired > at all: for example, one of the affected users is SOMETIMES getting > logout few seconds after he logged in > > - it is happening on the same account using different PCs and browsers > > - it is NOT happening to anyone, only to few users (but it is > happening all the time for that users [for some few times per week, > for some few times per day], i mean, it's not like it happen few > times to sometime and than few times to someone-other, it's still > same users > > - i'm NOT able to reproduce it on my PC, even when using affected accounts > > - it NEVER happen to me and i'm using our webmail daily > > > Nothing interesting in logs even on debug level (i just see that > users really get logged out). Any suggestions on what is happening, > how to debug it, how to reproduce it etc.? Thank you. > > azur Is $conf['auth']['checkip'] = true; in your horde/config/conf.php file? If so, it may be that said users are on systems with short DHCP lease times and/or change IP address for some reason. I've seen similar behavior when their devices (apparently, for security reasons) change IP addresses frequently. Setting the above value to false should fix that. From azurit at pobox.sk Mon May 20 13:10:58 2019 From: azurit at pobox.sk (azurit at pobox.sk) Date: Mon, 20 May 2019 15:10:58 +0200 Subject: [imp] Users are getting logged out In-Reply-To: <20190520150130.Horde.UdGrb1hR-eagtfWfxXrDX2r@mail.de-korte.org> References: <20190520143553.Horde.T53OnTpvmJfrtJXKBA1o801@webmail.inetadmin.eu> <20190520150130.Horde.UdGrb1hR-eagtfWfxXrDX2r@mail.de-korte.org> Message-ID: <20190520151058.Horde.nbNGLK6SKcndZDUqnSGRskO@webmail.inetadmin.eu> Cit?t Arjen de Korte : > Citeren azurit at pobox.sk: > >> Hi, >> >> i would like to ask for any suggestions how to resolve my quite >> strange problem with Horde/IMP. >> >> During the past year, several users (really not much, about 3 or 4) >> contacted us about problem with logging out from Horde/IMP. The >> logout reason is 'session expired' BUT all users are describing >> very similar things: >> >> - logout can happen anytime and session, probably, didn't expired >> at all: for example, one of the affected users is SOMETIMES getting >> logout few seconds after he logged in >> >> - it is happening on the same account using different PCs and browsers >> >> - it is NOT happening to anyone, only to few users (but it is >> happening all the time for that users [for some few times per week, >> for some few times per day], i mean, it's not like it happen few >> times to sometime and than few times to someone-other, it's still >> same users >> >> - i'm NOT able to reproduce it on my PC, even when using affected accounts >> >> - it NEVER happen to me and i'm using our webmail daily >> >> >> Nothing interesting in logs even on debug level (i just see that >> users really get logged out). Any suggestions on what is happening, >> how to debug it, how to reproduce it etc.? Thank you. >> >> azur > > Is > > $conf['auth']['checkip'] = true; > > in your horde/config/conf.php file? If so, it may be that said users > are on systems with short DHCP lease times and/or change IP address > for some reason. I've seen similar behavior when their devices > (apparently, for security reasons) change IP addresses frequently. > Setting the above value to false should fix that. This is not the case, checkip is 'false' (and Horde will print different logout message in that case [and also when, for example, user-agent is changed]). Any other suggestions? From mays at win.net Fri May 24 20:03:29 2019 From: mays at win.net (Joseph Mays) Date: Fri, 24 May 2019 16:03:29 -0400 Subject: [imp] Individual messages taking 77 seconds to open. Message-ID: I?m working on a server that is using, in production what is admittedly a very old version of horde imp. Still, the server has been there unchanged for a few years. A strange problem has developed in one aspect of horde imp in the last couple of months, though. Everything about the server is fine, except that some users (not all) are having a problem when it comes to clicking on a message in the inbox and opening it. Opening the message takes almost exactly (I have timed it with a stopwatch many times) 77 seconds to open. Every other aspect of the horde server works fine and responds immediately. I have tried calling the horde imp webmail interface through both ssl and non ssl versions. Both have the same problem. We have a squirrelmail webmail interface that works with the same imap server. It does not have this problem. We have other imap interfaces that work fine. The problem is just some users of the horde imp software, and specifically only with calling message.php through horde. I have put wireshark on the browser system and watched the communication. The get request for message.php is sent immediately by the server when the link is clicked in the inbox. The server acks the response, but the get request does not show up in the webserver logs. Then, for 77 seconds, nothing apparently happens on either the client or server side (except for the sidebar.php refreshes, which work fine through this whole process). Then, 77 seconds later, the get request appears in the webserver log, is responded to immediately, and the message appears in the browser interface. I have been going through every timeout I can find, php.ini, ssl, the horde imp configuaration, nothing makes any difference. The webserver seems to be processing *something* in message.php, timing out, and then going ahead and sending the message. At this point I would be happy to hear any ideas someone might have. I?ve set php to E_ALL for logging, nothing appears in the webserver access or error logs beyond the http exchange.