Page 1 of 1

iPPhone 3.1.2 w/ CalDav

Posted: Thu Jan 14, 2010 12:49 pm
by RSisco
Instead of resurrecting this old thread http://www.scalix.com/forums/viewtopic.php?f=9&t=13323 about CalDav on the iPhone, I decided to start a new one.

I recently updated to firmware 3.1.2 on my iPhone and configured CalDav on it to connect to Scalix with no errors or problems. When I open the Calendar app, I am given the choices for all of my calendars; however, no matter which one I choose, nothing is displayed. The icon on the status bar on the phone does its thing for a minute, implying that data is being transferred. My scalix-api-activity.log is empty and my scalix-api.log does have anything that just jumps out at me - although I don't know what any of it means.

Thoughts anyone?

Thanks.

Richard

Re: iPPhone 3.1.2 w/ CalDav

Posted: Tue Jan 26, 2010 12:42 am
by Uluquai
I have a Client who also experiences this.. it just won't work for him.. really strange. Same iPhone version.
Another user has no trouble at all.. Url is correct too, works in a browser..

Would really like to know the possible reasons for that.

Re: iPPhone 3.1.2 w/ CalDav

Posted: Tue Jan 26, 2010 9:45 am
by RSisco
I had to give up and went back to syncing just my personal calendar using google as a go-between. Sucks, but it works. I will continue to mess with it and see if I can figure out what is going on.

Richard

Re: iPPhone 3.1.2 w/ CalDav

Posted: Tue Feb 02, 2010 5:43 pm
by elesatz
Having the same issue here, although this is the first time we have tried to configure CalDav on an iPhone. I confirmed the calendar URL is valid and working from a browser. I ran a sniffer on the session and here is what we are seeing:

<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:">
<x0:prop>
<x1:calendar-home-set/>
<x1:calendar-user-address-set/>
<x1:schedule-inbox-URL/>
<x1:schedule-outbox-URL/>
<x2:dropbox-home-URL/>
<x2:notifications-URL/>
<x0:displayname/>
</x0:prop>
</x0:propfind>


HTTP/1.1 207 Multi-Status
Date: Tue, 02 Feb 2010 21:11:09 GMT
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=1E8B6485C3BFC164C1F64F8D6F405D04; Path=/api
DAV: 1, 3, calendar-access
MS-Author-Via: DAV
Content-Type: text/xml;charset=utf-8
Content-Length: 629
Vary: Accept-Encoding
Connection: close

<D:multistatus xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV:">
<D:response>
<D:href>/api/dav/Calendars/Users/[user@host]/Calendar</D:href>
<D:propstat>
<D:prop>
<C:calendar-home-set/>
<C:calendar-user-address-set/>
<C:schedule-inbox-URL/>
<C:schedule-outbox-URL/>
<dropbox-home-URL xmlns="http://calendarserver.org/ns/"/>
<notifications-URL xmlns="http://calendarserver.org/ns/"/>
</D:prop>
<D:status>HTTP/1.1 404 NotFound</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:displayname>Calendar</D:displayname>
</D:prop>
<D:status>HTTP/1.1 200 Ok</D:status>
</D:propstat>
</D:response>
</D:multistatus>

2;s\<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x0="DAV:" xmlns:x3="http://apple.com/ns/ical/" xmlns:x1="urn:ietf:params:xml:ns:caldav">
<x0:prop>
<x0:displayname/>
<x1:calendar-description/>
<x2:getctag/>
<x3:calendar-color/>
<x1:supported-calendar-component-set/>
<x0:resourcetype/>
<x0:current-user-privilege-set/>
</x0:prop>
</x0:propfind>


;HTTP/1.1 405 Method Not Allowed
Date: Tue, 02 Feb 2010 21:11:10 GMT
Server: Apache/2.0.52 (Red Hat)
Allow: GET,HEAD,POST,OPTIONS,TRACE
Vary: Accept-Encoding
Content-Length: 321
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for the URL /index.html.</p>
<hr>
<address>Apache/2.0.52 (Red Hat) Server at mail.domain.com Port 80</address>
</body></html>

Re: iPPhone 3.1.2 w/ CalDav

Posted: Tue Feb 02, 2010 9:22 pm
by Uluquai
I just added the user's account who couldn't get CalDAV working on his phone on another phone and everything worked out fine.
Yesterday FW 3.13 was released. Although they don't mention any changes in their CalDAV Client, maybe you could give it a try again ;)

I'll certainly encourage this user to try again after upgrading the fw and report back here..