I’ve been trying to connect my UiStudio/Robot to the Orchestrator. I’ve followed the instructions; created a Tenant, Machine, Robot in the Orchestrator UI. In the Robot connection information I am inputting the correct machine name (system name for my laptop), the URL has been both https://demo.uipath.com or https://platform.uipath.com (even 1 time tried the full URL of Orchestrator when logged in), and the Machine Key I’m getting from the Orchestrator Machine definition.
My machine is a Windows10 Pro system, using FireFox 71.0 64-bit, and I’m connected via my Comcast account (like that has any effect, I hope not).
Every time I’m getting the same error message on failure to connect, it is:
The operation was canceled.
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.IO.Pipes.NamedPipeClientStream.ConnectInternal(Int32 timeout, CancellationToken cancellationToken, Int32 startTime)
at System.IO.Pipes.NamedPipeClientStream.<>c__DisplayClass21_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.Ipc.NamedPipe.NamedPipeClient1.<ConnectToServerAsync>d__5.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.Ipc.ServiceClient1.d__20.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.Ipc.ServiceClient1.<>c__DisplayClass17_01.<b__3>d.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.Ipc.IOHelpers.d__6.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.Ipc.IOHelpers.d__11`1.MoveNext()
Any ideas? This is keeping me from working on Level 3 - Advanced Training class exercises/assignments. Thanks in advance for any help.
Went to the Machine information and got the key value for it (stored it), and after closing that dialog I copied the URL I was currently at in FireFox (stored it).
Went into the Robot on my laptop machine, opened the Orchrstrator Settings page.
Pasted in the Key and URL information.
Clicked Connect button. It spun for a moment and gave the error message below
Details information:
Empty orchestrator api versions!
RemoteException wrapping System.NotSupportedException: Empty orchestrator api versions!
at UiPath.Service.Orchestrator.Clients.OrchestratorVersion.Init(HttpResponseHeaders headers)
at UiPath.Service.Orchestrator.Clients.OrchestratorClientFactory.d__2.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.Service.Orchestrator.Clients.OrchestratorClientFactory.d__1.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.Service.Orchestrator.OrchestratorController.<PerformConnect_LicenceKeyAsync>d__15.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at UiPath.Service.Orchestrator.OrchestratorController.<PerformConnect_LicenceKeyAsync>d__15.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.Service.Orchestrator.OrchestratorController.d__24.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.Service.Messages.MessageDispatcher.d__21.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.Service.Impl.RobotService.d__37.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.Ipc.Server.d__22.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.Ipc.Server.d__21.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.Ipc.Server.<>c__DisplayClass3_2.<<-ctor>b__5>d.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.Ipc.IOHelpers.d__6.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.Ipc.IOHelpers.d__11`1.MoveNext()
Well I’m totally frustrated. I’ve tried to follow the instructions. First off, what is the “Tenant” page? Is it the home page of the Portal when you first login (Services page, shows the Services I have available) - (UiPath) or is it the main page when you open the Orchestrator (UiPath Orchestrator)?
I’ve tried both of these as the URL for the Robot Orchestrator settings along with the Machine Key value I have. I’ve even tried to use the ‘demo.uipath.com’ value in place of the platform one.
I’m still getting the error message “Empty orchestrator api versions!” Anybody got any better ideas, any more ways to troubleshoot this problem. I’m going to need more than the standard documentation information. Thanks.
Okay, finally figured this thing out and found a post with more explicit information.
First, the Tenant page is the main page of Orchestrator itself and not the welcome/main page of the Portal when you first login.
Second, the URL you need from Orchestrator should be only this: https://platform.uipath.com/<account name>/<service name>
and not this with the extra junk after the Service Name (cut it off to get the correctly formed URL from above): https://platform.uipath.com/<account name>/<service name>/?fid=167716&tid=167794