Closed Bug 695117 Opened 13 years ago Closed 13 years ago

No access to Apple iCloud calendars with TB/Lightning

Categories

(Calendar :: Lightning Only, defect)

Lightning 1.0b7
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: danielsun.gm86, Assigned: nomisvai)

References

Details

Attachments

(2 files)

Attached image Error connection
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

I went to this Page to get the Calendar URLs for my iCloud Account:
http://icloud.niftyside.com/ (This Page doesn´t save your iTunes Data)
After that I got a URL like:
https://p01-caldav.icloud.com/XXXXXXXXX/calendars/home/ for one of the calendars. This URL information covers with my own research to build the URL by myself.(Infos from iCal + some xml files)

So next I added this URL to Lightning(1.0b7). All seems good and lighting wanted my login username and password.



Actual results:

Calendar is not available


Expected results:

Successfully access to my icloud calendar
Possibly related to bug 694753?
Component: General → Lightning Only
Product: Thunderbird → Calendar
QA Contact: general → lightning
Version: 7 → Lightning 1.0b7
maybe I don´t know. But bug 694753 is also added by me...
Thanks for pointing this out, I've missed that. I moved your bug into the Calendar category though, thus it will hopefully get the attention of the Lightning people to verify if it's the same issue or something different.
ok thanks rsx11m!
OK as far as I can see, Lightning connects successfully to the calendar but have then problems reading the ics-file. In my Screenshot the XXX-XXXXXX-XXXXXXX.ics is a test entry and this one can´t be read...
Severity: normal → major
Hardware: x86 → All
Same problem here.
Strangely it's working perfect, if I add this calendar in Sunbird (1.0b1)
Do you see any errors reported in Tools > Error Console? If yes please copy and paste them here. In a 2nd test you could set the advanced preferences "calendar.debug.log" or "calendar.debug.log.verbose" or both to true and check the Error Console for more verbose information.
Is there any way to get an iCloud account without iOS 5 or Mac OS X 10.7.2? So others could test this?
The problem is with the sync-collection structure in lightning 1.0b7. I did that to work:

modify lightning internal files

file : components/calDavCalendar.js
    comment line 1305.

file : calendar-js/calDavRequestHandlers.js 
    insert code: break;  on line 576   
 
go to this site to get your urls to calendars and task http://icloud.niftyside.com/

Something for contacts ?
Hmm although that might work, its not really an acceptable fix. It seems you are circumventing webdav-sync support fully that way. It would be better to find out why the icloud servers are advertising webdav-sync and more importantly, why our webdav-sync support doesn't work with icloud. Nevertheless, thanks for the workaround.


Felix, you may be able to sign in with your apple ID from the iTunes.
Yes its not a fix.
I think i found the problem.
on file calendar-js/calDavRequestHandlers.js  on function wH_endElement, the code implemented in response-sync(that is no more implemented Collection Synchronization for WebDAV draft-daboo-webdav-sync-06 ) was not put refs in itemsNeedFetching array. so the process never get to multiget function.

So
file : components/calDavCalendar.js
    not comment line 1305.

On file calendar-js/calDavRequestHandlers.js 
from line 574 a put this code:

            //case "response": // WebDAV Sync draft 3
            //     break;
            case "response": // WebDAV Sync draft 0,1,2
                let r = this.currentResponse;
                // Deleted item
                if (r.href && r.href.length &&
                    r.status &&
                    r.status.length &&
                    r.status.indexOf(" 404") > 0) {
                    if (this.calendar.mPathIndex[r.href]) {
                        this.changeCount++;
                        this.calendar.deleteTargetCalendarItem(r.href);
                    }
                    else {
                        cal.LOG("CalDAV: skipping unfound deleted item : " + r.href);
                    }
                }
                else if (r.href &&
                    r.href.length) {
                    r.href = this.calendar.ensureDecodedPath(r.href);
                    this.itemsNeedFetching.push(r.href);
                    break;
                // Only handle Created or Updated calendar items
                } else if (r.getcontenttype &&
    
With this code the Icloud works fine with  webdav-sync ( Collection Synchronization for WebDAV)
Your first solution works for me perfect, but the second one seems to work with my iCloud calendars but my oracle beehive and gmail calendars stopped working...so far i stay at your first mentioned fix.
I suspect getcontenttype does not contain the expected "text/calendar" and this is why it's not working, could someone add the trace of a session?

1) Install Console2 addon: https://addons.mozilla.org/en-US/firefox/addon/console%C2%B2/
2) Set both preferences calendar.debug.log and calendar.debug.log.verbose to true
3) Restart thunderbird
4) After the error, go to Tools->Error Console, Ctrl-A to select all lines and copy that to a text file that you attach to this bug.

Thanks
Hi

1.0b7 and thunderbird 7.01.. I can set up events with this on icloud calendar, butnot read them

does the enclosed error console output help? (there were many lines like the first warning line prior to the error line.

If you need any test help I would be happy to oblige ..  it would be a great help to have this behaving.

BTW sunbird 1.0b1 does apprae to work satisfactorily with the same url with no errors shown on its standard error console

setting up calendar event (successfully): 

p02-caldav.icloud.com : server does not support RFC 5746, see CVE-2009-3555


reading calendar:
<snip>
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/fb98a60a-e9b0-4bd2-a47d-c0e78776b13f.ics

Error: Assert failed: unexepcted endBatch!
2: [resource://calendar/modules/calProviderUtils.jsm:652] cPB_endBatch
3: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/John/AppData/Roaming/Thunderbird/Profiles/1hzpmwy6.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDavRequestHandlers.js:495] wH_endDocument
4: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/John/AppData/Roaming/Thunderbird/Profiles/1hzpmwy6.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDavRequestHandlers.js:454] wSL_onStopRequest

Source File: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/John/AppData/Roaming/Thunderbird/Profiles/1hzpmwy6.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 982

Warning: There has been an error reading data for calendar: JohnB.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_REPORT_ERROR. Description: There has been an error reading data for calendar: https://thejb%40me%2Ecom@p02-caldav.icloud.com/1428155234/calendars/home/. It has been disabled until it is safe to use it.

Warning: There has been an error reading data for calendar: JohnB.  However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description: 


thanks

John
I ought to add, this is on Windows 7 .. sorry
Hi John, if you could do what I describe in comment 13 it would be very helpful, what I  need to see is the actual response from the server (which should be in the error console if you enable the calendar trace). Thanks.
Hi Simon.. happy to do so.. really dumb question though.. where do I go to set these preferences please? .. thanks

John
Hi,
translating from the german version so it might be a little different for you.

Go to Edit -> Preferences -> Advanced/Extended -> Edit Configuration -> I will pay attention ... ;)
have fun with this.. this is what appeared following clicking login for the calendar JohnB. hope this is a help.. thanks

John

CalDAV: send: <D:propfind xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/" xmlns:C="urn:ietf:params:xml:ns:caldav">
  <D:prop>
    <D:resourcetype/>
    <D:owner/>
    <D:supported-report-set/>
    <C:supported-calendar-component-set/>
    <CS:getctag/>
  </D:prop>
</D:propfind>
 ----------
p02-caldav.icloud.com : server does not support RFC 5746, see CVE-2009-3555
 ----------
CalDAV: Status 207 on initial PROPFIND for calendar JohnB
 ----------
CalDAV: Authentication scheme for JohnB is Basic
 ----------
CalDAV: recv: <?xml version='1.0' encoding='UTF-8'?>
<multistatus xmlns='DAV:'>
  <response>
    <href>/1428155234/calendars/home</href>
    <propstat>
      <prop>
        <owner>
          <href>/1428155234/principal/</href>
        </owner>
        <supported-report-set>
          <supported-report>
            <report>
              <acl-principal-prop-set/>
            </report>
          </supported-report>
          <supported-report>
            <report>
              <principal-match/>
            </report>
          </supported-report>
          <supported-report>
            <report>
              <principal-property-search/>
            </report>
          </supported-report>
          <supported-report>
            <report>
              <expand-property/>
            </report>
          </supported-report>
          <supported-report>
            <report>
              <sync-collection/>
            </report>
          </supported-report>
          <supported-report>
            <report>
              <calendar-query xmlns='urn:ietf:params:xml:ns:caldav'/>
            </report>
          </supported-report>
          <supported-report>
            <report>
              <calendar-multiget xmlns='urn:ietf:params:xml:ns:caldav'/>
            </report>
          </supported-report>
          <supported-report>
            <report>
              <free-busy-query xmlns='urn:ietf:params:xml:ns:caldav'/>
            </report>
          </supported-report>
        </supported-report-set>
        <supported-calendar-component-set xmlns='urn:ietf:params:xml:ns:caldav'>
          <comp name='VEVENT'/>
        </supported-calendar-component-set>
        <getctag xmlns='http://calendarserver.org/ns/'>FT=-@RU=8231fa9a-c4ea-4787-9492-ad5f17afa003@S=146</getctag>
        <resourcetype>
          <shared-owner xmlns='http://calendarserver.org/ns/'/>
          <calendar xmlns='urn:ietf:params:xml:ns:caldav'/>
          <collection/>
        </resourcetype>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>
</multistatus>
 ----------
CalDAV: Collection has webdav sync support
 ----------
Adding supported item: VEVENT for calendar: JohnB
 ----------
CalDAV: send: OPTIONS https://thejb%40me%2Ecom@p02-caldav.icloud.com/1428155234/calendars/
 ----------
CalDAV: DAV header: 1, access-control, calendar-access, calendar-schedule, calendar-auto-schedule, calendarserver-sharing, calendarserver-subscribed, calendarserver-principal-property-search
 ----------
CalDAV: Calendar JohnB supports calendar-auto-schedule
 ----------
CalDAV: send: PROPFIND https://thejb%40me%2Ecom@p02-caldav.icloud.com/1428155234/principal/
<D:propfind xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
  <D:prop>
    <C:calendar-home-set/>
    <C:calendar-user-address-set/>
    <C:schedule-inbox-URL/>
    <C:schedule-outbox-URL/>
  </D:prop>
</D:propfind>
 ----------
CalDAV: recv: <?xml version='1.0' encoding='UTF-8'?>
<multistatus xmlns='DAV:'>
  <response>
    <href>/1428155234/principal/</href>
    <propstat>
      <prop>
        <calendar-home-set xmlns='urn:ietf:params:xml:ns:caldav'>
          <href xmlns='DAV:'>https://p02-caldav.icloud.com:443/1428155234/calendars/</href>
        </calendar-home-set>
        <calendar-user-address-set xmlns='urn:ietf:params:xml:ns:caldav'>
          <href xmlns='DAV:'>urn:uuid:1428155234</href>
          <href xmlns='DAV:'>/1428155234/principal/</href>
          <href xmlns='DAV:'>mailto:thejb@me.com</href>
        </calendar-user-address-set>
        <schedule-inbox-URL xmlns='urn:ietf:params:xml:ns:caldav'>
          <href xmlns='DAV:'>/1428155234/calendars/inbox/</href>
        </schedule-inbox-URL>
        <schedule-outbox-URL xmlns='urn:ietf:params:xml:ns:caldav'>
          <href xmlns='DAV:'>/1428155234/calendars/outbox/</href>
        </schedule-outbox-URL>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>
</multistatus>
 ----------
CalDAV: send(https://thejb%40me%2Ecom@p02-caldav.icloud.com/1428155234/calendars/home/): <?xml version="1.0" encoding="UTF-8"?>
<sync-collection xmlns="DAV:">
  <sync-token/>
  <prop>
    <getcontenttype/>
    <getetag/>
  </prop>
</sync-collection>
 ----------
CalDAV: webdav-sync Token: null
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/0248C229-BF2E-4F6C-A96A-A5CA422F15BF.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/040000008200E00074C5B7101A82E00800000000E0778B66760DCC01000000000000000010000000B773FBEB5252814991D8E9F5123C98E1.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/0DCA3E8A-1090-4788-8456-048CADCB081F.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/140E239C-6C7F-4AE2-AFCC-877605370C9C.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/232C607B-FB85-4CF4-8BB1-1D214CF06E82.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/261563CC-2D59-41D8-A6EF-ADBC6C86967F.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/270C7EBE-99F9-4BA9-A4F1-0C9FC44CDB9C.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/27776913-2DCF-46A7-98FB-D9B88590C492.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/348520b1-f060-4f75-a839-ff6c59ee2e41.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/3791E013-DB4E-4BF7-83D6-022D29084EC7.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/37CE5EE7-03D0-413F-8061-B93577703119.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/39d7056c-b895-490a-967e-c180b8f1ec39.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/3ed447d2-abd6-4ff5-8cf6-4a2b9c32b60e.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/4182F808-8078-4D68-B70D-138AAE6A0112.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/41ae77be-71e0-465e-aacd-a0f6ee102506.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/43528EFF-D7DF-4948-A8DF-E1B90244CD5D.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/45b7a5da-8b1e-4b63-b42b-884f1c361b15.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/4865A103-10F6-4A5F-A5EC-1CE6AB4F80F6.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/4DDFD9BC-0FC4-4E48-B581-0310EBE50607.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/4a23044c-61df-4a65-8e70-177fd4129be5.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/591a41e2-917a-4922-9daf-4ab24736b81b.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/5CDAEC75-8BF8-4CE0-A92B-A823BC9A6522.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/5ea643f3-5ccb-4829-8a77-558bc07bfde1.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/65F48AB3-B69D-4E25-994E-51616821BD6B.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/66336459-b3eb-47a1-83a4-ac83295dff83.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/6D393614-0372-4710-ACEC-87424BF1F548.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/70123516-1B30-45D6-B87E-DFBE5ABDF120.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/723B95D9-1F5C-4C48-9C77-2813460AE5F7.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/75321E1C-1B51-45B7-9771-D2E7AE3D7EC9.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/7825968d-58f8-4d8a-9ab8-137de0e49b43.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/7A78CA39-85E0-405B-8D0C-758689C218E6.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/7ea76d73-eb7b-4e43-8e20-fcb4f503bbd5.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/805a190d-3e76-45fe-ba56-684d6df31b0e.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/80BF546C-4DB4-464B-BBFF-49DCF751D67D.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/81ddb408-7620-47b9-b683-e2b801fecff1.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/8734667a-b331-444a-a9d1-e21e8abdb2c4.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/87626B08-B2B4-4810-8B7A-959D2F23B2D9.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/89721A1B-72FF-4AB6-80D9-72C728B5FB0B.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/89d1b6d1-0ee9-4a30-9686-a5656faee81e.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/8A25B221-C857-4A07-8406-F1C9226096CC.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/98536678-B61F-4603-A261-CB7C0A3007F3.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/9a182d9b-3c3a-44ff-8aa4-fbcd0e286127.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/A70BF82A-0384-4C15-857B-12F475A314CD.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/AA96969C-6489-4BE2-9E63-D6E01D97C1F7.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/AE74E727-A447-4972-A8F5-097D34AFBEDD.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/B9CBFC80-08E5-42B0-A51F-B788EF1D33B3.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/CB78154F-69CA-48DD-9480-84C9AC410BE3.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/CC76BB9E-1BF4-4A9F-B4CE-F31E8F0A77B1.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/DA6201D8-409D-46D2-8463-F08BA8A19346.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/F5D6ACE5-D9DF-4035-9F42-371DFD08A376.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/F68CAD73-2535-4D3C-9DC3-0915436AF719.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/FD2DC37D-0D8E-4519-B59E-41EA3959D502.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/FE450273-396E-4DE0-91CC-91749DC3743F.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/FF84B800-A109-4B83-BD50-3B29602D0A4D.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/c2b9508f-af36-4b6c-bebf-5c4703912c8a.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/c6536192-a7a1-49c8-9c1a-6e31269a6a4d.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/ca833825-a701-4a00-8ff5-4ed8c3870654.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/d30506fa-a438-4b99-a1f7-136f9d35d559.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/d848580b-b0b5-4073-aa07-8b4ba4ec9e21.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/fa1a53c5-3169-4ccd-9591-d31109d9ae56.ics
 ----------
Warning: CalDAV: Unexpected response, status: HTTP/1.1 200 OK, href: /1428155234/calendars/home/fb98a60a-e9b0-4bd2-a47d-c0e78776b13f.ics
 ----------
CalDAV: recv: <multistatus>
  <response>
    <href>/1428155234/calendars/home/0248C229-BF2E-4F6C-A96A-A5CA422F15BF.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=141@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/040000008200E00074C5B7101A82E00800000000E0778B66760DCC01000000000000000010000000B773FBEB5252814991D8E9F5123C98E1.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=65@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/0DCA3E8A-1090-4788-8456-048CADCB081F.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=24@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/140E239C-6C7F-4AE2-AFCC-877605370C9C.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=144@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/232C607B-FB85-4CF4-8BB1-1D214CF06E82.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=68@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/261563CC-2D59-41D8-A6EF-ADBC6C86967F.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=59@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/270C7EBE-99F9-4BA9-A4F1-0C9FC44CDB9C.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=31@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/27776913-2DCF-46A7-98FB-D9B88590C492.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=62@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/348520b1-f060-4f75-a839-ff6c59ee2e41.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=23@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/3791E013-DB4E-4BF7-83D6-022D29084EC7.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=26@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/37CE5EE7-03D0-413F-8061-B93577703119.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=63@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/39d7056c-b895-490a-967e-c180b8f1ec39.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=42@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/3ed447d2-abd6-4ff5-8cf6-4a2b9c32b60e.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=142@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/4182F808-8078-4D68-B70D-138AAE6A0112.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=55@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/41ae77be-71e0-465e-aacd-a0f6ee102506.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=30@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/43528EFF-D7DF-4948-A8DF-E1B90244CD5D.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=46@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/45b7a5da-8b1e-4b63-b42b-884f1c361b15.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=34@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/4865A103-10F6-4A5F-A5EC-1CE6AB4F80F6.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=32@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/4DDFD9BC-0FC4-4E48-B581-0310EBE50607.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=17@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/4a23044c-61df-4a65-8e70-177fd4129be5.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=25@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/591a41e2-917a-4922-9daf-4ab24736b81b.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=136@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/5CDAEC75-8BF8-4CE0-A92B-A823BC9A6522.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=50@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/5ea643f3-5ccb-4829-8a77-558bc07bfde1.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=44@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/65F48AB3-B69D-4E25-994E-51616821BD6B.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=92@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/66336459-b3eb-47a1-83a4-ac83295dff83.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=43@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/6D393614-0372-4710-ACEC-87424BF1F548.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=57@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/70123516-1B30-45D6-B87E-DFBE5ABDF120.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=139@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=146@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/723B95D9-1F5C-4C48-9C77-2813460AE5F7.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=38@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/75321E1C-1B51-45B7-9771-D2E7AE3D7EC9.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=27@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/7825968d-58f8-4d8a-9ab8-137de0e49b43.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=51@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/7A78CA39-85E0-405B-8D0C-758689C218E6.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=18@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/7ea76d73-eb7b-4e43-8e20-fcb4f503bbd5.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=19@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/805a190d-3e76-45fe-ba56-684d6df31b0e.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=64@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/80BF546C-4DB4-464B-BBFF-49DCF751D67D.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=56@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/81ddb408-7620-47b9-b683-e2b801fecff1.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=40@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/8734667a-b331-444a-a9d1-e21e8abdb2c4.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=49@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/87626B08-B2B4-4810-8B7A-959D2F23B2D9.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=66@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/89721A1B-72FF-4AB6-80D9-72C728B5FB0B.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=41@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/89d1b6d1-0ee9-4a30-9686-a5656faee81e.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=22@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/8A25B221-C857-4A07-8406-F1C9226096CC.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=35@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/98536678-B61F-4603-A261-CB7C0A3007F3.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=33@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/9a182d9b-3c3a-44ff-8aa4-fbcd0e286127.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=133@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/A70BF82A-0384-4C15-857B-12F475A314CD.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=21@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/AA96969C-6489-4BE2-9E63-D6E01D97C1F7.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=20@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/AE74E727-A447-4972-A8F5-097D34AFBEDD.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=28@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/B9CBFC80-08E5-42B0-A51F-B788EF1D33B3.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=145@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/CB78154F-69CA-48DD-9480-84C9AC410BE3.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=60@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/CC76BB9E-1BF4-4A9F-B4CE-F31E8F0A77B1.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=47@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/DA6201D8-409D-46D2-8463-F08BA8A19346.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=53@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/F5D6ACE5-D9DF-4035-9F42-371DFD08A376.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=74@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/F68CAD73-2535-4D3C-9DC3-0915436AF719.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=36@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/FD2DC37D-0D8E-4519-B59E-41EA3959D502.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=48@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/FE450273-396E-4DE0-91CC-91749DC3743F.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=29@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/FF84B800-A109-4B83-BD50-3B29602D0A4D.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=91@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/c2b9508f-af36-4b6c-bebf-5c4703912c8a.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=61@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/c6536192-a7a1-49c8-9c1a-6e31269a6a4d.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=54@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/ca833825-a701-4a00-8ff5-4ed8c3870654.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=137@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/d30506fa-a438-4b99-a1f7-136f9d35d559.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=45@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/d848580b-b0b5-4073-aa07-8b4ba4ec9e21.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=67@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/fa1a53c5-3169-4ccd-9591-d31109d9ae56.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=37@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

  <response>
    <href>/1428155234/calendars/home/fb98a60a-e9b0-4bd2-a47d-c0e78776b13f.ics</href>
    <status>HTTP/1.1 200 OK</status>
    <propstat>
      <prop>
        <getetag>"C=58@U=8231fa9a-c4ea-4787-9492-ad5f17afa003"</getetag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
  </response>

<sync-token>FT=-@RU=8231fa9a-c4ea-4787-9492-ad5f17afa003@S=146</sync-token>
</multistatus>

 ----------
Error: Assert failed: unexepcted endBatch!
2: [resource://calendar/modules/calProviderUtils.jsm:652] cPB_endBatch
3: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/John/AppData/Roaming/Thunderbird/Profiles/1hzpmwy6.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDavRequestHandlers.js:495] wH_endDocument
4: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/John/AppData/Roaming/Thunderbird/Profiles/1hzpmwy6.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDavRequestHandlers.js:454] wSL_onStopRequest

Source file: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/John/AppData/Roaming/Thunderbird/Profiles/1hzpmwy6.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 982
 ----------
Warning: There has been an error reading data for calendar: JohnB.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_REPORT_ERROR. Description: There has been an error reading data for calendar: https://thejb%40me%2Ecom@p02-caldav.icloud.com/1428155234/calendars/home/. It has been disabled until it is safe to use it.
 ----------
Warning: There has been an error reading data for calendar: JohnB.  However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description:
This is a tentative patch for adding iCloud support, from the iCloud responses in the previous comment I see that the server returns an unexpected status 200 for each response elements as well as no content-type to help identify calendar resources. Note that I am very limited in the amount I can put into this so I hope someone can pick up this patch and test it and/or make some adjustments if needed. Thanks.
Attachment #572479 - Flags: review?(philipp)
Comment on attachment 572479 [details] [diff] [review]
Untested patch for iCloud support

This patch works great for me, I've tested using my iCloud account. r=philipp
Attachment #572479 - Flags: review?(philipp) → review+
While we are here, we might want to fix bug 582089. Lets add a special case if the filename contains .ics and the content type is text/plain.
Assignee: nobody → nomisvai
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Hi

for what it is worth, can anyone supply me with a build containing this patch to work on tb 7.0.1 to try? .. I haven't set up anu suitable build environment ..

Many thanks

Joh
Pushed to comm-central changeset 8c470c364b6a
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
OS: Mac OS X → All
Resolution: --- → FIXED
Target Milestone: --- → Trunk
John, unfortunately you will have to apply the patch to 1.0b7 yourself if you need this. Otherwise, you'll have to wait until this hits the nightly builds. The merging should happen today, so if you wait a few days then this fix will be contained in 1.2a2 (Tb10) and 1.3a1 (Tb11). We may consider backporting this to 1.1
@Philipp, So do I presume from your last comment that there will be no more nightly builds of Lightning for Thunderbird 8.0 or even 9.0? Surely the Release and Beta versions should still be targeted...
This was pushed to comm-central before the merge, so it will be on comm-aurora now, which is Thunderbird 10. We're not changing release versions, but I could be convinced to transplant this to comm-beta for Thunderbird 9.
I've just tested the patch in my live environment (TB8)  by patching calDavRequestHandlers.js manually. There is one problem: if I trie to assign an existing event to an other icloud calendar I get the following error message:

Status-Code: 409, Ressourcen-Konflikt.

<?xml version='1.0' encoding='UTF-8'?>
<error xmlns='DAV:'><no-uid-conflict xmlns='urn:ietf:params:xml:ns:caldav'>
<href xmlns='DAV:'>/XXXXXXXX/calendars/home/afa5f481-1ea3-4506-bb7a-6a72f65514be.ics</href>
</no-uid-conflict><error-description xmlns='http://twistedmatrix.com/xml_namespace/dav/'>(9117275819) 
Found component /XXXXXXXX/calendars/work/afa5f481-1ea3-4506-bb7a-6a72f65514be.ics with same UID 
in a different collection: /XXXXXXXX/calendars/home/afa5f481-1ea3-4506-bb7a-6a72f65514be.ics</error-description></error>

Joerg
Hi Simon
Following Joerg's comment I too have manually patched my tb8 lightening v1 with the patches above.

I haven't yet broken it, but can confirm the message Joerg sees.

transcript below  (good luck!)

CalDAV: itemUri.spec = https://p01-caldav.icloud.com/1428155234/calendars/91C0A18D-8889-44E2-8DB6-5774C9FCA6F2/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics
 ----------
CalDAV: send: BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/London
X-LIC-LOCATION:Europe/London
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:19700329T010000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
TZNAME:GMT
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20111104T111326Z
LAST-MODIFIED:20111111T141212Z
DTSTAMP:20111111T141212Z
UID:70aaeba9-9d4d-450b-bcf2-4bec2153094e
SUMMARY:New Event
DTSTART;TZID=Europe/London:20111111T120000
DTEND;TZID=Europe/London:20111111T130000
SEQUENCE:1
X-MOZ-GENERATION:1
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

 ----------
CalDAV: recv: <?xml version='1.0' encoding='UTF-8'?><error xmlns='DAV:'><no-uid-conflict xmlns='urn:ietf:params:xml:ns:caldav'><href xmlns='DAV:'>/1428155234/calendars/home/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics</href></no-uid-conflict><error-description xmlns='http://twistedmatrix.com/xml_namespace/dav/'>(3303319186) Found component /1428155234/calendars/91C0A18D-8889-44E2-8DB6-5774C9FCA6F2/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics with same UID in a different collection: /1428155234/calendars/home/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics</error-description></error>
 ----------
Error: CalDAV: Unexpected status adding item to JB: 409
<?xml version='1.0' encoding='UTF-8'?><error xmlns='DAV:'><no-uid-conflict xmlns='urn:ietf:params:xml:ns:caldav'><href xmlns='DAV:'>/1428155234/calendars/home/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics</href></no-uid-conflict><error-description xmlns='http://twistedmatrix.com/xml_namespace/dav/'>(3303319186) Found component /1428155234/calendars/91C0A18D-8889-44E2-8DB6-5774C9FCA6F2/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics with same UID in a different collection: /1428155234/calendars/home/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics</error-description></error>
BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/London
X-LIC-LOCATION:Europe/London
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:19700329T010000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
TZNAME:GMT
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20111104T111326Z
LAST-MODIFIED:20111111T141212Z
DTSTAMP:20111111T141212Z
UID:70aaeba9-9d4d-450b-bcf2-4bec2153094e
SUMMARY:New Event
DTSTART;TZID=Europe/London:20111111T120000
DTEND;TZID=Europe/London:20111111T130000
SEQUENCE:1
X-MOZ-GENERATION:1
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

 ----------
Warning: There has been an error reading data for calendar: JB.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_PUT_ERROR. Description: There was an error storing the item on the server.
 ----------
Error: An error occurred when writing to the calendar JB! Error code: MODIFICATION_FAILED. Description: Status Code: 409, Resource conflict.

<?xml version='1.0' encoding='UTF-8'?><error xmlns='DAV:'><no-uid-conflict xmlns='urn:ietf:params:xml:ns:caldav'><href xmlns='DAV:'>/1428155234/calendars/home/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics</href></no-uid-conflict><error-description xmlns='http://twistedmatrix.com/xml_namespace/dav/'>(3303319186) Found component /1428155234/calendars/91C0A18D-8889-44E2-8DB6-5774C9FCA6F2/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics with same UID in a different collection: /1428155234/calendars/home/70aaeba9-9d4d-450b-bcf2-4bec2153094e.ics</error-description></error>
Source file: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/John/AppData/Roaming/Thunderbird/Profiles/1hzpmwy6.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js
Line: 1101
 ----------
Warning: Use of getAttributeNode() is deprecated. Use getAttribute() instead.
Source file: chrome://calendar/content/calendar-error-prompt.xul
The issue described in comment 28 and comment 29 is a different issue. This bug is for reading the date fron the iCloud server.

What you describe by "if I trie to assign an existing event to an other icloud calendar, if I understand correctly is that you change the calendar in the event modification dialog box and press ok.  If that is the case then I think this is more an iCloud limitation than a Lighting bug. 

From what I remember, when changing the calendar of a meeting, Lighting will issue simultaneously a PUT in the new calendar and a DELETE in the old calendar to delete the meeting from the old one and create it in the new one, there might be a short time during which the meeting exists in both calendars at the same time. The server error message "... with same UID in a different collection" seems to indicate that iCloud has the limitation of not supporting a meeting with the same UID in a different calendar (which is valid per CalDAV rfc). Workarounds could probably be implemented on the client side to support this. In any case a new bug should be open to track this different issue.
Team,

Can someone point me to a version of lightning where this is supported in TB8 / Lightning 1.0

I tried the latest nightly, it appears this is not supported on TB8...

Any pointers would be greatly appreciated !

Thx

Gary
Is there any version of Lightning that is even compatible with TB 9.0? The 1.0 release is not, nor is the latest nightly! Not cool.
You need to log in before you can comment on or make changes to this bug.