Orchestrator error - Error while copying content to a stream

Hello,

I am getting following error when I try to publish my project on Orchestrator. Please assist.

Error: Publish of workflow project to Orchestrator failed. Error while copying content to a stream.

Error: System.ApplicationException: Publish of workflow project to Orchestrator failed. Error while copying content to a stream. β€”> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Error while copying content to a stream.

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, PublishFeedType feedType)
at UiPath.Models.UiPathDuplexProxy.PublishPackage(String packFilePath, Int32 timeoutSeconds, PublishFeedType feedType)
at UiPath.Studio.Plugin.Workflow.Project.WorkflowProjectModelFactory.PublishToOrchestrator(Int32 timeout, String packFilePath, IWorkflowProject workflowProject)
β€” End of inner exception stack trace β€”
at UiPath.Studio.Plugin.Workflow.Project.WorkflowProjectModelFactory.PublishToOrchestrator(Int32 timeout, String packFilePath, IWorkflowProject workflowProject)
at UiPath.Studio.Plugin.Workflow.Project.WorkflowProjectModelFactory.<>c__DisplayClass48_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
β€” End of stack trace from previous location where exception was thrown β€”
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Plugin.Workflow.Project.WorkflowProjectModelFactory.d__48.MoveNext()
β€” End of stack trace from previous location where exception was thrown β€”
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Studio.Plugin.Workflow.Project.WorkflowProjectModelFactory.d__46.MoveNext(), HResult -2146232832

Hi @yusufht,

Are you still getting this error, i think the error is due to orchestrator platform downtime.

Could you publish again and let us know if the issue persists.

Hi @anil5 I am also facing the same issue. please let me know the if you have any solution for this

It is not a network issue, checked the network and connectivity everything is fine. Also my other team members are able to publish the package at the same time.

I am also facing this issue.

I faced this problem too.
Firstly, make sure that you are connected to Orchestrator on your navigator. Then, open the Task Manager and end all tasks of UiPath in the Details tab.
After that, reopen UiPath Studio and publish your project.
It should work. That’s how I solved the problem

1 Like