Error: Could not obtain License. Please check Robot connection to Orchestrator

Installer(.exe or .msi): .msi

License type(Free, Trial/License code): License code

Studio/Robot version:19.4.4

Current behavior:

Hello Forum,

we just installed the orchestrator.
We followed the installation instructions and used the Powershell scripts to prepare the server. The website works and can be accessed from anywhere. Also the first machine (VDI) and the associated robot could be created successfully in Orchestrator. On the VDI, the current Studio version was installed using the instructions ‘How to fix your Studio installation / Licensing issues’ and the robot was successfully connected to the Orchestrator using the URL and the Machine Key (Connected, unlicensed).
After the start of the studio, however, every attempt to license the studio in Orchestrator fails with the error message: ‘Could not optain License. Please check Robot connection to Orchestrator…’. This was tried on another VDI with the same result. The Orchestrator website can easily be accessed from these VDIs.

The error message in the log file and Windows Event Viewer is identical and has been appended below.

Does anyone have any idea why?

Many thanks in advance for the support.
Marcus

Screenshot:

Robot Connection:
image

Log from VDI:

UiPath.Service.Host 19.4.4.0
System.AggregateException: One or more errors occurred. —> UiPath.Service.Orchestrator.Clients.OrchestratorHttpException: An error has occurred.
at UiPath.Service.Orchestrator.Clients.OrchestratorClientExtensions.d__3.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.OrchestratorBaseClient.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.Service.Orchestrator.Clients.OrchestratorClient.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.Service.Licenses.LicenseManager.d__7.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.ExecutionManager.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.Service.Messages.MessageDispatcher.d__19.MoveNext()
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at UiPath.Service.Core.MessageDispatcherExtensions.DispatchSync(IMessageDispatcher dispatcher, IMessage message)
at UiPath.Service.UiPathRemote.AcquireLicensedRobot(Int32 autoReleaseProcessId)
at SyncInvokeAcquireLicensedRobot(Object , Object , Object )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object inputs, Object& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
—> (Inner Exception #0) UiPath.Service.Orchestrator.Clients.OrchestratorHttpException: An error has occurred.
at UiPath.Service.Orchestrator.Clients.OrchestratorClientExtensions.d__3.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.OrchestratorBaseClient.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.Service.Orchestrator.Clients.OrchestratorClient.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.Service.Licenses.LicenseManager.d__7.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.ExecutionManager.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.Service.Messages.MessageDispatcher.d__19.MoveNext()<—
, HResult -2146233088

Hi,

Have you uploaded License to Orchestrator itself ?

To obtain license key from orchestrator you have to have “free” licenses in orchestrator itself, so it has to be licensed. Please check what license do you have and how many “free” license left.

Hi @BCHMarcus

Have you tried to contact our technical support?

Hi,

Thank you so much for your support. The problem is solved. The permission of the database user was not set correctly.

Best regards.

1 Like

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