[caldav] Fwd: Looking for resources to debug webdav server

Rick DeNatale <rick.denatale@gmail.com> Tue, 28 July 2009 14:41 UTC

Return-Path: <rick.denatale@gmail.com>
X-Original-To: caldav@core3.amsl.com
Delivered-To: caldav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CAAA33A6FE7 for <caldav@core3.amsl.com>; Tue, 28 Jul 2009 07:41:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_43=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CEtOQhhZN9lf for <caldav@core3.amsl.com>; Tue, 28 Jul 2009 07:41:05 -0700 (PDT)
Received: from mail-yx0-f183.google.com (mail-yx0-f183.google.com [209.85.210.183]) by core3.amsl.com (Postfix) with ESMTP id 1588E3A6F62 for <caldav@ietf.org>; Tue, 28 Jul 2009 07:41:05 -0700 (PDT)
Received: by yxe13 with SMTP id 13so106690yxe.29 for <caldav@ietf.org>; Tue, 28 Jul 2009 07:41:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=sGMovC2KjfJFQmJ9gcmqrdFbzx5B9EEQUi4wmSGA40o=; b=a8Y2USqdxtETR35CExCk5NblRAvqfD3WqqICwY4XofcvmyO+0qsBjAUG7/rdSlp3df rtU3HMjheN1wUF+5oU1Po6aazNUpN9SLzg24SzF9Nujc9852zXByvn7GWch5EdblLJ/s nw5eJITZ1Z7d3TCh2P3gO452w9v9XoYDxNles=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=DVZOQJDQnlrIIVf4SbuIIHKsNw6k1CYILBQNQ+q9XNX/xk8A77+u8JepIAfD+V/Y8N V27Yp06hpr6sY8/vBUF/yGdBGlVUtWdL3gDlmBdOf/7b+ieajAGQTTb6Tb5W3v3PLhQv INT0/+ZztYnBK9+zbxOZCbLy5xiWJzZ+eu0QI=
MIME-Version: 1.0
Received: by 10.90.67.6 with SMTP id p6mr7097748aga.100.1248792064513; Tue, 28 Jul 2009 07:41:04 -0700 (PDT)
In-Reply-To: <deb2337a0907280732q1db7b22ehc4199fdf0676bb12@mail.gmail.com>
References: <deb2337a0907280732q1db7b22ehc4199fdf0676bb12@mail.gmail.com>
Date: Tue, 28 Jul 2009 10:41:04 -0400
Message-ID: <deb2337a0907280741h32dee384o2200ed144e48a656@mail.gmail.com>
From: Rick DeNatale <rick.denatale@gmail.com>
To: caldav@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: [caldav] Fwd: Looking for resources to debug webdav server
X-BeenThere: caldav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <caldav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/caldav>, <mailto:caldav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/caldav>
List-Post: <mailto:caldav@ietf.org>
List-Help: <mailto:caldav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/caldav>, <mailto:caldav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jul 2009 14:41:07 -0000

I'm hoping someone can point me to some help sources.  I'm striking
out with google. While I find caldav threads, most appear to be from
the client viewpoint. I tried finding irc channels and the like but
can't find anything which appears to be active.

I'm trying to add webdav support to an existing ruby on rails
application which already supports calendars.

I've been trying to figure out the realities of caldav by snooping on
the conversation between ical.app and google calendar establishing a
webdav account and then syncing, and then trying, as a first step to
send canned responses to the propfind requests sent by ical.app from
my server app.

But I'm seeing some strange things.

First, for the first connection to google calendar in establishing an
account, ical.app is sending some propfinds which I am not seeing when
it tries to establish an account with my server app.  Instead it sends
a propfind which only occurs after the connection setup handshaking
with google cal.

<?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>

Second, when I respond to the propfind with what I think is a valid
response, same headers, and valid xml for the body, ical.app doesn't
seem to like it

HTTP/1.1 207 Multi-Status
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.4
Cache-Control: private, max-age=0
Status: 207 Multi-Status
X-Runtime: 0.54242
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7l DAV/2
Phusion_Passenger/2.2.4
DAV: 1, calendar-access, calendar-schedule, calendar-proxy
Date: Thu, 23 Jul 2009 14:29:05 GMT
Content-Length: 1375
Content-Type: application/xml; charset=utf-8
Connection: Keep-Alive, close

<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
 <D:response>
  <D:href>/caldav/calendar/Personal/</D:href>
  <D:propstat>
    <D:status>HTTP/1.1 200 OK</D:status>
    <D:prop>
      <C:calendar-home-set xmlns:C="urn:ietf:params:xml:ns:caldav">
        <D:href>/caldav/calendar/</D:href>
      </C:calendar-home-set>
      <C:calendar-user-address-set xmlns:C="urn:ietf:params:xml:ns:caldav">
        <D:href>mailto:virtuser@cals.37s.backpack.com</D:href>
        <D:href>/caldav/calendar/virtuser%40cals.37s.backpack.com/user/</D:href>
      </C:calendar-user-address-set>
      <C:schedule-inbox-URL xmlns:C="urn:ietf:params:xml:ns:caldav">
        <D:href>/caldav/calendar/virtuser%40cals.37s.backpack.com/inbox/</D:href>
      </C:schedule-inbox-URL>
      <C:schedule-outbox-URL xmlns:C="urn:ietf:params:xml:ns:caldav">
        <D:href>/caldav/calendar/virtuser%40cals.37s.backpack.com/outbox/</D:href>
      </C:schedule-outbox-URL>
      <D:displayname>Personal</D:displayname>
    </D:prop>
  </D:propstat>
  <D:propstat>
    <D:status>HTTP/1.1 404 Not Found</D:status>
    <D:prop>
      <x2:dropbox-home-URL xmlns:x2="http://calendarserver.org/ns/" />
      <x2:notifications-URL xmlns:x2="http://calendarserver.org/ns/" />
    </D:prop>
  </D:propstat>
 </D:response>
</D:multistatus>

But ical.app puts up an error dialog with the message "Request
encountered an unexpected error (domain CalDAV No Calendar Home Error
/ code 1)."

I've tried to find an irc channel which might have someone who could help

I found a calendarserver irc channel (for Apple's CalendarServer
project) but no one seems to be responsive.  There's another caldav
channel associated with Chandler, but no one seems to be home.

So, does anyone have any suggestions about where I might get some help
in figuring this out?

--
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale