Publish Library to Orchestrator failed

Hi,

I tried publishing my library to orchestrator… It failed…

Error is :

Error: System.ApplicationException: Publish of library project to Orchestrator failed. Package cannot be published to the shared feed —> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Package cannot be published to the shared feed

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) in D:\a\1\s\Common\UiPath.Service.Api\Client\UiPathDuplexProxy.cs:line 95
at UiPath.Studio.Plugin.Workflow.Project.WorkflowProjectModelFactory.PublishToOrchestrator(Int32 timeout, String packFilePath, IWorkflowProject workflowProject) in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\WorkflowProjectModelFactory.cs:line 421
— End of inner exception stack trace —
at UiPath.Studio.Plugin.Workflow.Project.WorkflowProjectModelFactory.PublishToOrchestrator(Int32 timeout, String packFilePath, IWorkflowProject workflowProject) in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\WorkflowProjectModelFactory.cs:line 425
at UiPath.Studio.Plugin.Workflow.Project.WorkflowProjectModelFactory.<>c__DisplayClass49_0.b__0() in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\WorkflowProjectModelFactory.cs:line 408
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__49.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\WorkflowProjectModelFactory.cs:line 408
— 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__47.MoveNext() in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\Project\WorkflowProjectModelFactory.cs:line 372, HResult -2146232832

@HareeshMR Any suggestions?

2 Likes

these condition u need to follow before publish

  1. check your folder project size, should not more than 30mb
  2. Open proxy (check by Infra if possible)
  3. Check certificate
1 Like

@Pankit

Are you sure your robot is connected to the studio? and make sure the robot is assigned to any environment in the orchestrator

1 Like

Yes… Robot is connected to studio and assigned to an environment as well…

Folder size is hardly 8 kB…
How can we check for proxy and certificate?

Are you using the uipath platform orchestrator or your own orchestrator server? @Pankit

1 Like

uiPath platform orchestrator…

Many questions :slight_smile:, but can you post the screenshot of the robots page and the robot tray

1 Like


HERE!

superb @Pankit

Can you try just restarting the studio and make sure you select the orchestrator while publishing from the studio …

1 Like

Nope.Not working

Sorry @Pankit

Not able to figure out the issue here. :slight_smile: Will let you know if I found any

1 Like

I just found THE SOLUTION HERE in previous posts… It worked!

Thanks for all your input guys!

17 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

Thanks! You also have to make sure the Deployment type is showing as Internal not External. I presume this changes varying on what setup you have but for a basic setup this makes sense.

3 Likes