My CalDAV and CardDAV accounts report that the server closes the connection early, and the accounts can’t be updated. I’ve included the error log below (other successful accounts and personal information removed). A little Googling led me to this forum post that didn’t help me but might help your team troubleshoot.
Error Log:
12:56:59 Online state: changed to online due to NetworkAvailability
12:57:00 [redacted] Calendar [CalDAV / CardDAV] MailClient.Accounts.ConnectionException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. —> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
12:57:00 at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
12:57:00 at MailClient.Protocols.CalDav.ProtocolCommands.RequestCommand.Execute(HttpWebRequest httpRequest, CancellationToken cancellationToken, Action1 logBody) 12:57:00 at MailClient.Protocols.CalDav.ProtocolCommands.XmlRequestCommand.Execute(HttpWebRequest httpRequest, CancellationToken cancellationToken, Action
1 logBody)
12:57:00 at MailClient.Protocols.CalDav.ProtocolCommands.Connector.RunCommand(CalDavAccount account, ICommand command, CancellationToken cancellationToken)
12:57:00 — End of inner exception stack trace —
12:57:00 at MailClient.Protocols.CalDav.ProtocolCommands.Connector.RunCommand(CalDavAccount account, ICommand command, CancellationToken cancellationToken)
12:57:00 at MailClient.Protocols.CalDav.Synchronizer.BootstrapCommand.UpdatePrincipalProperties(Uri baseUri, Boolean retryOnNotFound)
12:57:00 at MailClient.Protocols.CalDav.Synchronizer.BootstrapCommand.Execute(WorkerStatus status)
12:57:00 at MailClient.Commands.Command.Process(WorkerStatus status)
12:57:01 [redacted] Contacts [CalDAV / CardDAV] MailClient.Accounts.ConnectionException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. —> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
12:57:01 at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
12:57:01 at MailClient.Protocols.CalDav.ProtocolCommands.RequestCommand.Execute(HttpWebRequest httpRequest, CancellationToken cancellationToken, Action1 logBody) 12:57:01 at MailClient.Protocols.CalDav.ProtocolCommands.XmlRequestCommand.Execute(HttpWebRequest httpRequest, CancellationToken cancellationToken, Action
1 logBody)
12:57:01 at MailClient.Protocols.CalDav.ProtocolCommands.Connector.RunCommand(CalDavAccount account, ICommand command, CancellationToken cancellationToken)
12:57:01 — End of inner exception stack trace —
12:57:01 at MailClient.Protocols.CalDav.ProtocolCommands.Connector.RunCommand(CalDavAccount account, ICommand command, CancellationToken cancellationToken)
12:57:01 at MailClient.Protocols.CalDav.Synchronizer.BootstrapCommand.UpdatePrincipalProperties(Uri baseUri, Boolean retryOnNotFound)
12:57:01 at MailClient.Protocols.CalDav.Synchronizer.BootstrapCommand.Execute(WorkerStatus status)
12:57:01 at MailClient.Commands.Command.Process(WorkerStatus status)