BufferNotEnough无法创建SSL / TLS安全通道

时间:2017-03-29 08:14:59

标签: c# .net web-services ssl

有时我们收到错误"请求已中止:无法创建SSL / TLS安全通道.." 我试图调查这个问题,我得到的跟踪日志是:

System.Net Information: 0 : [4356] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=**BufferNotEnough**).
System.Net Error: 0 : [4356] Exception in HttpWebRequest#37434592:: - The request was aborted: Could not create SSL/TLS secure channel..
System.Net Error: 0 : [4356] Exception in HttpWebRequest#37434592::EndGetRequestStream - The request was aborted: Could not create SSL/TLS secure channel..

对于这种情况,这是什么意思BufferNotEnough

感谢。

1 个答案:

答案 0 :(得分:2)

这似乎是.NET 4.6.1中HttpWebRequest的一个错误 - 请参阅https://connect.microsoft.com/VisualStudio/feedback/details/2777134/tls-1-2-handshake-error