间歇性安全谈判异常

时间:2017-11-22 16:13:45

标签: ssl binding transport

从Windows服务调用api时,我们看到SecurityNegotiationException。这个问题一直存在。有时它会影响所有通信尝试,有时我们只会在一天内看到针对API的数百个查询中的一些或没有查询。

有趣的是,我们可以使用SoapUI从我们的服务器进行相同的调用,它们工作正常。我们也没有看到任何有关机器时间漂移的证据。

堆栈跟踪和服务confiq包含在下面。关于导致这种情况的任何想法?

.NET Windows服务绑定配置

<binding name="Sevier_Binding" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" sendTimeout="00:10:00" maxBufferPoolSize="2147483647">
          <security mode="Transport">
            <transport clientCredentialType="Basic" proxyCredentialType="None" realm=""/>
            <message clientCredentialType="UserName" algorithmSuite="Default"/>
          </security>
        </binding>

堆栈跟踪

  

System.ServiceModel.Security.SecurityNegotiationException无法   为权威人士建立SSL / TLS安全通道   'EndpointRemoved'。空虚   HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage,   System.Runtime.Remoting.Messaging.IMessage)服务器堆栈跟踪:
  在   System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(引发WebException   webException,HttpWebRequest请求,HttpAbortReason abortReason)
  在   System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(时间跨度   超时)at   System.ServiceModel.Channels.RequestChannel.Request(消息消息,   TimeSpan超时)at   System.ServiceModel.Dispatcher.RequestChannelBinder.Request(消息   消息,TimeSpan超时)at   System.ServiceModel.Channels.ServiceChannel.Call(String action,   Boolean oneway,ProxyOperationRuntime操作,Object [] ins,   对象[]出局,TimeSpan超时)at   System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage   methodCall,ProxyOperationRuntime operation)at   System.ServiceModel.Channels.ServiceChannelProxy.Invoke(即时聊天   消息)

0 个答案:

没有答案