[horde] ActiveSync does not work after update to 2.0.0beta4
Jens Grüntjes
jens.gruentjes at ebira.de
Thu Jan 17 09:02:08 UTC 2013
Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
> Quoting Jens Grüntjes <jens.gruentjes at ebira.de>> Zitat von
> mrubinsk at horde.org:
>>
>>> Quoting Jens Grüntjes <jens.gruentjes at ebira.de>> Zitat von Michael
>>> J Rubinsky <mrubinsk at horde.org>:
>>>>
>>>>> Quoting Samuel Wolf <samuelwolf85 at googlemail.com>:
>>>>>
>>>>>> 2012/12/3 Michael J Rubinsky <mrubinsk at horde.org>:
>>>>>>> I've made some logging and exception handling changes in Git that will
>>>>>>> hopefully at least give some better error data to go on. Other
>>>>>>> than then, I
>>>>>>> have no idea what is going on. It looks like IMP is still
>>>>>>> loosing the IMAP
>>>>>>> client object for some reason...
>>>>>>
>>>>>> This changes available in the next version of the pear package?
>>>>>> I am not using Git...
>>>>>
>>>>> Not yet. Still some things I'm looking at before releasing. I
>>>>> plan on releasing a new package today though.
>>>>
>>>> As of today I have Horde_ActiveSync-2.0.11 installed ans I also
>>>> experience problems like Samuel. The error message looks like his
>>>> does:
>>>>
>>>> 2012-12-19T16:54:25+00:00 DEBUG: [634] Initializing folder diff engine
>>>> 2012-12-19T16:54:25+00:00 DEBUG:
>>>> Horde_Core_ActiveSync_Driver::getFolderList()
>>>> 2012-12-19T16:54:25+00:00 DEBUG: Polling
>>>> Horde_Core_ActiveSync_Driver::_getMailFolders()
>>>> 2012-12-19T16:54:25+00:00 ERR: Problem loading mail folders from
>>>> IMAP server:
>>>> 2012-12-19T16:54:25+00:00 ERR:
>>>> 2012-12-19T16:54:25+00:00 DEBUG: [634] No folder changes found.
>>>>
>>>> It looks a bit like the germans are the main problem (again) ;-)
>>>> as they are the only ones complaining about this "bug". Can I
>>>> provide further debug output?
>>>> --
>>>> Jens Grüntjes
>>>>
>>> I have been unable to determine where/when/how this happens. The
>>> best I can tell is that the either the IMAP object is lost from
>>> IMP's session or the authentication data is lost.
>>>
>>> Since I can't reproduce this, the best way to help would be to
>>> find out where in the code this is happening. Barring that, a
>>> backtrace and details on your setup such as IMAP server,session
>>> and cache back ends etc...
>>>
>>
>> Here comes a
>> Backtrace:
>> 1. Horde_Rpc_ActiveSync->getResponse() /var/www/horde/rpc.php:155
>> 2. Horde_ActiveSync->handleRequest()
>> /usr/share/php/Horde/Rpc/ActiveSync.php:150
>> 3. Horde_ActiveSync_Request_Base->handle()
>> /usr/share/php/Horde/ActiveSync.php:639
>> 4. Horde_ActiveSync_Request_FolderSync->_handle()
>> /usr/share/php/Horde/ActiveSync/Request/Base.php:218
>> 5. Horde_ActiveSync_Sync->init()
>> /usr/share/php/Horde/ActiveSync/Request/FolderSync.php:223
>> 6. Horde_ActiveSync_State_Sql->getChanges()
>> /usr/share/php/Horde/ActiveSync/Sync.php:137
>> 7. Horde_ActiveSync_State_Sql->_getFolderChanges()
>> /usr/share/php/Horde/ActiveSync/State/Sql.php:868
>> 8. Horde_Core_ActiveSync_Driver->getFolderList()
>> /usr/share/php/Horde/ActiveSync/State/Sql.php:882
>> 9. Horde_Core_ActiveSync_Driver->getFolders()
>> /usr/share/php/Horde/Core/ActiveSync/Driver.php:226
>> 10. Horde_Core_ActiveSync_Driver->_getMailFolders()
>> /usr/share/php/Horde/Core/ActiveSync/Driver.php:266
>> 11. Horde_ActiveSync_Imap_Adapter->getMailboxes()
>> /usr/share/php/Horde/Core/ActiveSync/Driver.php:1813
>> 12. Horde_Core_ActiveSync_Imap_Factory->getMailboxes()
>> /usr/share/php/Horde/ActiveSync/Imap/Adapter.php:71
>> 13. Horde::debug() /usr/share/php/Horde/Core/ActiveSync/Imap/Factory.php:71
>>
>> I also have a horde_debug.txt which has about 16,000 lines. If this
>> helps you I could send it to you directly.
>>
>> My IMAP-Server is cyrus-imapd (Version: 2.2.13-19+squeeze3)
>>
>> Here is everything about session in Horde's conf.php:
>> $conf['session']['name'] = 'Horde';
>> $conf['session']['use_only_cookies'] = true;
>> $conf['session']['cache_limiter'] = 'nocache';
>> $conf['session']['timeout'] = 0;
>> $conf['session']['max_time'] = 0;
>> $conf['sessionhandler']['type'] = 'Builtin';
>> $conf['sessionhandler']['memcache'] = true;
>>
>> And the like for cache:
>> $conf['session']['cache_limiter'] = 'nocache';
>> $conf['share']['cache'] = true;
>> $conf['cache']['default_lifetime'] = 86400;
>> $conf['cache']['driver'] = 'Memcache';
>> $conf['cache']['compress'] = true;
>> $conf['cache']['use_memorycache'] = '';
>> $conf['cachecssparams']['driver'] = 'filesystem';
>> $conf['cachecssparams']['lifetime'] = 86400;
>> $conf['cachecssparams']['compress'] = 'php';
>> $conf['cachecss'] = true;
>> $conf['cachejsparams']['driver'] = 'filesystem';
>> $conf['cachejsparams']['compress'] = 'php';
>> $conf['cachejsparams']['lifetime'] = 86400;
>> $conf['cachejs'] = true;
>> $conf['cachethemesparams']['check'] = 'appversion';
>> $conf['cachethemesparams']['lifetime'] = 604800;
>> $conf['cachethemes'] = true;
>> $conf['memcache']['hostspec'] = array('localhost');
>> $conf['memcache']['port'] = array('11211');
>> $conf['memcache']['weight'] = array();
>> $conf['memcache']['persistent'] = false;
>> $conf['memcache']['compression'] = false;
>> $conf['memcache']['large_items'] = true;
>> $conf['memcache']['enabled'] = true;
>>
>> For caching PHP in general I use the pecl-package APC Version 3.1.9.
>>
>> You said that it would be the best way to help if I found in the
>> code where the error happens. Could you maybe advise me where to
>> start?
>> --
>> Viele Grüße
>> Jens
>>
>>
> I've spent over 20 hours trying to figure out where it happens. So,
> unfortunately, I don't have any other ideas where to tell you to look.
>
> mike
>
> Sent from mobile
>
> Jens Grüntjes <jens.gruentjes at ebira.de> wrote:
I'm very happy to say that after the upgrade to Horde_ActiveSync-2.1.2
ActiveSync works for me. As I didn't make any system updates in the
meantime I guess the "bug" that several members of the list
encountered hes been fixed.
Thanks a lot for this
--
Viele Grüße
Jens
More information about the horde
mailing list