apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

'Calendar data does not conform to CalDAV requirements: METHOD property is not allowed in CalDAV iCalendar data' #281

Closed macosforgebot closed 13 years ago

macosforgebot commented 15 years ago

alex@… originally submitted this as ticket:353


This is what I get when trying to publish from ical or sunbird from different machines. I use 1.2.dfsg-8 on debian stable

macosforgebot commented 15 years ago

alex@… originally submitted this as comment:1:⁠ticket:353


OK so I installed calendarserver on a debian stable, I manage to start it up, then I created a new calendar in iCal and tried to published. I received a forbidden response but I got a different error in error.log: 2009-10-30 00:16:57+0100 [-] [caldav-8008] [HTTPChannel,14,77.84.141.3] PUT /calendars/users/admin/calendar/infographie.ics HTTP/1.1 2009-10-30 00:16:58+0100 [-] [caldav-8008] [-] 'Calendar data does not conform to CalDAV requirements: METHOD property is not allowed in CalDAV iCalendar data' Hope this can help.

macosforgebot commented 15 years ago

alex@… originally submitted this as comment:2:⁠ticket:353


I install the server using suberversion and manully compile, the server respond well and the authentication works good, but I still have that very same problem : 2009-10-30 11:07:23+0100 [-] [caldav-0] [-] [twistedcaldav.method.put_common#error] Calendar data does not conform to CalDAV requirements: METHOD property is not allowed in CalDAV iCalendar data

that is when trying to publish a calendar from ical and sunbird

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:3:⁠ticket:353


Try again with version 3.0. This error is supposedly reporting a bug in your client, but if yoga re getting it with both iCal and Sunbird, maybe it was a bug that's since been fixed. We don't see this issue with iCal.

macosforgebot commented 13 years ago

avinogradova@… originally submitted this as comment:4:⁠ticket:353


Replying to wsanchez@…:

Try again with version 3.0. This error is supposedly reporting a bug in your client, but if yoga re getting it with both iCal and Sunbird, maybe it was a bug that's since been fixed. We don't see this issue with iCal.

We installed version 3 and still the same error messages, trying to publish through iCalendar on Mac. Please assist.

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:5:⁠ticket:353


I'm pretty sure this is going to be due to a bug in Sunbird.

macosforgebot commented 13 years ago

avinogradova@… originally submitted this as comment:6:⁠ticket:353


But we used iCalendar Version 4.0.3 (1388) on Mac, am i missing something?

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:7:⁠ticket:353


What, exactly, are the steps you used to "publish from iCal"?

macosforgebot commented 13 years ago

avinogradova@… originally submitted this as comment:8:⁠ticket:353


I go to my local calendar, right client and select publish. Chose publish to a provide server, tried various urls:

/calendars/users/admin/calendar/ /calendars/users/admin/519E1979-53EF-43CA-8446-0623636DE2BC/ and even: /calendars/users/admin/

Entered username and password, checked valued options and pressed publish. Got an error that publishing is not permitted.

Logs show: 2011-08-18 07:51:27-0400 [-] [caldav-0] [HTTPChannel,1983,xxx.xx.xx.xxx] [twext.web2.server#info] PUT /calendars/users/alyona/519E1979-53EF-43CA-8446-0623636DE2BC/Test1.ics HTTP/1.1 2011-08-18 07:51:28-0400 [-] [caldav-0] [HTTPChannel,1984,xxx.xx.xx.xxx] [twext.web2.server#info] PUT /calendars/users/alyona/519E1979-53EF-43CA-8446-0623636DE2BC/Test1.ics HTTP/1.1 2011-08-18 07:51:28-0400 [-] [caldav-0] [-] [twistedcaldav.method.put_common#error] Calendar data does not conform to CalDAV requirements: METHOD property is not allowed in CalDAV iCalendar data

Please kindly advise.

macosforgebot commented 13 years ago

avinogradova@… originally submitted this as comment:9:⁠ticket:353


Correction: URLs like:

http://ourserver.com:8008/calendars/users/admin/calendar/ http://ourserver.com:8008/calendars/users/admin/519E1979-53EF-43CA-8446-0623636DE2BC/ http://ourserver.com:8008/calendars/users/admin/

macosforgebot commented 13 years ago

avinogradova@… originally submitted this as comment:10:⁠ticket:353


any updates?

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:11:⁠ticket:353


Yeah, so "Publish" in iCal means store on a generic WebDAV server. It's not how you use a CalDAV server; for that, create an account in the preferences pane. What you are trying to do is not supposed to work.