We get an intermittent error: “We could not establish a secure channel for SSL / TLS with the server name“ authority ”when calling one of our services. Not all requests fail, but some of the requests cannot establish an SSL / TLS connection. We only see this error when more users use the application.If you turn off restarting the application, the application works fine for the next few hours.The following is a detailed exception.
Exception Type: System.ServiceModel.Security.SecurityNegotiationException Message: Failed to establish a secure channel for SSL / TLS with authority "xxxxxxxx.com". Data: System.Collections.ListDictionaryInternal TargetSite: Void HandleReturnMessage (System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage) HelpLink: NULL Source: mscorlib HResult: -2146233087
StackTrace Information
Server Stack Trace: in System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException (WebException webException, HttpWebRequest request, HttpAbortReason abortReason) in System.ServiceModel.Channels.HttpChannelFacteryPestHentChtelChtelChtelPhpChtpChtpChpChtpChpPhpHetpChastelChastel.Channel.Channels.Channels.Channels.Channels.Channels.Channels.Channels.Channels. .Channels.RequestChannel.Request (message message, TimeSpan timeout) in System.ServiceModel.Channels.ServiceChannel.Call (String action, Boolean oneway, ProxyOperationRuntime operation, Object [] ins, Object [] outs, TimeSpan timeout) in System .ServiceModel.Channels.ServiceChannelProxy.InvokeService (IMethodCallMessageCall, ProxyOperationRuntime method) in System.ServiceModel.Channels.ServiceChannelProxy.Invoke (message with message)
3) Exclusion Information
: System.Net.WebException
: SecureChannelFailure
: NULL
: : SSL/TLS.
: System.Collections.ListDictionaryInternal
TargetSite: System.Net.WebResponse GetResponse()
HelpLink: NULL
:
HResult: -2146233079
StackTrace
System.Net.HttpWebRequest.GetResponse() System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(- TimeSpan)
, .