Error: A task was canceled

Hi everybody,

I have a known problem when I try to publish my package to the orchestrator.


I already tried the solutions that people have given in the forum but still without success.

First I tried in the company to publish but failed.
So I tried in my home to publish the package but still, it shows the same error:

"Error: A task was canceled. —> System.ServiceModel.FaultException: A task was canceled.

Server stack trace:
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.PublishPackage(String packFilePath, Int32 timeoutSeconds)
at UiPath.Models.UiPathDuplexProxy.PublishPackage(String packFilePath, Int32 timeoutSeconds)
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —"

The link to the orchestrator that I use is:

Hope that there is someone that knows how to fix it.

Hi @eli,
This may be caused by proxy - please see the link:
as suggested by @Ovi on UiPath Orchestrator Issue - #4 by ovi
I hope it helps.

1 Like