locked
WCF Certificate error with HTTP.SYS in the HTTPS case RRS feed

  • Question

  • User-301335111 posted

    I built an addin for MS Project, this worked perfectly but for the two weeks, when I have tried to launch MS Project in DEV, I have the following error message:

    Connection failed: An error occurred while making the HTTP request to https://mysharepointsite/projects//_vti_bin/WCF/Threon.PS2013.EIB.PSIExtension.svc. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.

    If I work on the test server, the addin works perfectly but when I launch Project from my computer, I have the error message (and once again, only in DEV)

    I just have this error with the DEV server, on the PROD, I don't have this issue the server are aligned for the update and I checked the TLS and they use the same: TLS 1.2, AES with 128 bit encryption (High); ECDH with 256 bit exchange

    Any idea of what I could do?

    Thank you for your help

    Wednesday, February 10, 2021 3:28 PM

All replies

  • User1535942433 posted

    Hi Toxicboumboum,

    As far as I think you should check your https port whether blocked or bind the certificate correctly. You enable tracing for the wcf service and see what happened from logs.

    More details,you could refer to below article:

    https://forums.asp.net/t/1994820.aspx?WCF+Error+This+could+be+due+to+the+fact+that+the+server+certificate+is+not+configured+properly+with+HTTP+SYS+in+the+HTTPS+case+

    Best regards,

    Yijing Sun

    Thursday, February 11, 2021 7:50 AM
  • User-301335111 posted

    Thank you for your help but I wasn't able to use WCF Tracking, so I used Fiddler and I catch the following error message: fiddler.network.https> HTTPS handshake to websites (for #30) failed. System.IO.IOException Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. < An existing connection was forcibly closed by the remote host

    Any idea of what I could do?

    Friday, February 19, 2021 12:12 PM
  • User1535942433 posted

    Hi Toxicboumboum,

    According to your error,as far as I think,the error here indicates that the server closed the connection when a handshake was attempted. This typically happens only when the server is buggy in some way.

    You'd need to use a tool like NetMon or Wireshark to capture the low-level connection Packet Capture to see what went wrong in the handshake.

    More details,you could refer to below article:

    https://www.telerik.com/forums/https-handshake-failed

    Best regards,

    Yijing Sun

    Monday, February 22, 2021 9:43 AM