[horde] CalDAV/CardDAV synchronization

Benedikt Bäumle baeumle at dbvis.inf.uni-konstanz.de
Wed May 31 11:19:17 UTC 2017


> Am 31.05.2017 um 03:15 schrieb Michael J Rubinsky <mrubinsk at horde.org>:
> 
> 
> Quoting Benedikt Bäumle <baeumle at dbvis.inf.uni-konstanz.de <mailto:baeumle at dbvis.inf.uni-konstanz.de>>:
> 
>> Am 30.05.2017 21:37 schrieb Michael J Rubinsky <mrubinsk at horde.org>:
>>> 
>>> 
>>> Quoting Benedikt Bäumle <baeumle at dbvis.inf.uni-konstanz.de>:
>>> 
>>> >> Am 29.05.2017 um 22:10 schrieb Michael J Rubinsky <mrubinsk at horde.org>:
>>> >>
>>> >>
>>> >> 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.
>>> >
>>> > Thank you for checking out!
>>> >
>>> > The contact app on my mac is giving me the following logs. ( log 
>>> > file attached ). There are some errors at the beginning…
>>> 
>>> Those are Cocoa errors from the OS, nothing you can do about those, 
>>> but shouldn't be affecting the operation of the app.
>>> 
>>> It shows the "Favorites" address book attempting to be synchronized. 
>>> Try temporarily disabling that address book to see if it causes your 
>>> main address book to sync.
>> 
>> How? As described here:
>> http://horde.horde.narkive.com/1TikRGIC/remove-favourite-recepients
> 
> Just set it to inactive in backends[.local].php

It did the trick indeed!! I can add contacts from client to server. But when I try to add a contact in the horde webmail program the contact is not syncing back to my contacts app. The same behavior occurs using the apps BusyCalendar ( with events ) and BusyContacts. I am further investigating.

> 
> 
>> 
>>> 
>>> but I can not
>>> > really figure out what it means. Do you get some insights from it?
>>> 
>>> 
>>> 
>>> --
>>> mike
>>> The Horde Project
>>> http://www.horde.org
>>> https://www.facebook.com/hordeproject
>>> https://www.twitter.com/hordeproject
>> --
>> 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 <http://www.horde.org/>
> https://www.facebook.com/hordeproject <https://www.facebook.com/hordeproject>
> https://www.twitter.com/hordeproject <https://www.twitter.com/hordeproject>
> <Mail-Anhang>-- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/ <http://horde.org/faq/>
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org <mailto:horde-unsubscribe at lists.horde.org>


More information about the horde mailing list