Problem connecting to CalDav/CardDav

  • It was working… now getting this error:
    MailClient.Accounts.ConnectionException The server committed a protocol violation. Section=ResponseStatusLine ERROR

I had it in french, but taken that from a StackOverFlow question.
French verison:
15:48:21 CI-CalDav-CardDav [CalDAV / CardDAV]  MailClient.Accounts.ConnectionException: Le serveur a commis une violation de protocole. Section=ResponseStatusLine —> System.Net.WebException: Le serveur a commis une violation de protocole. Section=ResponseStatusLine

StackOverFlow link on the problem (though its for the software developpers… I am one, but not the EmClient one):…

I would to add that using my android phone is working correctly with the same settings.

Tried all these versions:
7.1.33506.0 ==> Can’t DB changed

I fixed it!!!

In the folder application folder, locate MailClient.exe.config and the code below between and


<httpwebrequest useunsafeheaderparsing="true"></httpwebrequest>

The file now looks like:

<?xml version="1.0" encoding="utf-8" ?><configuration>

 <supportedruntime version="v4.0"></supportedruntime>

 <supportedruntime version="v2.0.50727"></supportedruntime>

  <!-- MD5 is not FIPS compliant, but we need to use it in several scenarios (Gravatar, X509, Jabber)

  On FIPS-enabled system, use of MD5 would throw InvalidOperationException without this directive -->

 <enforcefipspolicy enabled="false"></enforcefipspolicy>

<httpwebrequest useunsafeheaderparsing="true"></httpwebrequest>