tags:

views:

54

answers:

0

Hi,

We have server to server WCF service call failing and throwing following exception message. We are using certificate to authenticate to downstream services. The services are load balanced, but keeping just one server on load balancer also shows up the same behaviors. These failures are not consistent. Any help is greatly appreciated.

System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: The message could not be processed. This is most likely because the action 'http://tempuri.org/IEnquiry/SavePriceQuoteEnquiry' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding. --- End of inner exception stack trace ---

Server stack trace: at System.ServiceModel.Security.SecuritySessionClientSettings1.SecurityRequestSessionChannel.ProcessReply(Message reply, TimeSpan timeout, SecurityProtocolCorrelationState correlationState) at System.ServiceModel.Security.SecuritySessionClientSettings1.SecurityRequestSessionChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at MyNamespace.EnquiryServicesProxy.IEnquiry.SavePriceQuoteEnquiry(PriceQuoteContract priceQuoteContract) at MyNamespace.EnquiryServicesProxy.EnquiryClient.SavePriceQuoteEnquiry(PriceQuoteContract priceQuoteContract) at MyNamespace.PriceQuoteController.SavePriceQuoteInfo(PriceQuote priceQuoteInfo)