Error after updating version

Hi, in the morning, the studio was already updated and it was adding dependencies etc.

However, my project couldn’t run. It had an error thrown.

18.3.0+Branch.master.Sha.e9cf0bdab85f4bcf826ce750c59905c7ac073d5e

One or more errors occurred.

System.AggregateException: One or more errors occurred. —> System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func1 action, Int32 timeoutMS, Int32 retryCount) --- End of inner exception stack trace --- at UiPath.Models.Retry.Do[ResultType](Func1 action, Int32 timeoutMS, Int32 retryCount)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.CheckAvailability()
at UiPath.Models.UiPathDuplexProxy.GetRobotConnectionStatus()
at UiPath.Studio.Plugin.Workflow.Services.RobotStudioBridge.Execute(WorkflowDocument document, Boolean isDebugging)
—> (Inner Exception #0) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #1) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #2) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #3) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #4) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #5) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #6) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #7) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #8) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

—> (Inner Exception #9) System.ServiceModel.ActionNotSupportedException: The message with Action ‘http://tempuri.org/IUiPathRemoteDuplexContract/IsAlive’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
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 UiPath.Models.IUiPathRemoteDuplexContract.IsAlive()
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.IsAlive(Boolean retrying)
at UiPath.Models.UiPathDuplexProxy.FaultTolerantProxy.b__14_0()
at UiPath.Models.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)<—

Pls help.

Thank you xoxo

Hello,
Can you try closing the robot tray (Settings>Close) and Studio and opening them again.
Either that or log-out / log-in.

The error is still there.
The studio version is 2018.3.0
The robot version is 2018.2.4

You mean the version in the robot tray > settings window is 18.2.4?

image

Do you have the following folder in the %localappdata% location ?

Can you please tell me exactly what you did to restart (settings>quit or log-out/log in)

Hi, it works again after I end the robot in the task scheduler.

1 Like

Yes, the problem was that UiPath.Service.Host process (the robot ) was not restarted at all after the upgrade.
This can be done by killing the process in task scheduler, restarting the robot tray or logging out/logging in.

Thanks.

2 Likes