Unable to sync CalDav - Exception with CDATA

(Registered user)

Trying to sync with a fastmail Calendar, getting this error in the Operations log, but I can’t see the error in any of the log files, even if I enable them all under advanced in settings.  Result is I have no calendar entries and cannot sync.

Clearly there is some entry in the online calendar which is causing Em Client to barf, but I can’t tell what it is to delete it.  Is there some additional logging somewhere?  I’ve turned on everything under advanced.

Rob

18:50:11 calendar [CalDAV / CardDAV]  MailClient.Accounts.ConnectionException: Unexpected end of file while parsing CDATA has occurred. Line 2675, position 1. ---\> System.Xml.XmlException: Unexpected end of file while parsing CDATA has occurred. Line 2675, position 1.
18:50:11    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
18:50:11    at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
18:50:11    at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)
18:50:11    at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
18:50:11    at System.Xml.XmlTextReaderImpl.ParseElementContent()
18:50:11    at System.Xml.XmlTextReaderImpl.Read()
18:50:11    at System.Xml.XmlReader.InternalReadContentAsString()
18:50:11    at System.Xml.XmlReader.ReadContentAsString()
18:50:11    at System.Xml.XmlSubtreeReader.ReadContentAsString()
18:50:11    at System.Xml.XmlReader.ReadElementContentAsString()
18:50:11    at MailClient.Protocols.CalDav.ProtocolCommands.ResponseItem..ctor(XmlReader responseReader)
18:50:11    at MailClient.Protocols.CalDav.ProtocolCommands.MultiStatusResponse..ctor(HttpWebResponse response, Func`2 getBody)
18:50:11    at MailClient.Protocols.CalDav.ProtocolCommands.CalendarMultigetCommand.CreateResponse(HttpWebResponse response, Func`2 getBody)
18:50:11    at MailClient.Protocols.CalDav.ProtocolCommands.Connector.RunCommand(CalDavAccount account, ICommand command, CancellationToken cancellationToken)
18:50:11    --- End of inner exception stack trace ---
18:50:11    at MailClient.Protocols.CalDav.ProtocolCommands.Connector.RunCommand(CalDavAccount account, ICommand command, CancellationToken cancellationToken)
18:50:11    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.DownloadItemsMultiget(IList`1 uris, Boolean calDav)
18:50:11    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.ProcessItems(Dictionary`2 items, Boolean deltaSyncReport)
18:50:11    at MailClient.Protocols.CalDav.Synchronizer.SynchronizeItemsCommand.Execute(WorkerStatus status)
18:50:11    at MailClient.Commands.Command.Process(WorkerStatus status)

Perhaps worth pointing out I’m running 7.2.34959.0 and the fastmail calendar works fine on my Apple devices and in the Fastmail web interface.

I’ve looked at all the entries logged in the CalDAV/CardDAV log file created each time emClient syncs and I can’t see anything recent, not anything with unusual looking CDATA.  The bulk requests appear to come back ok but the last line of each log file is always:

15:40:08.501|008|   AccountBase.ChangeOnlineState : STATE CHANGE TO offline due BrokenConnection

There’s no indication of network problems so I think it’s a parsing error based on the exception in my first post