Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Best I've done so far, despite a lot of editing of the configuration.plist file, is to get the CardDAV account to show in Address Book, without any warning triangles or exclamation marks, but no contacts downloaded from iCloud.

Had this slightly strange error message at one stage, after changing the syntax of the username/password combination:

Image

Two slightly unexpected things - first the fact that i now seem to have 2 CardDAV groups, one with a normal icon and the other with a blue "i" icon (does this mean I actually connected to the correct cloud server?). Secondly, the weird URL shown, seemingly two servers involved, and nothing like the server address shown in the plist file.

Stevep or j-dubya,

Can you please tell me what did you do or change to move beyond this? I am still getting the Server error and unable to sync any contacts. My config.plist file looks okay ans similar to both of yours.

Thanks!
 

Attachments

  • server error.jpg
    server error.jpg
    41.4 KB · Views: 690
OK...Fooling around with the server p-01-10 stuff..I was able to finally connect syn my contacts!!!! However with DUPLICATES and the they keep expanding more and more! Just like you guys. Will play around with the solution you posted!
 
Sorry that was a false alarm...I still get the duplicates so took off. Will keep trying! :(
 
Last edited:
Thanks for posting on this. After spending a good chunk of time on this, I'm still having about half of my contacts duplicating on my MBP (10.6.8) using this method. I've tried the steps listed, and I'm still getting duplicates. I'm not sure why it is that some of the cards are duplicating (each time I open Address Book) and some are fine. There doesn't seems to be rhyme or reason. I'm interested in knowing if you find out any more about this.
 
Let's see if I can say what I did in numbered steps...

1. I had iCloud contacts on my iPhone turned off.

2. I had iTunes sync my current contacts to the phone.

3. I created the Address Book iCloud account.

4. I quit Address Book

5. I did the changes to the Configuration.plist file - using Text Edit, not the Terminal method as I felt it was easier.

6. I opened Address Book and I let it connect to iCloud. Since I had contacts there previously, it downloaded those as they were on iCloud. No duplicates. I let it run until it was done, waiting for that little spinning icon that happens when it updates info.

7. I then turned on iCloud contacts on my iPhone, then allowed it to merge with the contacts that were on the iPhone and waited to see what would happen.

8. Address Book eventually started the little spinning icon again. This time I had a few duplicates show up. I waited until it finished.

9. I then looked at the first contact with duplicate cards.

10. I opened up iCloud in my browser and looked up that contact. It was never duplicated in the Cloud or on the iPhone. So, I decided to make a change in the "notes" section. Adding or removing something so I could see what would happen in Address Book.

11. I'd go back to Address Book and look at the contact I was dealing with, the icon would spin and I'd wait till it was done. I'd look at all the duplicates and found only one of them would change to match the edit I did on iCloud. Thus one card would be the same as the one I edited in iCloud.

12. I then deleted the cards in Address Book that no longer matched the info in iCloud.

13. Once I had deleted the duplicated cards on that contact I went back to Step 8 and looked for the next contact with duplicated cards.

I think it has something to do with having contacts already on iCloud, but not on on the iPhone. But really, I don't know why only some of my contacts duplicated - there was no real rhyme to it, it had nothing to do with groups or photos.

One thing to note, I did not use the "find duplicates" command. I'll repeat that, I DID NOT use the "find duplicates" command. I had nothing but problems when I did that. So don't do it. Is this a pain in the ass? Yes. Is it time consuming? Yes. Is it worth it for me to have spent the hour or so of time of doing this method of deleting duplicates? Yes. I now have a working cloud based version of Address Book and I can feel comfortable about across all my devices. That is until I get to Lion sometime in the future.
 
Please let me know on the progress on this because on my Mac after performing this operation - they keep coming back again!
 
Some success !!!!!

Just thought I'd share this with you all.

I've done a bit of work on this today to try get iCloud carddav working in Address Book 5 on Snow Leopard and I think I've established why I was getting some duplicates. This seems to have worked for me anyway.

PICTURES !!!

If the contact has a picture assigned to it, it seems Address Book 5 has an issue syncing with it and thinks it's a new contact!

When i set up iCloud carddav in Address Book 5 on Snow Leopard as per the above instructions, I was getting about 70 contacts out of 156 continually duplicating. I knew the quantity as I have a smart group in Address Book that tells me if a contact isn't in a custom group; which was strange as all my contacts are in custom groups! So I thought I'd see if groups were the culprit; by removing all contacts from groups then removing iCloud carddav settings from Address Book and re-added it; the duplication still occurred. This lead me to see if there was any other common denominator in the duplicating contacts; notes field, the new social field which can be found on iCloud, etc... I then realised all the duplicating contacts had pictures assigned to them!
So I removed the pictures from all contacts via the iPhone (using iOS 5 and iCloud), removed iCloud carddav settings from Address Book again and re-adding it.

NO DUPLICATING !!!

I didn't end there. I thought I would try and prove my theory. So in Address Book, I added a contact picture to one existing contact, let it sync to iCloud which it did. It synced the picture to icloud.com and then to my iPhone, all seemed good. But when Address Book refreshed the iCloud data, that one contact duplicated again, this time without the picture! So I removed the picture again, removed iCloud from Address Book and re-added again (just to keep things clean as when I first removed the picture the contact still kept duplicating)

Again NO DUPLICATING !!!

So in summary it seems that Address Book 5 has an issue reading the picture data from the contacts on iCloud and subsequently thinks it's a new contact and then duplicates it and removes it from the custom group the original contact was in. However it just duplicates it on the Mac, it doesn't seem to sync the duplicate back to iCloud. Very strange!

So for now I have Address Book syncing with iCloud with no duplication, but without pictures or any of the new iCloud contact fields like Twitter / Facebook profile, etc... as these just end up in the Notes field of Address Book 5 and when it syncs back to iCloud the fields are removed and no longer work as they should in iCloud or on the iPhone. I can live with this for now, but I do like the pictures feature as I like to see who's calling me by picture as well as their name/number displaying.

If anyone can resolve the picture issue then post back and let us all know how it's done, pretty please! :)

Alternatively, if an Apple employee is reading this, just do the fix in Address Book or give us long standing Apple fanatic some official iCloud syncing, at least for iCal, Contacts and Bookmarks.
 
Update to above post

After posting my last item item it seems my findings were rubbish :(

I created a simple test contact on the iPhone, just firstname, last name and mobile number and it duplicated again.

Grrrrrrrrrr !!!!!!

Back to the drawing board Goddamn it !!!!!! I thought I was onto something there !!! :mad::mad::mad:
 
This worked for me. I had to enter my password in the address book configuration setup under preferences in addition to it being in the configuration.plist file. I have had no problem with duplicates.

Also set this up on my laptop with no problems.

Tom
 
This worked for me. I had to enter my password in the address book configuration setup under preferences in addition to it being in the configuration.plist file. I have had no problem with duplicates.

Also set this up on my laptop with no problems.

Seems that I spoke too soon. If I edit a contact on either the laptop or the desktop, then that contact is duplicated on the other machine. e.g. if I edit a contact on the laptop, it is duplicated on the desktop and vice versa. This does not happen on either the iphone or the icloud online address book. Furthermore, every time the desktop or laptop syncs the contact is duplicated again.
 
So...the question is, why are some of us getting duplicates and some aren't?? I think there are a couple people here who has managed to get this working without the duplication issue...
 
Last edited:
Another good question might be, which is the 'master' copy? I started again following JD's numbered instructions. Again, no problem with synching, and definitely worthwhile clearing the address books on the iPad and iPod Touch to start with. But I have a few contacts that persist in duplicating, triplicating, quadrupling etc etc.
If I edit that contact in iCloud as JD suggests, then on the next synch that card is downloaded to the MBP, as expected. If I then delete the non-matching duplicates then all of them disappear, including the newly copied 'edited' version on the MBP and the copy on iCloud! But, if I search for the entry in iCloud it shows up. It also deletes it from the iPad and iPod Touch, but a search doesn't show the deleted entry on these two devices. Very strange.

On the plus side, I only seem to have about 6 of my contacts that are misbehaving at the moment - I'm sure JD is right when he says it is something to do with what is in the cloud already.
 
I have run into the same problem with adding a new contact. Such that the new contact would double itself on the computers but nowhere else. Then attempting to use my method to delete the double would result in it deleting itself everywhere, then leaving a non-syncing copy - very weird.

I'm currently attempting to figure out why that is. But then I'm not a programmer. Hopefully somewhere in the corners of the net will be the nugget of information that will solve this for those who need to remain on Snow Leopard.

My next goal is to see if someone has found a photostream hack... New thread for that of course.
 
Here's an interesting observation...

iCloud will sync contacts with photos to Address Book under the following two conditions. 1. If the contact is a "business" card and has a photo. or 2. If the card has a "relationship" tag to it and a photo.

In either of those two cases iCloud will sync the photo of the contact to the computer.

If the contact is added from the Computer with a photo and no relationship tag, then dragged onto the iCloud address book, the card won't sync the photo to the computer, but will to iCloud. Then it modifies the contact's "note" section with a long string of numbers and letter followed by ABperson. I have the feeling that is the 'photo' info.

I get the impression it's this "note" modification that causes the issue with duplicates. As it doesn't appear on iCloud or on the iPhone.

Also, I noticed that once a contact has sync'd to the computer from iCloud and the photo does show up, it's likely to duplicate when ever a change is made to any contact. However, it becomes really easy to delete those duplicates since they won't have a photo on the duplicate.

Weird to say the least.

I'm surprised that some enterprising programmer hasn't gone digging to see the difference in the code of Address Book between Snow Leopard and Lion to understand why the duplicates happen. Oh well.
 
Nice

First off j-dubya, nice work. Simple and works. One suggestion would be to archive a copy of your current "On my Mac" contacts for safe keeping, wipe your iCloud contacts clean (to eliminate the duplicate problem). Setup all your devices then drag and drop from "On my Mac" to the iCloud Address Book you setup. I did this exactly and not one duplicate after I had 10 of every person. Again thanks for do the leg work here.
 
Glad it worked for you.

I do have a question for you. Have you tried adding someone since you did this? Have you tried editing someone? Do you have multiple computers on Snow Leopard as well?
 
Hi everyone,

I am close but still not there yet. I tried cycling thru p1-9-contacts.icloud.com and it still will not connect. I get the error 404 message from the CardDAV server. Here is my configuration.plist file:

<key>_className</key>
<string>PHXCardDAVSource</string>
<key>addressBookName</key>
<string>addressbook</string>
<key>disabled</key>
<integer>0</integer>
<key>haveWriteAccess</key>
<integer>0</integer>
<key>isSharedABAccount</key>
<integer>1</integer>
<key>name</key>
<string>iCloud</string>
<key>refreshInterval</key>
<integer>0</integer>
<key>serverSupportsSearch</key>
<integer>1</integer>
<key>servername</key>
<string>https://p06-contacts.icloud.com:443/myicloudid/principal</string>
<key>username</key>
<string>myusername%40me.com:mypassword</string>
<key>usesKerberos</key>
<integer>0</integer>

In addition, I have my password manually entered into address book with port 443 and SSL on. I'm using 10.6.8 and address book version 5.03. I get the blue iCloud folder with nothing in it and the regular folder labeled iCloud as well with the server error 404.

One thing that I think is weird is why in the error message's URL is it listing both the p-06 and p-04 server's addresses? I only have p-06 specified in both my config file and inside address book? It is stored somewhere else that I need to change?

Thanks! I have iCal working great with iCloud now just my address book and I'll be happy. :)
 
A drag indeed j-dubya !

Unfortunately I will need to turn off iCloud contacts. For some reason I can not get it to stop duplicating contacts.

Even after removing all groups, Address Book kept duplicating. It reached 9 duplicates for each card. It locks up the computer. I then tried starting fresh again. No duplicates. I went on iCloud to edit the few double cards from pictured contacts. All of a sudden for each edit it would duplicate each card in the Address Book on the computer.

Obviously there is an issue between Snow Leopard and Address Book.

What a drag to have to go back to manual syncing of contacts.

I have been trying to get my iCal to sync with my iMac 10.6.8, iPhone 4s, iPad 2 and what I succeeded at was getting a migraine. It is a drag that Apple whomever has truly dropped the ball on this. I could not update to the Lion OS because I work virtually and Lion is not updated as of yet with the comany I am contracted with. Also a bummer that the biggest use for me is the iCal :(
Guess I will pull out my dusty franklin planner,, buy a refill and use that for now,,, cuz my head is pounding,,,, As much as I love my iDevices,, I hate the fact that Apple whomever seems to do this often,, I sure hope they change their "business strategy" cuz eventually people will get tired of getting used to doing things a certain way only to have Apple whomever sweep it away from them... big example "mobileme a/cs"
Thinking once the update is released I will stay put ,,, it's just too frustrating and not worth it anymore,,,
Thank you to all the bloggers sharing their information ,,,,This is where I run to when I need help with any of my iDevices,,,, Truly and sincerely,,,THANKS !!! Good Luck to all and hope that the release I have read about today, which will allow us to sync iCal alot smoother, will arrive real soon,,,,
p.s. seems like we are always waiting for something to be released from Apple whomever,,,,, grrr lolll :)
 
Last edited:
No luck

With j-dubya's suggestions, I added a relationship to the contacts that have pictures. I created the account on the Snow leopard machine and it added everything fine. No pictures or relationship field showed up. i quit Address book and reopened. And surprise: the same contacts began duplicating.

At this point, I am so stymied. I have the calendar working in both directions seamlessly. I just need address book to follow.

All of this would be easily solved, if Apple would release an update for 10.6 which includes iCloud sync.

Anymore solutions, I am game to try.

Thank you for all of the suggestions so far,

Debbie
 
How to find unique id 2

hi there,

for those still stuck at finding their unique id:
go to
http://developer.apple.com/icloud/index.php

and 'sign in' with your apple id.

Assuming that you are not already a developer:
You will be redirected to a registration form.
The unique id associated with your apple id will be displayed as 'Person ID'

hope this helps
 
Hello everyone,

It still seems that some of us have got this working without any problems, and some have got it to work but with the duplicating issue! I was scrolling through a few websites and I found a possible solution that (correct me if I'm wrong) I think hasn't been tried here in this forum:

Once all the setting up has been done, (as previously explained) and the first sync is performing...

"Open Address Book, iCloud should be Syncing!

Once this has been done you will start to see duplicates, this is beacuse the sync is adding contacts from 'on my mac' to iCloud. You will need to let it sync once and then remove the contacts from the 'on my mac' folder to stop them duplication".

This solution has been quoted from this site - http://apple.stackexchange.com/questions/29832/can-you-sync-address-book-to-icloud-on-snow-leopard

I have not tried this yet but maybe some of you can try it. I will check it out later today and post my results!
 
Last edited:
As a side note... Has anyone that has set up syncing with iCal noticed that you now have two calendars syncing with iCloud? Even though it was just one that was setup! - one has the @me.caldav info and the other, just says iCloud. Both have got BLUE labels! Can this be early signs of Apple adding iCloud functionality for Snow Leopard???
 
Hello everyone,

It still seems that some of us have got this working without any problems, and some have got it to work but with the duplicating issue! I was scrolling through a few websites and I found a possible solution that (correct me if I'm wrong) I think hasn't been tried here in this forum:

Once all the setting up has been done, (as previously explained) and the first sync is performing...

"Open Address Book, iCloud should be Syncing!

Once this has been done you will start to see duplicates, this is beacuse the sync is adding contacts from 'on my mac' to iCloud. You will need to let it sync once and then remove the contacts from the 'on my mac' folder to stop them duplication".

This solution has been quoted from this site - http://apple.stackexchange.com/questions/29832/can-you-sync-address-book-to-icloud-on-snow-leopard

I have not tried this yet but maybe some of you can try it. I will check it out later today and post my results!

i've just tried this method. it still doesn't work. really messy. it duplicated all the data and after i deleted on my mac contacts, it erased my icloud's contacts too.

thanks for the info thou, worth trying ;)
 
Hi there Longtran. I actually was trying last night for some reason I couldn't go beyond configuration of the account on my Mac. Kept getting the can't connect to server error. Strange as I've done this many times before but because the duplicating issue I've always just deleted the account. I was hoping to try this 'new' method but as I said it couldn't connect to the server. I had all the correct settings!

Oh well... since you said it doesn't work, not sure I will bother. When you said you deleted 'On My Mac' account...did you actually go into the preference pane and select the Remove Account option? with the minus symbol? Not sure why doing that would remove from the iCloud too.
 
As a side note... Has anyone that has set up syncing with iCal noticed that you now have two calendars syncing with iCloud? Even though it was just one that was setup! - one has the @me.caldav info and the other, just says iCloud. Both have got BLUE labels! Can this be early signs of Apple adding iCloud functionality for Snow Leopard???

I think you'll find that iCloud separates tasks from events and puts them in separate 'calendars' so one will be called i.e. 'Home' and have events in and the other also called 'Home' and has tasks in. As a result in iCal you can only enter tasks in the tasks 'Home' calendar and events in the events 'Home' calendar.

I just renamed the calendars in iCal to 'To Dos' and 'Home' to differentiate them.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.