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

Andre Luiz Paiz andre.paiz at iqm.unicamp.br
Thu Jun 11 12:27:25 UTC 2015


> ------------------------------
>
> 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:40-03:00 DEBUG: HORDE [imp] Load config file  
(conf.php; app: imp) [pid 18358 on line 109 of  
"/usr/share/pear/Horde/Registry/Loadconfig.php"]
2015-06-11T09:23:40-03:00 DEBUG: HORDE [imp] Load config file  
(hooks.php; app: imp) [pid 18358 on line 109 of  
"/usr/share/pear/Horde/Registry/Loadconfig.php"]
2015-06-11T09:23:40-03:00 DEBUG: HORDE [imp] Load config file  
(mime_drivers.php; app: horde) [pid 18358 on line 109 of  
"/usr/share/pear/Horde/Registry/Loadconfig.php"]
2015-06-11T09:23:40-03:00 DEBUG: HORDE [imp] Load config file  
(mime_drivers.php; app: imp) [pid 18358 on line 109 of  
"/usr/share/pear/Horde/Registry/Loadconfig.php"]
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

2015-06-11T09:23:41-03:00 DEBUG: HORDE [imp] Max memory usage: 9437184  
bytes [pid 18428 on line 608 of "/usr/share/pear/Horde/Registry.php"]
2015-06-11T09:23:41-03:00 DEBUG: HORDE [turba] Load config file  
(conf.php; app: turba) [pid 18358 on line 109 of  
"/usr/share/pear/Horde/Registry/Loadconfig.php"]
2015-06-11T09:23:41-03:00 DEBUG: HORDE [turba] Load config file  
(attributes.php; app: turba) [pid 18358 on line 109 of  
"/usr/share/pear/Horde/Registry/Loadconfig.php"]
2015-06-11T09:23:41-03:00 DEBUG: HORDE [turba] Load config file  
(backends.php; app: turba) [pid 18358 on line 109 of  
"/usr/share/pear/Horde/Registry/Loadconfig.php"]
2015-06-11T09:23:41-03:00 DEBUG: HORDE [turba] SQL  (0,0005s)
         SELECT object_id, object_type, owner_id, object_members,
           object_nameprefix, object_firstname, object_middlenames,
           object_lastname, object_namesuffix, object_email FROM turba_objects
           WHERE (object_email = 'dgrhcom at unicamp.br' OR owner_id = 'coutinho'
           AND ((LOWER(object_nameprefix) LIKE LOWER('%dgrhcom at unicamp.br%') OR
           LOWER(object_firstname) LIKE LOWER('%dgrhcom at unicamp.br%') OR
           LOWER(object_middlenames) LIKE LOWER('%dgrhcom at unicamp.br%') OR
           LOWER(object_lastname) LIKE LOWER('%dgrhcom at unicamp.br%') OR
           LOWER(object_namesuffix) LIKE  
LOWER('%dgrhcom at unicamp.br%')))) [pid 18358 on line 208 of  
"/usr/share/pear/Horde/Db/Adapter/Pdo/Base.php"]
2015-06-11T09:23:41-03:00 DEBUG: HORDE [imp] SQL  (0,0010s)
         SELECT alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods,
           alarm_params, alarm_title, alarm_text, alarm_snooze, alarm_internal
           FROM horde_alarms WHERE alarm_dismissed = 0 AND  
((alarm_snooze IS NULL
           AND alarm_start <= '2015-06-11 12:23:41') OR alarm_snooze <=
           '2015-06-11 12:23:41') AND (alarm_end IS NULL OR alarm_end >=
           '2015-06-11 12:23:41') AND (alarm_uid IS NULL OR alarm_uid = '' OR
           alarm_uid = 'coutinho') ORDER BY alarm_start, alarm_end  
[pid 18358 on line 208 of  
"/usr/share/pear/Horde/Db/Adapter/Pdo/Base.php"]
2015-06-11T09:23:41-03:00 DEBUG: HORDE [imp] Max memory usage:  
19398656 bytes [pid 18358 on line 608 of  
"/usr/share/pear/Horde/Registry.php"]

Thanks
Andre




More information about the horde mailing list