Error in UiRobot service

Hi, am getting following error in UiRobot services in tray icon:

image

And in the log file am getting following message:

18:37:18.0074 => [INFO] [UiPath.Studio.exe] [1] The settings file ‘C:\Users\Robo2\AppData\Local\UiPath\UiStudio.v2.settings’ could not be found.
18:37:18.1954 => [INFO] [UiPath.Studio.exe] [1] ApplyReleasesImpl: About to create shortcuts for UiPath.Studio.exe, rootAppDir C:\Users\Robo2\AppData\Local\UiPath
18:37:18.3244 => [INFO] [UiPath.Studio.exe] [1] ApplyReleasesImpl: Creating shortcut for UiPath.Studio.exe => C:\Users\Robo2\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\UiPath\UiPath.lnk
18:37:18.3244 => [INFO] [UiPath.Studio.exe] [1] ApplyReleasesImpl: appUserModelId: com.squirrel.UiPath.UiPath.Studio | toastActivatorCLSID: cd4206b4-70f2-5276-9502-13a0edb689a9
18:37:18.4134 => [INFO] [UiPath.Studio.exe] [1] ApplyReleasesImpl: About to create shortcuts for UiPath.Agent.exe, rootAppDir C:\Users\Robo2\AppData\Local\UiPath
18:37:18.4694 => [INFO] [UiPath.Studio.exe] [1] ApplyReleasesImpl: Creating shortcut for UiPath.Agent.exe => C:\Users\Robo2\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\UiPath\UiPath.lnk
18:37:18.4694 => [INFO] [UiPath.Studio.exe] [1] ApplyReleasesImpl: appUserModelId: com.squirrel.UiPath.UiPath.Agent | toastActivatorCLSID: 97f22354-1eb3-511e-9c99-01631708a885
18:37:19.6924 => [INFO] [UiPath.Studio.exe] [1] Set native thread language to LangId=0x0009
18:37:20.3304 => [INFO] [UiPath.Studio.Shared.MVVM.Commands.CommandManager] [1] Application.MainWindow is null, cannot subscribe to keyboard events, subscribed to Application.Activated event
18:37:33.1794 => [WARN] [UiPath.Studio.exe] [9] Acquire orchestrator license error: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/UiPath/service/duplex/agent/Robo2 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> System.IO.PipeException: The pipe endpoint ‘net.pipe://localhost/UiPath/service/duplex/agent/Robo2’ could not be found on your local machine.
— End of inner exception stack trace —

Server stack trace:
at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.CommunicationPool`2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
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.GetRobotConnectionStatus()
at UiPath.Models.UiPathDuplexProxy.GetRobotConnectionStatus()
at UiPath.Studio.Shell.Licensing.LicenseOrchestratorService.GetRobotConnectionStatus(UiPathDuplexProxy proxy)
at UiPath.Studio.Shell.Licensing.LicenseOrchestratorService.AcquireLicensedRobot()
18:37:50.8030 => [INFO] [UiPath.Studio.exe] [1] IUpdateManager: Starting automatic update
18:37:50.8480 => [INFO] [UiPath.Studio.exe] [1] CheckForUpdateImpl: Generated new staging user ID: 30628adc-4d38-5e9a-b81f-442f2baefc1a
18:37:50.8910 => [INFO] [UiPath.Studio.exe] [1] CheckForUpdateImpl: Downloading RELEASES file from
18:37:50.8910 => [INFO] [UiPath.Studio.exe] [1] FileDownloader: Downloading url:

Can anyone help me out on the same.

And I tried to check in services and I can’t see any UiRobot services… am using community edition and it installed in location: C:\Users\Robo2\AppData\Local\UiPath

Thank you,
Gokul.

1 Like

Did you correctly connect the bot with orchestrator?

1 Like

Hi,

@anmolk171 am not using any orchestrator, just am trying to run package file from the UiRobot.

1 Like

It will not work because Bot tray will show you the process which you have pushed into the orchestrator if you will not connect the bot with orchestrator then it will not show you the processes in tray.

Hope it help.

1 Like

@gokulvasant

You can publish your project locally if you are not connected to orchestrator while publishing the workflow you will see the option of “Robot Defaults”, please see the screenshot

image

After you publish you can see the project in the robot tray, corresponding to that you see the download button, it will download the project and you can run your process from robot tray.

image

Don’t forget to start the Robot service

1 Like

Hi @gokulvasant,

Can you check if the services are running:

  • Run → services.msc

  • Look for UiPath Robot Service and verify if the status is Running.

    image

Regards,
PD

1 Like

Hi, @gokulvasant,
Did you got the resolution for this error?

I have this issue too. The Robot is not connecting and says ‘Error Connecting to Robot Service’.

  1. The UIPath robot process is running in Services.msc

  2. The created robot are in available status in Orchestrator.

  3. Log shows below error - [WARN] [UiPath.Studio.exe] [8] Acquire orchestrator license error.

    09:50:11.5077 => [INFO] [UiPath.Studio.exe] [1] The settings file ‘C:\Users\rswarnka\AppData\Local\UiPath\UiStudio.v2.settings’ could not be found.
    09:50:11.5546 => [INFO] [UiPath.Studio.exe] [1] Set native thread language to LangId=0x0009
    09:50:11.7460 => [INFO] [UiPath.Studio.Shared.MVVM.Commands.CommandManager] [1] Application.MainWindow is null, cannot subscribe to keyboard events, subscribed to Application.Activated event
    09:50:13.7492 => [WARN] [UiPath.Studio.exe] [8] Acquire orchestrator license error: System.ServiceModel.FaultException1[System.ServiceModel.ExceptionDetail]: fullName (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.ArgumentException: fullName at UiPath.Models.UserIdentity..ctor(String fullName) in D:\a\1\s\Robot\UiPath.Robot.Core\UserIdentity.cs:line 28 at UiPath.Service.Orchestrator.OrchestratorController.<>c__DisplayClass24_0.<OnGetRobotConnectionAsync>b__0(RobotStatus r) in D:\a\1\s\Robot\UiPath.Service\Orchestrator\OrchestratorController.cs:line 495 at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate) at UiPath.Service.Orchestrator.OrchestratorController.<OnGetRobotConnectionAsync>d__24.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\OrchestratorController.cs:line 495 --- 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.Me...). 10:22:56.6066 => [INFO] [UiPath.Studio.exe] [1] Set native thread language to LangId=0x0009 10:22:56.7849 => [INFO] [UiPath.Studio.Shared.MVVM.Commands.CommandManager] [1] Application.MainWindow is null, cannot subscribe to keyboard events, subscribed to Application.Activated event 10:22:58.7930 => [WARN] [UiPath.Studio.exe] [9] Acquire orchestrator license error: System.ServiceModel.FaultException1[System.ServiceModel.ExceptionDetail]: fullName (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
    System.ArgumentException: fullName
    at UiPath.Models.UserIdentity…ctor(String fullName) in D:\a\1\s\Robot\UiPath.Robot.Core\UserIdentity.cs:line 28
    at UiPath.Service.Orchestrator.OrchestratorController.<>c__DisplayClass24_0.b__0(RobotStatus r) in D:\a\1\s\Robot\UiPath.Service\Orchestrator\OrchestratorController.cs:line 495
    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate)
    at UiPath.Service.Orchestrator.OrchestratorController.d__24.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\OrchestratorController.cs:line 495
    — 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.Me…).
    10:42:47.8357 => [INFO] [UiPath.Studio.exe] [1] Set native thread language to LangId=0x0009
    10:42:48.0261 => [INFO] [UiPath.Studio.Shared.MVVM.Commands.CommandManager] [1] Application.MainWindow is null, cannot subscribe to keyboard events, subscribed to Application.Activated event
    10:42:49.9402 => [WARN] [UiPath.Studio.exe] [8] Acquire orchestrator license error: System.ServiceModel.FaultException1[System.ServiceModel.ExceptionDetail]: fullName (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.ArgumentException: fullName at UiPath.Models.UserIdentity..ctor(String fullName) in D:\a\1\s\Robot\UiPath.Robot.Core\UserIdentity.cs:line 28 at UiPath.Service.Orchestrator.OrchestratorController.<>c__DisplayClass24_0.<OnGetRobotConnectionAsync>b__0(RobotStatus r) in D:\a\1\s\Robot\UiPath.Service\Orchestrator\OrchestratorController.cs:line 495 at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func`2 predicate)
    at UiPath.Service.Orchestrator.OrchestratorController.d__24.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\OrchestratorController.cs:line 495
    — 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.Me…).

How do I troubleshoot this?

Hi @UIPDragon

Any chance some protection software/group policies are blocking the files, vide this line:
09:50:11.5077 => [INFO] [UiPath.Studio.exe] [1] The settings file ‘C:\Users\rswarnka\AppData\Local\UiPath\UiStudio.v2.settings’ could not be found.

Is the file in that location?

@UIPDragon,

There is many reasons for this error and your scenario and my scenario is different it seems like that. Have you solved this issue??

Thank you all for suggestions, I have changed my VM and tried now it’s working fine.