Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Calendar Address iCloud Lightning Sync

Hi there,


haven't been able to find any solution for this issue yet:


I want to sync my iCloud Calendar with Mozilla Lightning (w/o using Google Calendar). Does anyone know where I can get the web address of my iCloud Calendar from? CalDAV, ICS, whatever.


Greets,

Lig

iPhone 4, iOS 5

Posted on Oct 19, 2011 10:55 PM

Reply
55 replies

Oct 26, 2011 1:07 AM in response to iWolfgang

one more remark. If Daniel's tool does not work for you or if you don't want to use it you also can assemble the URL by yourself if you have a Mac. The URL has to follow this scheme:


https://p0x-caldav.icloud.com/<user_id>/calendars/<calendar_id>/


like:


https://p01-caldav.icloud.com/1234567890/calendars/XXXXXXXX-YYYY-ZZZZ-AAAA-BBBBB BBBBBBB/


you find the id's by crawling thorough the directories and files in your /Users/<youruser>/Library/Calendars/...


The servername prefix (e.g. p01-) seems no to be important. It even can be omitted.


regards

Wolfgang

Feb 2, 2012 2:43 PM in response to The_Ligator

After all you find on the web is only half the truth, here's the real deal:


Go to

/Users/<youruser>/Library/Calendars/...

(that much is true (iWolfgang - thanks!))


Find out which of the xxx.caldav-Folders it the one of your iCloud-calendar (if you have multiple calendars like me):


The contained "Info.plist"-file should contain something like this:


<key>PrincipalURL</key>
<string>https://p0X-caldav.icloud.com/1234567890/principal/</string>


(if it contains something like "group.calendar.google.com" you're in the wrong folder ;-) )


Found the right folder? Fine!


So this is the URL to start (not ready yet!):

https://p0X-caldav.icloud.com/1234567890/


(The "X" should be a number, and "1234567890" should be some different ID (your ID))


Now check the sub-folders of the main-folder you found. Open the "Info.plist"-file again. You will find something like this:


<key>CalendarPath</key>
<string>/1234567890/calendars/work/</string>


(Example for your "work" folder)


Combine the infos you found to this URL:


https://p0X-caldav.icloud.com/1234567890/calendars/work/


This is the URL you got to use with Lightning (New calendar -> network -> choose "CalDAV" / address: see above)!


Enjoy!

Stephan

Feb 8, 2012 10:26 AM in response to BigLynx

BigLynx,


I don't know about iCloud on Windows, but I would first search my home-directory for a file containing "PrincipalURL" or "CalendarPath".


If this doesn't work there is a way to at least find out your "p0X"-Server and ID:


Use Safari and surf to the icloud.com Website. Log in and browse to the calendar. Now check the activity-window to find out about the URLs you are surfing.


You will find something like this:

https://p0X-calendarws.icloud.com/ca/idle?dsid=1234567890&clientVersion=...


(maybe you got to open the "https://www.icloud.com/applications/calendar/en-us/"-folder to find this link)


Once again you got to copy the "p0X"- and user-info to the target-URL:


https://p0X-caldav.icloud.com/1234567890/calendars/work/


Don't know how to find out about the calendar-name this way. Default for work is "work", default for home is "home"...


With this said: Tell your friend to buy a Mac.


Enjoy

Stephan

Feb 11, 2012 3:08 AM in response to The_Ligator

Hi guys,


thanks for your answers so far. Thanks to Stephan we are pretty close to the solution.


I was able to create the (probably) correct calendar URL by using the Safari activities way.

When using https://p0X-caldav.icloud.com/1234567890/calendars/#name#/ make sure to replace the "p0X" by the number you see in the activities windows (e.g. "p06"). As "#name" just use the name you gave to the respective calendar (e.g. "home", "work", "birthdays"). Case sensitivity is crucial at this point.


With this I get Lightning to even ask me about my AppleID and password (you might have to restart TB). Unfortunately that's the end of the line so far. No data is imported and lightning marks the calendars as "currently not available".


Any more ideas?

Feb 11, 2012 4:08 PM in response to The_Ligator

@The_Ligator:

Also make sure to replace the "1234567890" with your own user-ID ;-)


But since I think you did this: Which OS are you using? There's this hint by Thomas Hunt it wouldn't work with the current version of Thunderbird. Doesn't seem to apply to Mac OS Lion, but maybe to other OSes!??


What about the Thunderbird Error Console? Any hints there?

The message "p0X-caldav.icloud.com : server does not support RFC 5746, see CVE-2009-3555" doesn't seem to be a problem. I get this one all the time but doesn't stop my configuration from working...


Good luck!

Stephan

Calendar Address iCloud Lightning Sync

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.