christian-putzke / Roundcube-CardDAV

Roundcube CardDAV Plugin
http://www.graviox.de
GNU Affero General Public License v3.0
120 stars 28 forks source link

iCloud CardDAV Sync doesn't Sync all Contacts #53

Open 15Lam opened 11 years ago

15Lam commented 11 years ago

It Syncs only the first 28 Contacts and aborts. I can add and edit Contacts in Roundcube that successfully syncs to iCloud But it seems that it aborts while syncing a certain Card.

I checked these logs:

/var/www/roundcube/logs/errors /var/www/roundcube/logs/carddav.warn

But found nothing relevant

jlwasmer commented 11 years ago

How did you configure the iCloud account? I don't even get 1 single contact...

I used "https://contacts.icloud.com" as the server.

15Lam commented 11 years ago

See the Tutorial I wrote here, it is in German but you will find out how it works

https://help.architektur.tu-darmstadt.de/projects/help/wiki/Webmail#iCloud-Apple-CardDAV-Server

jlwasmer commented 11 years ago

I actually already tried this (found how to get it on some other site), in that case my URL is like: https://p06-contacts.icloud.com/XXXXXXXX/carddavhome (removed my ID here) and I also tried with "/card/" at the end of the URL (as seen elsewhere) and in both cases I get: "Can't connect to the CardDAV server"

It only works when I have not path (so https://p06-contacts.icloud.com or https://contacts.icloud.com). I then get "CardDAV server settings and vCards saved" but then there's nothing in my AddressBook and I can't add new contacts either.

15Lam commented 11 years ago

Did u try entering thd port 443?

https://p02-contacts.icloud.com:443/281425612/carddavhome

jlwasmer commented 11 years ago

Yes... that doesn't change the behaviour:

Btw, Blackberry's doc says to use "contacts.icloud.com" without any specific path: http://btsc.webapps.blackberry.com/btsc/viewdocument.do;jsessionid=7E372542DF008BB428242896462CF900?externalId=KB33812&sliceId=2&cmd=displayKC&docType=kc&noCount=true&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl

jlwasmer commented 11 years ago

Here's the log file:

Oct 22 08:55:27 host roundcube: v0.5.1 | carddav_server_id: 14 | Starting CardDAV-Addressbook synchronization Oct 22 08:55:27 host roundcube: v0.5.1 | carddav_server_id: 14 | Connected to the CardDAV-Server https://contacts.icloud.com Oct 22 08:55:27 host roundcube: v0.5.1 | carddav_server_id: 14 | No CardDAV XML-Element found! The CardDAV-Server seems to have no contacts Oct 22 08:55:27 host roundcube: v0.5.1 | carddav_server_id: 14 | all CardDAV-Data are synchronous, nothing todo! Oct 22 08:55:27 host roundcube: v0.5.1 | carddav_server_id: 14 | Syncronization complete!

jlwasmer commented 11 years ago

The plugin won't let me add the following server: https://contacts.icloud.com/XXXXXXXXX/carddavhome/card/ so added "https://contacts.icloud.com" and went into the DB to add the path manually. This way I get some log output when I synchronize... what I get is:

Oct 22 10:13:47 host roundcube: v0.5.1 | carddav_server_id: 15 | Starting CardDAV-Addressbook synchronization Oct 22 10:13:47 host roundcube: v0.5.1 | carddav_server_id: 15 | Couldn't connect to the CardDAV-Server https://contacts.icloud.com/XXXXXXXXX/carddavhome/card/

When trying a connection on that URL (manually, with curl) it does work:

xiongbao commented 6 years ago

image

Why this Configuration.plist file not in my folder?