System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.

ykl
ykl
20 Points
5 Posts

Getting sometime error like:

System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.

Here is failing:

const SslProtocols sslProtocol = SslProtocols.Tls12;
var task = _sslStream.AuthenticateAsClientAsync(targetHost, _defaultClientCertificates, sslProtocol, _checkCertificateRevocation);
task.Wait();
Views: 143
Total Answered: 0
Total Marked As Answer: 0
Posted On: 09-Jan-2023 05:32

Share:   fb twitter linkedin
Answers
 Log In to Chat