START failed for Robot. Timeout waiting for robot to register.
Hi
We have a problem with starting robot from RM
There is a message from Audit: START failed for Robot: robot_name. Timeout waiting for robot to register.
Message from RPAService log:
Error | 12/07/2021 03:29:15.110 PM | 1 | MTA | Scheduler | Invalid query
System.Management.ManagementException: Invalid query
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Pega.RpaService.Common.UserHelper.GetLocalUserFullName(String userName)
at Pega.RpaService.Scheduler.LogonEngine..ctor(Process logonProcess, String userName, SecureString password)
at Pega.RpaService.Scheduler.LockScreenLogonProcessor.Logon(String userName, SecureString password, Nullable`1 sessionId)
at Pega.RpaService.Scheduler.SchedulerProgram.UnlockScreenAndLogon(String userName, SecureString password, Nullable`1 sessionId)
at Pega.RpaService.Scheduler.SchedulerProgram.Main(String[] args)
However, when we run the same package from VM, everything is ok, because the robot starts and processes cases from the queue.
We have checked configuration from these links:
Hi
We have a problem with starting robot from RM
There is a message from Audit: START failed for Robot: robot_name. Timeout waiting for robot to register.
Message from RPAService log:
Error | 12/07/2021 03:29:15.110 PM | 1 | MTA | Scheduler | Invalid query
System.Management.ManagementException: Invalid query
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Pega.RpaService.Common.UserHelper.GetLocalUserFullName(String userName)
at Pega.RpaService.Scheduler.LogonEngine..ctor(Process logonProcess, String userName, SecureString password)
at Pega.RpaService.Scheduler.LockScreenLogonProcessor.Logon(String userName, SecureString password, Nullable`1 sessionId)
at Pega.RpaService.Scheduler.SchedulerProgram.UnlockScreenAndLogon(String userName, SecureString password, Nullable`1 sessionId)
at Pega.RpaService.Scheduler.SchedulerProgram.Main(String[] args)
However, when we run the same package from VM, everything is ok, because the robot starts and processes cases from the queue.
We have checked configuration from these links:
https://docs-previous.pega.com/pega-rpa/enabling-pega-rpa-service-simulate-secure-attention-sequence
Could you please tell me how to resolved it?
Hi @PawelB84,
The error doesn't seem to be related with the Package but with the RPA Service configuration. Did you configure the credentials to be used in the CredsUtil? If this is correct it might also be the splash screen what is falling. Did you monitor the startup?, when is it getting stuck, starting the Windows session or starting the Robot Runtime?