Hello,
We are currently using UiPath Orchestrator 2020.10 (on-premises) with Robots in version 2020.10. We have around 50 processes running on two virtual machines (Azure Windows 10 VM). Each process is configured to use a different user, and all robots are set as unattended with the “Login to Console” option set to false.
Over the past three weeks, we’ve been experiencing faulted jobs with the following error message:
Info: Could not start executor. A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)
RemoteException wrapping System.Exception: Could not start executor. A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520).
This error occurs sporadically and seemingly randomly for different users, VMs, and processes. It doesn’t seem to be related to a peak in triggers. Typically, retrying the process shortly after results in it running without any issues. Our virtual machines have ample CPU resources.
We have tried various solutions, including extending the UiPath_SESSION_TIMEOUT environment variable to 60 seconds, resetting Robots, and even restarting the VMs, but the error still persists.
One noteworthy observation is that this error does not occur when the bot is started from a trigger or manually run from Orchestrator after we manually log in to the bot’s user using Remote Desktop Connection (RDC). What’s unusual is that after the job ends, we used to be automatically logged out from RDC, however recently, the session isn’t ending, and we can still see the user logged in.
It’s also worth mentioning that once we were logged in with one user on the VM and started a job manually from Orchestrator for another user, we monitored the task manager and noticed that the robot’s user didn’t appear in the logged-in users list even for a second.
We are seeking your insights and expertise in resolving this session error. Any ideas on what could be causing this issue and how we can fix it would be greatly appreciated.
Thank you in advance for your assistance!