[horde] CalDAV/CardDAV synchronization

Michael J Rubinsky mrubinsk at horde.org
Mon May 29 20:10:18 UTC 2017


Quoting Jan Schneider <jan at horde.org>:

> Please don't top-post.
>
> Zitat von Benedikt Bäumle <baeumle at dbvis.inf.uni-konstanz.de>:
>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Zitat von Benedikt Bäumle <baeumle at dbvis.inf.uni-konstanz.de>:
>>>
>>>> Dear Horde-Team,
>>>>
>>>> we have troubles using the CardDAV implementations.
>>>>
>>>> We are not able to sync with the Apple Address Book app (  
>>>> currently tested on mac OS Sierra ( 10.12.2 ) with Address Book  
>>>> App Version 10.0 ).
>>>>
>>>> From your wiki site I could find the information that it should  
>>>> work with the principles URL:
>>>>
>>>> https://host.de/rpc.php/principals/user
>>>>
>>>> I was able to connect an account with this URL, but the contacts  
>>>> did not show up. Also by using the URL for the address book itself:
>>>>
>>>> https://host.de/rpc.php/addressbooks/user/contacts-aksjklasjdkljaskldjklasjdkljalk/
>>>>
>>>> Both did not give me an error but were syncing nothing.
>>>>
>>>> The logs say the following:
>>>> 0.0.0.0 - - [23/May/2017:12:43:35 +0200] "PROPFIND  
>>>> /rpc.php/addressbooks/user/contacts~asndjKJASKJJKFJKASB[1]  
>>>> HTTP/1.1" 401 4185 "-" "Mac OS X/10.12.2 (16C67)  
>>>> AddressBook/1756.14.6"
>>>> 0.0.0.0 - user [23/May/2017:12:43:35 +0200] "PROPFIND  
>>>> /rpc.php/addressbooks/user/contacts~asndjKJASKJJKFJKASB[1]  
>>>> HTTP/1.1" 207 1804 "-" "Mac OS X/10.12.2 (16C67)  
>>>> AddressBook/1756.14.6"
>>>> 0.0.0.0 - - [23/May/2017:12:43:35 +0200] "OPTIONS  
>>>> /rpc.php/principals/user/[2] HTTP/1.1" 401 1165 "-" "Mac OS  
>>>> X/10.12.2 (16C67) AddressBook/1756.14.6"
>>>> 0.0.0.0 - user [23/May/2017:12:43:35 +0200] "OPTIONS  
>>>> /rpc.php/principals/user/[2] HTTP/1.1" 200 1531 "-" "Mac OS  
>>>> X/10.12.2 (16C67) AddressBook/1756.14.6"
>>>
>>> These look just fine.
>>>
>>>> In our apache config file we also added the redirect for  
>>>> autodiscovery which does not change anything:
>>>>
>>>> RedirectPermanent /.well-known/carddav /rpc.php
>>>>
>>>> If I take a look into the web interface  
>>>> under https://host.de/rpc.php/principals/baeumle I just find an  
>>>> empty directory. Is it supposed to be empty?
>>>
>>> Yes, it only contains meta data.
>>>
>>>> Did we miss something?
>>>>
>>>> If you need additional information please let me know. Thank you  
>>>> a lot in advance!
>>>>
>>>> Greetings,
>>>>
>>>> Benedikt
>>>
>>> There have been some problems with the Mac address book, most  
>>> notably with adding new contacts though. Did you check the mailing  
>>> list archives?
>>>
>> I could not find something similar in the mailing list archives.
>>
>> I got a free trial of the apps BusyCal and BusyContacts, both were  
>> able to fetch the data from a first sync ( using the principles URL  
>> ). I was also able to create and delete events/contacts on the  
>> client side and sync the changes afterwards. However  
>> creating/deleting events/contacts on the server side and syncing  
>> the changes afterwards was not possible. They just do not appear.
>>
>> Concerning BusyCal it is not a problem for me as the standard  
>> calendar app on my mac is working with the horde CalDAV  
>> implementation. But the problem with the Address Book app remains...
>>
>> Do you have the possibility to check if you are able to reproduce  
>> the problem I mentioned in the first mail?
>>
>> Our horde installation is currently installed with version 5.2.20.
>
> I don't have a Mac available at the moment unfortunately.

I can verify this behavior.

Tracing with Wireshark, I see the OPTIONS and PROPFIND requests. The  
latter is even responded to with a MULTI-STATUS response, but the  
actual application does not show the address book.

>
> -- 
> Jan Schneider
> The Horde Project
> https://www.horde.org/
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20170529/baa1f582/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 821 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20170529/baa1f582/attachment-0003.bin>


More information about the horde mailing list