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):
https://stackoverflow.com/questions/2482715/the-server-committed-a-protocol-violation-section-respon…

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

Tried all these versions:
7.2.34208.0
7.2.34062.0
7.2.33939.0
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

<system.net>
  <settings>


<httpwebrequest useunsafeheaderparsing="true"></httpwebrequest>
  </settings>
</system.net> 

The file now looks like:

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


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


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


  <!-- 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>
  </runtime>
  <system.net>
  <settings>


<httpwebrequest useunsafeheaderparsing="true"></httpwebrequest>
  </settings>
</system.net>
</configuration>