Menu

#745 CalDAV sync incomplete after ErrorMessageSizeExceeded

v6.0.1
open
nobody
None
5
2022-07-18
2022-07-18
No

Hi there,

after using TbSync for several years I wanted to move to DavMail and noticed some weird behavior in Thunderbird: When I force it to sync the calendar, there are appointments added and removed from the calendar, but it never seems to get it right (plenty of recurring appointments missing).

Unfortunately, triggering a sync from TB never produced a warning nor error. So I used wget to download the calendar. Heureka, now I get some data:

  • The file downloaded from http://localhost:1080/users/<myusername>/calendar/ seems to be malformed. The last line is:
    X-MICROSOFT-ONLINEMEETINGCONFLINK:conf:sip:********
  • The log shows a warning message:
2022-07-18 15:09:31,631 DEBUG [CaldavConnection-55144] davmail  - >
2022-07-18 15:09:31,631 DEBUG [CaldavConnection-55144] davmail.exchange.ExchangeSession  - Get event: AAMkADA4YTI5ODg5LTA3ZmYtNDQ2MS1hY2EwLWMzYmRlNWExY2Q5YgBGAAAAAAADoKO8KnrKSJsrtJx3LV0HBwCqQS3_Q6TeQ5WbsfEMuLbHAAAAAAENAACqQS3_Q6TeQ5WbsfEMuLbHAAATlW8fAAA=.EML
2022-07-18 15:09:31,672 DEBUG [CaldavConnection-55144] davmail.http.HttpClientAdapter  - Add cookie [version: 0][name: exchangecookie][value: 53e666ce97e5453a899399ac694846fc][domain: outlook.office365.com][path: /][expiry: null]
2022-07-18 15:09:31,673 DEBUG [CaldavConnection-55144] davmail.exchange.ews.EWSMethod  - ErrorMessageSizeExceeded
2022-07-18 15:09:31,673 WARN  [CaldavConnection-55144] davmail.exchange.ExchangeSession  - Unable to get event AAMkADA4YTI5ODg5LTA3ZmYtNDQ2MS1hY2EwLWMzYmRlNWExY2Q5YgBGAAAAAAADoKO8KnrKSJsrtJx3LV0HBwCqQS3_Q6TeQ5WbsfEMuLbHAAAAAAENAACqQS3_Q6TeQ5WbsfEMuLbHAAATlW8fAAA=.EML subject: <Meeting name replaced> at null: ErrorMessageSizeExceeded The message exceeds the maximum supported size., The message exceeds the maximum supported size.
 request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion Version="Exchange2013_SP1"/></soap:Header><soap:Body><m:GetItem><m:ItemShape><t:BaseShape>IdOnly</t:BaseShape><t:IncludeMimeContent>true</t:IncludeMimeContent><t:AdditionalProperties><t:ExtendedFieldURI DistinguishedPropertySetId="PublicStrings" PropertyName="urn:schemas:calendar:uid" PropertyType="String"/><t:FieldURI FieldURI="calendar:OptionalAttendees"/><t:FieldURI FieldURI="item:ReminderIsSet"/><t:FieldURI FieldURI="calendar:RequiredAttendees"/><t:FieldURI FieldURI="calendar:ModifiedOccurrences"/><t:ExtendedFieldURI DistinguishedPropertySetId="PublicStrings" PropertyName="xmozsnoozetime" PropertyType="String"/><t:ExtendedFieldURI PropertyTag="0x3008" PropertyType="SystemTime"/><t:ExtendedFieldURI DistinguishedPropertySetId="PublicStrings" PropertyName="xmozsendinvitations" PropertyType="String"/><t:ExtendedFieldURI DistinguishedPropertySetId="PublicStrings" PropertyName="xmozlastack" PropertyType="String"/><t:FieldURI FieldURI="calendar:MyResponseType"/></t:AdditionalProperties></m:ItemShape><m:ItemIds><t:ItemId Id="AAMkADA4YTI5ODg5LTA3ZmYtNDQ2MS1hY2EwLWMzYmRlNWExY2Q5YgBGAAAAAAADoKO8KnrKSJsrtJx3LV0HBwCqQS3/Q6TeQ5WbsfEMuLbHAAAAAAENAACqQS3/Q6TeQ5WbsfEMuLbHAAATlW8fAAA=" ChangeKey="DwAAABYAAACqQS3/Q6TeQ5WbsfEMuLbHAAIKHBCj"/></m:ItemIds></m:GetItem></soap:Body></soap:Envelope>
2022-07-18 15:09:31,673 DEBUG [CaldavConnection-55144] davmail  - > HTTP/1.1 404 Not Found
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - > Server: DavMail Gateway 6.0.1-3390
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - > DAV: 1, calendar-access, calendar-auto-schedule, calendarserver-private-events, addressbook
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - > Date: Mon, 18 Jul 2022 13:09:31 +0000
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - > Expires: Mon, 18 Jul 2022 13:09:31 +0000
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - > Cache-Control: private, max-age=0
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - > Content-Type: text/plain;charset=UTF-8
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - > Connection: close
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - > Content-Length: 1900
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail  - >
2022-07-18 15:09:31,674 DEBUG [CaldavConnection-55144] davmail.caldav.CaldavConnection  - > Unable to get event AAMkADA4YTI5ODg5LTA3ZmYtNDQ2MS1hY2EwLWMzYmRlNWExY2Q5YgBGAAAAAAADoKO8KnrKSJsrtJx3LV0HBwCqQS3_Q6TeQ5WbsfEMuLbHAAAAAAENAACqQS3_Q6TeQ5WbsfEMuLbHAAATlW8fAAA=.EML subject: <meeting name replaced> at null: ErrorMessageSizeExceeded The message exceeds the maximum supported size., The message exceeds the maximum supported size.
 request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion Version="Exchange2013_SP1"/></soap:Header><soap:Body><m:GetItem><m:ItemShape><t:BaseShape>IdOnly</t:BaseShape><t:IncludeMimeContent>true</t:IncludeMimeContent><t:AdditionalProperties><t:ExtendedFieldURI DistinguishedPropertySetId="PublicStrings" PropertyName="urn:schemas:calendar:uid" PropertyType="String"/><t:FieldURI FieldURI="calendar:OptionalAttendees"/><t:FieldURI FieldURI="item:ReminderIsSet"/><t:FieldURI FieldURI="calendar:RequiredAttendees"/><t:FieldURI FieldURI="calendar:ModifiedOccurrences"/><t:ExtendedFieldURI DistinguishedPropertySetId="PublicStrings" PropertyName="xmozsnoozetime" PropertyType="String"/><t:ExtendedFieldURI PropertyTag="0x3008" PropertyType="SystemTime"/><t:ExtendedFieldURI DistinguishedPropertySetId="PublicStrings" PropertyName="xmozsendinvitations" PropertyType="String"/><t:ExtendedFieldURI DistinguishedPropertySetId="PublicStrings" PropertyName="xmozlastack" PropertyType="String"/><t:FieldURI FieldURI="calendar:MyResponseType"/></t:AdditionalProperties></m:ItemShape><m:ItemIds><t:ItemId Id="AAMkADA4YTI5ODg5LTA3ZmYtNDQ2MS1hY2EwLWMzYmRlNWExY2Q5YgBGAAAAAAADoKO8KnrKSJsrtJx3LV0HBwCqQS3/Q6TeQ5WbsfEMuLbHAAAAAAENAACqQS3/Q6TeQ5WbsfEMuLbHAAATlW8fAAA=" ChangeKey="DwAAABYAAACqQS3/Q6TeQ5WbsfEMuLbHAAIKHBCj"/></m:ItemIds></m:GetItem></soap:Body></soap:Envelope>
2022-07-18 15:09:31,674 INFO  [CaldavConnection-55144] davmail.connection  - DISCONNECT - 127.0.0.1:55144

IMHO, it would be nice, if following events on the calendar would be processed and imported to TB.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB