This issue may happen when MFA (multi-factor authentication) is turned ON for the robot machine. Having MFA enabled on the machine doesn’t let the robot login into the machine and run workflows in Unattended mode.
To resolve the issue you may try these:
-
Remove the group policy that enforces MFA on the machine.
-
Check internally with your Network team to see why is taking so much time to connect your Robot to the Orchestrator server.
-
Increase the UIPATH_SESSION_TIMEOUT system variable to 300 and restart the machine. This will allow more time for the second session to be established. If you don’t have that variable created, create it.
-
Make sure that the robot is not disconnected from Orchestrator.
-
In Orchestrator, edit your robot settings and enable the LoginToConsole to active and set its value to No, and make sure that the Robot machine is signed out (in a cmd.exe type logoff) before running the job from the Orchestrator.
-
Check if you installed the Robot in Service-Mode. For that in services.msc you should see UiPath Robot service running under a Local System account.
- Check this documentation as well Frequently Encountered Robot Errors