Timeout reached when the remote desktop is not connected

I’ve community edition unattended robot. My process opens a chrome browser and type in ‘user’ and ‘password’ with the parameter values and click the ‘login’ button. It runs fine from orchestrator if I connected to the remote machine(which the robot runs ) by remote desktop.
However, if I disconnected the remote machine where the robot runs, it always failed with this error.

==========================================================================
Timeout reached.

RemoteException wrapping UiPath.Core.ElementOperationException: Timeout reached. —> RemoteException wrapping System.Runtime.InteropServices.COMException: Timeout reached.
at UiPath.UiNodeClass.BringIntoView()
at UiPath.Core.UiElement.BringToForeground()…

And the log on the machine shows error.

Error {“message”:“Type Into ‘INPUT user_name’: Timeout reached.”,“level”:“Error”,“logType”:"Default …

I set the Robot as ‘LoginToConsole’ as false. But still no luck.

Is there a way to run the process regardless remote desktop running?

Thanks.

Any comments are welcome… Please help me on this issue. Thanks.

Hi @smyung
My suggestion is to add Log Message activities for every major milestone in your automation. So rather than checking how your Robot is doing via Remote Desktop, you can check how the Robot is doing via the Job Logs.

After some investigation, found out that the robot behaves differently per version.

With Robot version 2019.10.2, it works without remote desktop running if I disable ‘LoginToConsole’ . I restarted the robot at target after this setting. As soon as the process started, the remote desktop connection is closed and the process is done successfully.

However, with Robot version 2020.6.0, it always requires to have remote desktop opened. Without the remote desktop running, the ‘timeout reached’ error happened as I mentioned above. I modified ‘LoginToConsole’ like I did for Robot version 2019.10.2, but it still required to have remote desktop opened.

But I don’t think remote desktop is required for the robot. Is there a way to make the robot working without remote desktop running?

Thanks.

1 Like