Re: [RCU] RoundCube session aborting

2012-04-30 Thread Thiago Cavalcante
Alec, after modifications improved. There are currently 10% active sessions expire in 1 hour. thank you 2012/4/26 Claudio Kuenzler c...@claudiokuenzler.com: Hi Thiago Even if this works with direct connection, the issue with proxied connections remains. @ALEC: Any idea why the session is

Re: [RCU] RoundCube session aborting

2012-04-30 Thread Thomas Bruederli
On Thu, Apr 26, 2012 at 10:13, Claudio Kuenzler c...@claudiokuenzler.com wrote: Hi Thiago Even if this works with direct connection, the issue with proxied connections remains. @ALEC: Any idea why the session is deleted from the session table and then reinserted again? That's difficult to

Re: [RCU] RoundCube session aborting

2012-04-26 Thread Claudio Kuenzler
Hi Thiago Even if this works with direct connection, the issue with proxied connections remains. @ALEC: Any idea why the session is deleted from the session table and then reinserted again? On Wed, Apr 25, 2012 at 1:51 PM, Thiago Cavalcante tlcavalca...@gmail.comwrote: Claudio, i checked the

Re: [RCU] RoundCube session aborting

2012-04-25 Thread A.L.E.C
On 24.04.2012 19:42, Thiago Cavalcante wrote: Apache log, only this: [Tue Apr 24 13:49:52 2012] [error] [client 192.168.21.42] File does not exist: /var/www/correio/?_task=mail_action=get_uid=5997_mbox=INBOX_part=2 [Tue Apr 24 13:49:56 2012] [error] [client 192.168.21.42] File does not

Re: [RCU] RoundCube session aborting

2012-04-25 Thread Claudio Kuenzler
Hello, As written in my mail from yesterday, I took a close look this time. It just happened to me again 10mins ago, while yesterday I kept connected during several hours without a logout or session kill. Difference: Yesterday I was at home when I wrote the message, direct internet access. Now

Re: [RCU] RoundCube session aborting

2012-04-25 Thread Thiago Cavalcante
Claudio, i checked the Roundcube works with the client IP in session table, solved adding firewall exception, allowing direct connection to server Roundcube. Alec, I just make the changes suggested. Throughout the day observe the application. Thank you for great help. 2012/4/25 Claudio Kuenzler

Re: [RCU] RoundCube session aborting

2012-04-24 Thread Thiago Cavalcante
We tried versions 0.8 and 0.6, the last best work. But still have problems. Never tested this other version, there is a significant difference in PGL dependent version? New log file: [24-Apr-2012 13:03:02 -0300]: Session authentication failed for 9epgqhcambsius1ffh8aar79l6; invalid auth cookie

Re: [RCU] RoundCube session aborting

2012-04-24 Thread A.L.E.C
On 04/24/2012 06:55 PM, Thiago Cavalcante wrote: We tried versions 0.8 and 0.6, the last best work. But still have problems. Never tested this other version, there is a significant difference in PGL dependent version? New log file: [24-Apr-2012 13:03:02 -0300]: Session authentication failed for

Re: [RCU] RoundCube session aborting

2012-04-24 Thread Claudio Kuenzler
I repost in that topic as I had similar issues today in my 0.7.2 and Firefox 11. I thought they were gone since I applied 0.7.2 but yesterday and today had this happen to me. session log: [24-Apr-2012 14:27:13 +0200]: Aborted session 3aq11l9co39l0k5ohvk376hub5; no valid session data found

Re: [RCU] RoundCube session aborting

2012-04-24 Thread Thiago Cavalcante
Alec, Apache log, only this: [Tue Apr 24 13:49:52 2012] [error] [client 192.168.21.42] File does not exist: /var/www/correio/?_task=mail_action=get_uid=5997_mbox=INBOX_part=2 [Tue Apr 24 13:49:56 2012] [error] [client 192.168.21.42] File does not exist:

Re: [RCU] RoundCube session aborting

2012-04-23 Thread A.L.E.C
On 21.04.2012 15:40, Thiago Cavalcante wrote: Reporting action: Ask development team helps the company here and tried unsuccessfully a few changes. First change in rcmail.php $this-session-set_secret ($this-config-get('des_key')); //. $_SERVER['HTTP_USER_AGENT']); Then, I suppose your

Re: [RCU] RoundCube session aborting

2012-04-23 Thread Thiago Cavalcante
We have separate servers for Web and IMAP, unifies them can be a solution. We are studying a downgrade of Roundcube, but going to try your suggestion and try version 0.8. 2012/4/23 A.L.E.C a...@alec.pl: On 21.04.2012 15:40, Thiago Cavalcante wrote: Reporting action: Ask development team helps

Re: [RCU] RoundCube session aborting

2012-04-22 Thread Michael Heydekamp
Am 21.04.2012 14:54, schrieb A.L.E.C: I created the ticket http://trac.roundcube.net/ticket/1488449 I wasn't able to understand the background of this thread entirely and the context between a User-Agent header and aborted sessions somewhat escapes me, but: As I'm using IE8 and am suffering

Re: [RCU] RoundCube session aborting

2012-04-22 Thread Reindl Harald
Am 22.04.2012 16:48, schrieb Michael Heydekamp: Am 21.04.2012 14:54, schrieb A.L.E.C: I created the ticket http://trac.roundcube.net/ticket/1488449 I wasn't able to understand the background of this thread entirely and the context between a User-Agent header and aborted sessions this

Re: [RCU] RoundCube session aborting

2012-04-21 Thread A.L.E.C
On 04/21/2012 10:10 AM, Jernej Porenta wrote: This are the logs from one single user using the same browser (IE9). First request used one User-Agent strings, the second one (command check-recent) used different one and the third (error; aborted session) used first one again. As we explored

Re: [RCU] RoundCube session aborting

2012-04-21 Thread A.L.E.C
I created the ticket http://trac.roundcube.net/ticket/1488449 -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --- PGP: 19359DC1 @@ GG: 2275252 @@ WWW:

Re: [RCU] RoundCube session aborting

2012-04-21 Thread Thiago Cavalcante
Thanks for help Alec, Reporting action: Ask development team helps the company here and tried unsuccessfully a few changes. First change in rcmail.php $this-session-set_secret ($this-config-get('des_key')); //. $_SERVER['HTTP_USER_AGENT']); Second change in rcmail.php

Re: [RCU] RoundCube session aborting

2012-04-20 Thread Thiago Cavalcante
Dear Claudio, The problem continues, updated to version 0.72. Is there an alternative? Log file: [20-Apr-2012 08:01:32 -0300]: Aborted session qqvkh76s6otrl4tp013lqus3q7; no valid session data found [20-Apr-2012 08:01:43 -0300]: Aborted session 5ucfbk312o0fia70oh7e39psm1; no valid session data

Re: [RCU] RoundCube session aborting

2012-04-20 Thread A.L.E.C
On 20.04.2012 13:59, Thiago Cavalcante wrote: Dear Claudio, The problem continues, updated to version 0.72. Is there an alternative? What database are you using (+version)? Are you using any kind of db replication? What plugins are you using? Try to disable them for some time. Show your config.

Re: [RCU] RoundCube session aborting

2012-04-20 Thread Thiago Cavalcante
Dear Alec, The Roudcube server and Postfix / Dovecot are different machines. Roundcube server: Vesão Linux: Linux version 2.6.18-238.12.1.el5 Database: 5.0.95-mysql.x86_64 1.el5_7.1 Web Server: 2.2.3-httpd.x86_64 63.el5.centos.1 PHP: 5.1.6-32.el5 php.x86_64 Processor: Intel (R) Xeon (R) CPU

Re: [RCU] RoundCube session aborting

2012-04-20 Thread A.L.E.C
On 20.04.2012 14:27, Thiago Cavalcante wrote: Dear Alec, The Roudcube server and Postfix / Dovecot are different machines. Roundcube server: Vesão Linux: Linux version 2.6.18-238.12.1.el5 Database: 5.0.95-mysql.x86_64 1.el5_7.1 Web Server: 2.2.3-httpd.x86_64 63.el5.centos.1 PHP:

Re: [RCU] RoundCube session aborting

2012-04-20 Thread A.L.E.C
On 20.04.2012 14:27, Thiago Cavalcante wrote: Configuration file attached. // tell PHP that it should work as under secure connection // even if it doesn't recognize it as secure ($_SERVER['HTTPS'] is not set) // e.g. when you're running Roundcube behind a https proxy $rcmail_config['use_https']

Re: [RCU] RoundCube session aborting

2012-04-20 Thread Thiago Cavalcante
Do not use proxy for accessing Roundcube, I will disable it. Now upgrading to PHP5.33 Thank you, 2012/4/20 A.L.E.C a...@alec.pl: On 20.04.2012 14:27, Thiago Cavalcante wrote: Configuration file attached. // tell PHP that it should work as under secure connection // even if it doesn't

Re: [RCU] RoundCube session aborting

2012-04-20 Thread Thiago Cavalcante
Updated to 5.3.6-php53u.x86_64 1.ius.el5 and changed the recommended settings. Still problems in session. Thank you, 2012/4/20 Thiago Cavalcante tlcavalca...@gmail.com: Do not use proxy for accessing Roundcube, I will disable it. Now upgrading to PHP5.33 Thank you, 2012/4/20 A.L.E.C

Re: [RCU] RoundCube session aborting

2012-04-20 Thread Jernej Porenta
We had similar issues with users, who were using IE with auto-detect compatibility mode, which caused that GET requests used different User-Agent strings, which caused aborted sessions. If I remember right, we had to add something in the HEAD section of our template to avoid the issue.

Re: [RCU] RoundCube session aborting

2012-04-20 Thread Thiago Cavalcante
Thanks for your help. Jernej, I found this ticket # 1487838, it reports fixed since version 0.6. 2012/4/20 Jernej Porenta jernej.pore...@arnes.si: We had similar issues with users, who were using IE with auto-detect compatibility mode, which caused that GET requests used different User-Agent

Re: [RCU] RoundCube session aborting

2012-04-20 Thread A.L.E.C
On 04/20/2012 07:08 PM, Thiago Cavalcante wrote: Sorry question, I am not a developer. What file I change? In 0.7 it is program/include/rcmail.php -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net]

Re: [RCU] RoundCube session aborting

2012-04-20 Thread A.L.E.C
On 04/20/2012 06:45 PM, A.L.E.C wrote: To OP, you could try to remove .$_SESSION['HTTP_USER_AGENT'] from rcmail::session_configure() or better find what causes user-agent string change if it happens here. Another and probably better solution is to add header('X-UA-Compatible:

Re: [RCU] RoundCube session aborting

2012-04-20 Thread Thiago Cavalcante
Search in file rcmail.php session_configure returned three lines. Nothing changed, was the already requested line 184: $this-session_configure(); line 722: public function session_configure(); line 878: $this-session_configure(); Includes header ('X-UA-Compatible: IE = edge, chrome = 1'), on top

Re: [RCU] RoundCube session aborting

2012-04-20 Thread Reindl Harald
Am 20.04.2012 19:35, schrieb A.L.E.C: On 04/20/2012 06:45 PM, A.L.E.C wrote: To OP, you could try to remove .$_SESSION['HTTP_USER_AGENT'] from rcmail::session_configure() or better find what causes user-agent string change if it happens here. Another and probably better solution is to

[RCU] RoundCube session aborting

2012-04-19 Thread Thiago Cavalcante
Dear, We are the institution of the Brazilian government using the RoundCube 0.7 approximately one hundred concurrent users, aborting every minute session. seek solutions RoundCube official site and Google but nothing solved. Structure: Dovecot + Postfix (Debian Squeezy) Lamp (CentOS 6) log

Re: [RCU] RoundCube session aborting

2012-04-19 Thread Claudio Kuenzler
I had similar issues when I used 0.7 and 0.7.1. Since upgrade to 0.7.2 such session issues didn't happen anymore. At least the session errors no valid session shown on the browser disappeared since the upgrade, didn't activate session logs. On Thu, Apr 19, 2012 at 5:09 PM, Thiago Cavalcante

Re: [RCU] RoundCube session aborting

2012-04-19 Thread Thiago Cavalcante
Thanks, I'll update. Will report results. 2012/4/19 Claudio Kuenzler c...@claudiokuenzler.com: I had similar issues when I used 0.7 and 0.7.1. Since upgrade to 0.7.2 such session issues didn't happen anymore. At least the session errors no valid session shown on the browser disappeared since