PROPFIND Method Not Allowed caldav-beta9

Ken Murchison murch at andrew.cmu.edu
Wed Jun 4 07:08:19 EDT 2014


On 06/04/2014 04:03 AM, Jean-Christophe Delaye wrote:
> On 03/06/2014 20:20, Ken Murchison wrote:
>> Can you telnet to port 80 on the server and give it the following
>> command (followed by 2 carriage returns):
>>
>> OPTIONS * HTTP/1.0
>>
>
> Thanks Ken,
>
>
> Connected to cyrus0.eurecom.fr.
> Escape character is '^]'.
> OPTIONS * HTTP/1.0
>
> HTTP/1.1 200 OK
> Connection: close
> Date: Wed, 04 Jun 2014 08:00:23 GMT
> Cache-Control: no-cache
> Server: Cyrus/v2.4.17-caldav-beta9 (Murder) Cyrus-SASL/2.1.26 
> OpenSSL/1.0.0 zlib/1.2.3 libxml2/2.6.23
> Allow: OPTIONS, GET, HEAD
> Content-Length: 0


OK.  It looks like configure didn't find some of the necessary 
prerequisites for CalDAV support when you compiled Cyrus.  You need to 
have both SQLite and libical.  When support for CalDAV is compiled in 
and enabled, your OPTIONS response should look something like this:

HTTP/1.1 200 OK
Connection: close
Date: Wed, 04 Jun 2014 11:02:57 GMT
Cache-Control: no-cache
Server: Cyrus/git2.4.17-caldav-beta9+163 (Murder) Cyrus-SASL/2.1.26 
OpenSSL/1.0.1e zlib/1.2.7 libxml/2.9.1 SQLite/3.7.13 libical/0.48
DAV: 1, 2, 3, access-control, extended-mkcol
DAV: calendar-access, calendar-auto-schedule
Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE
Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH, MKCOL, ACL
Allow: MKCALENDAR
Content-Length: 0




>
>
>>
>>
>>
>> On 06/03/2014 11:30 AM, Jean-Christophe Delaye wrote:
>>> We're trying to use calendars with Cyrus IMAPD v2.4.17-caldav-beta9.
>>>
>>> The following caldav settings are in imapd.conf
>>>
>>> httpmodules: caldav
>>> httpprettytelemetry: 1
>>> calendarprefix: #calendars
>>>
>>> http/https process are listening.
>>>
>>> master[27932]: [ID  local2.debug] listening for messages from http
>>> master[27932]: [ID  local2.debug] listening for messages from https
>>>
>>> When trying to use calendars features with Thunderbird/24.5.0
>>> Lightning/2.6.5,
>>> Create a new calendar (network)
>>> Format CalDAV
>>> Location http://cyrus0.eurecom.fr/dav/calendars/users/foo/Default/
>>>
>>> I have errors in log:
>>>
>>> http[1360]: [ID 213405 local2.debug] read & parse request-line
>>> http[1360]: [ID 472354 local2.debug] read & parse headers
>>> http[1360]: [ID 702911 local2.info] xxxxx.eurecom.fr with "Mozilla/5.0
>>> (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
>>> Lightning/2.6.5"; "PROPFIND /dav/calendars/users/foo/Default/ HTTP/1.1
>>> (depth=0) => "405 Method Not Allowed" (error=The requested method is 
>>> not
>>> allowed for the URL.)
>>> http[1360]: [ID 286617 local2.debug] read_body(0x8)
>>>
>>> does anyone have any ideas what could be causing this ?
>>>
>>> Thanks in advance.
>>> ----
>>> Cyrus Home Page: http://www.cyrusimap.org/
>>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>>> To Unsubscribe:
>>> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>>
>>
>


-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University



More information about the Info-cyrus mailing list