[horde] Sometimes the "error when communicating with the server" message shows up (Andre Luiz Paiz)

Jan Schneider jan at horde.org
Thu Jun 11 12:41:56 UTC 2015


Zitat von Andre Luiz Paiz <andre.paiz at iqm.unicamp.br>:

>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 11 Jun 2015 13:39:44 +0200
>> From: Jan Schneider <jan at horde.org>
>> To: horde at lists.horde.org
>> Subject: Re: [horde] Sometimes the "error when communicating with the
>> 	server" message shows up
>> Message-ID: <20150611133944.Horde.Jddm2S7EutAd5K5uY3vTnBQ at neo.wg.de>
>> Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
>>
>>
>> Zitat von Andre Luiz Paiz <andre.paiz at iqm.unicamp.br>:
>>
>>> Hi everybody,
>>>
>>> Some users are complaining that the "error when communicating with
>>> the server" in a red window shows up some times.
>>> The service is working, users can send and receive e-mail, but
>>> sometimes this message appears and some users need to logon again.
>>>
>>> Is there any tune up that I can do to fix that?
>>>
>>> I use:
>>> CentOS 6 on both IMAP and webmail server
>>> Imapproxyd inside the webmail server to perform fast IMAP auth
>>> Dovecot on the IMAP server
>>>
>>>
>>> The users are using Google Chrome and Internet Explorer.
>>>
>>>
>>> The only error from IMP that I receive is: EMERG: HORDE [imp]
>>> Invalid token! [pid 26191 on line 540 of
>>> "/usr/share/pear/Horde/Session.php". But I don?t know if it is
>>> related.
>>
>> Yes, most probably, since this is going to be a fatal error. For some
>> reason the token stored in the user's session either gets lost or is
>> invalid. If you enable DEBUG logging you see a backtrace where this is
>> coming from. Do you have a load balanced environment?
>>
>> --
>> Jan Schneider
>> The Horde Project
>> http://www.horde.org/
>> https://www.facebook.com/hordeproject
>>
>>
>
> Hi Jan, thanks for your reply.
> No, I am not using a load balanced environment.
> I'm turning debug on to monitor and all I receive is this in the  
> timestamp where the error appears:

> 2015-06-11T09:23:41-03:00 EMERG: HORDE [imp] Invalid token! [pid  
> 18428 on line 540 of "/usr/share/pear/Horde/Session.php"]
> 2015-06-11T09:23:41-03:00 DEBUG: HORDE 1.  
> IMP_Contents_View->checkToken() /var/www/html/horde/imp/view.php:56
> 2. Horde_Session->checkToken()  
> /var/www/html/horde/imp/lib/Contents/View.php:357

This means it happens while viewing attachments or message sources.  
Their session probably had timed out.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list