[horde] Horde 5.1.1 problems with ActiveSync on Android

Jan Schneider jan at horde.org
Fri Jul 12 15:08:34 UTC 2013


Zitat von Tom Buehlmann <tomnet at tbuhl.ch>:

> Hello!
> Zitat von Daniel Ritter <daniel at daniel-ritter.de>:
>
>> Am 09.07.2013 23:48, schrieb Michael J Rubinsky:
>>>
>>> Quoting Daniel Ritter <daniel at daniel-ritter.de>:
>>>
>>>> I upgraded from 5.0.1 to 5.1.1 today.
>>>> Now Activesync doesn't work anymore as expected. Mail syncs fine,  
>>>> contacts and calendars do not.
>>>> I lost all contacts and calendars on the android devices. They  
>>>> are still available in Horde, but don't sync.
>
> Same Problem here. Everything syncs except the Contacts. This used  
> to work before.
>>>>
>>>> I am using two different Android clients for testing, both  
>>>> running different versions of Cyanogen Mod.
>>>> They used to sync fine with 5.0.1.
>>>
>>> Cannot reproduce. Works fine for me with numerous versions of  
>>> Android, both stock and CM.
>>>
>>> Any errors in the server log, horde log? What does the activesync log show?
>>>
>
> Not sure if this is the same problem;
> I tried to sync a turba adressbook with only one contact via activesync.
> The synclog stops after the provisioning is done. Nothing more is logged.
>
> The horde log shows:
> 2013-07-12T14:42:43+00:00 DEBUG: HORDE [turba] SQL  (0.0001s)
>         SELECT id_internal FROM horde_dav_collections WHERE id_external =
>           'contacts:mhI_BS8QiG-u93kS7Q97iw1' AND id_interface =  
> 'contacts' [pid 24515 on line 319 of  
> "/usr/share/php5/PEAR/Horde/Db/Adapter/Mysqli.php"]
> 2013-07-12T14:42:43+00:00 DEBUG: HORDE [turba] PHP ERROR: Argument 1  
> passed to Turba_Driver::search() must be an array, none given,  
> called in /srv/www/eyeos/horde4/turba/lib/Application.php on line  
> 683 and defined [pid 24515 on line 556 of  
> "/srv/www/eyeos/horde4/turba/lib/Driver.php"]
> 2013-07-12T14:42:43+00:00 DEBUG: HORDE  1.  
> Horde_Rpc_Webdav->getResponse() /srv/www/eyeos/horde4/rpc.php:156
>  2. Sabre\DAV\Server->exec() /usr/share/php5/PEAR/Horde/Rpc/Webdav.php:67
>  3. Sabre\DAV\Server->invokeMethod()  
> /usr/share/php5/PEAR/Sabre/DAV/Server.php:214
>  4. call_user_func() /usr/share/php5/PEAR/Sabre/DAV/Server.php:474
>  5. Sabre\DAV\Server->httpPropfind()
>  6. Sabre\DAV\Server->getPropertiesForPath()  
> /usr/share/php5/PEAR/Sabre/DAV/Server.php:720
>  7. Sabre\DAV\ObjectTree->getChildren()  
> /usr/share/php5/PEAR/Sabre/DAV/Server.php:1468
>  8. Sabre\CardDAV\AddressBook->getChildren()  
> /usr/share/php5/PEAR/Sabre/DAV/ObjectTree.php:117
>  9. Horde_Dav_Contacts_Backend->getCards()  
> /usr/share/php5/PEAR/Sabre/CardDAV/AddressBook.php:78
> 10. Horde_Registry->callAppMethod()  
> /usr/share/php5/PEAR/Horde/Dav/Contacts/Backend.php:119
> 11. call_user_func_array() /usr/share/php5/PEAR/Horde/Registry.php:1173
> 12. Turba_Application->davGetObjects()
> 13. Turba_Driver->search()  
> /srv/www/eyeos/horde4/turba/lib/Application.php:683
> 14. Horde_ErrorHandler::errorHandler()  
> /srv/www/eyeos/horde4/turba/lib/Driver.php:556

This is has nothing to do with AS. It's from a CardDAV request and  
harmless. Fixed in Git anyway.

> I'm syncing to a xperia z with android 4.2.2.
>>>
>>>
>>
>> I investigated a bit further.
>> Wiped my android, and just enabled contacts sync.
>> This happens when trying to sync contacts:
>>
>> http://pastebin.com/AF38BYS2
>>
>> Maybe this error is relevant?
>> (Line 180)
>> 2013-07-10T15:10:51+00:00 NOTICE: [8428] Error saving state for  
>> synckey {51dd790e-4830-4ca4-91e6-20ebc0a80102}2: QUERY FAILED:  
>> Duplicate entry '{51dd790e-4830-4ca4-91e6-20ebc0a80102}2' for key  
>> 'PRIMARY'
>>
>> This is how a request in Apache looks like:
>> Android ActiveSync Client is Android/4.1.2-EAS-1.3
>>
>> 62.143.158.113 - myserver.dyndns.org\\mailbox [10/Jul/2013:17:10:38  
>> +0200] "POST  
>> /Microsoft-Server-ActiveSync?Cmd=Sync&User=myserver.dyndns.org%5Cmailbox&DeviceId=androidc1491253035&DeviceType=Android HTTP/1.1" 200 585 "-"  
>> "Android/4.1.2-EAS-1.3"
>>
>> Because i completely wiped my phone I think it must be a change in  
>> Horde from 5.0.1 to 5.1.1 that broke it somehow for me.
>> It worked great for a long time before.
>>
>> Thanks for any input.
>>
> For the moment i sync my contacts via the new CardDav Service. This  
> works perfectly.
>>
>>
>>
>>
>>
>>
>> -- 
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list