WebException with SecureChannelFailure in High Latency Situation

I have a .NET 3.5 application, a client of some REST services and is deployed on networks with high latencies (ping time> 300 ms).

In this situation, I regularly get SSL confirmation failures: SecureChannelFailure ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. I looked at System.Net diagnostic traces to find out where it fails, but at the moment I cannot find the exact information.

I did a little test with the cygmin + openssl client, and problems with SSL support occurred with much higher latencies (from 800 to 1000 ms).

I would like to know if there are any parameters that I can configure in the Windows / .NET / SSL stacks in order to better tolerate network delays while establishing an SSL connection.

Any idea?

+4
source share

Source: https://habr.com/ru/post/1341683/


All Articles