Kozea / Radicale

A simple CalDAV (calendar) and CardDAV (contact) server.
https://radicale.org
GNU General Public License v3.0
3.37k stars 440 forks source link

WARNING: Bad PUT request on … Failed to store item …: Main component missing #995

Closed buzo-ffm closed 8 months ago

buzo-ffm commented 5 years ago

Calender synchronization does not work any more from the client DAVx5 on Android. I see lots of errors like this in the journal, coming from the IP of that Android device:

[7f8aea7fc700] WARNING: Bad PUT request on '/sts/8f4aa865-2190-420b-bed8-5567a0cc3d3a/ffacc994-f037-4286-bcd2-2c8a91412337.ics': Failed to store item 'ffacc994-f037-4286-bcd2-2c8a91412337.ics' in collection 'sts/8f4aa865-2190-420b-bed8-5567a0cc3d3a': Main component missing

How can I debug this?

Radicale version is 2.1.11 on Arch Linux.

yourealwaysbe commented 4 years ago

I have this bug on 3.0.3-1 with the following ICS file. It was generated by MS Teams and appears to be a problem with RECURRENCE-ID.

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//PIMUTILS.ORG//NONSGML khal / icalendar //EN
BEGIN:VEVENT
SUMMARY;LANGUAGE=en-US:Meeting Summary
DTSTART;TZID=Europe/London;VALUE=DATE-TIME:20200728T150000
DTEND;TZID=Europe/London;VALUE=DATE-TIME:20200728T160000
DTSTAMP:20200706T173120Z
UID:040000008200E00074C5B7101A82E00800000000FB65F053CE4AD60100000000000000
 0010000000AAAECE38A8F6F84FAFC1F490CFC45417
RECURRENCE-ID;TZID="Europe/London":20200728T150000
SEQUENCE:10
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;
 RSVP=TRUE:mailto:X.X@y.y
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSV
 P=TRUE:mailto:X.X@y.y
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPAN
 T;RSVP=TRUE:mailto:X.X@y.y
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSV
 P=TRUE:mailto:X.X@y.y
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPAN
 T;RSVP=TRUE:mailto:X.X@y.y
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSV
 P=TRUE:mailto:X.X@y.y
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RS
 VP=TRUE:mailto:X.X@y.y
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RS
 VP=TRUE:mailto:X.X@y.y
ATTENDEE;CN="X, X";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT
 ;RSVP=TRUE:mailto:X.X@y.y
CLASS:PUBLIC
DESCRIPTION;LANGUAGE=en-US:desription omitted
LOCATION;LANGUAGE=en-US:
ORGANIZER;CN="X, X":mailto:X.X@y.y
PRIORITY:5
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-APPT-SEQUENCE:10
X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:3
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-OWNERAPPTID:XX
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-MICROSOFT-DONOTFORWARDMEETING:FALSE
X-MICROSOFT-LOCATIONS:[]
X-MICROSOFT-ONLINEMEETINGCONFLINK:conf:sip:....
X-MICROSOFT-ONLINEMEETINGINFORMATION:{"OnlineMeetingChannelId":null\,"Onli
 neMeetingProvider":3}
X-MICROSOFT-SCHEDULINGSERVICEUPDATEURL:....
X-MICROSOFT-SKYPETEAMSMEETINGURL:....
X-MICROSOFT-SKYPETEAMSPROPERTIES:{"cid":"19:meeting_XX
 @thread.v2"\,"rid":0\,"mid":0\,"uid":null\,"priv
 ate":true\,"type":0}
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:REMINDER
TRIGGER;RELATED=START:-PT15M
END:VALARM
END:VEVENT
END:VCALENDAR

Possibly related to #715, but the issues in the ics file noted there don't seem to apply here.

tobiastom commented 2 years ago

I have the same issue with this RECURRENCE-ID:

RECURRENCE-ID;TZID=W. Europe Standard Time:20211207T133000

Once I delete this line from the invite, I can add it to my calendar.

pbiering commented 8 months ago

is this issue still valid with latest 3.1.x?

tobiastom commented 8 months ago

I cannot reproduce it anymore.