Unattended Automation - Stuck in Running & not producing logs

Hello, thank you for taking a look at this.

I have 2 unattended automations that are using a dispatcher and performer model using REFramework with queues.

Previously this was working without error when triggering the job manually. However now I am noticing that when the job runs it seems to be stuck in a state where it is waiting for the execution to start. When I want to view the logs of the job while it is running, there are no logs to display. This makes me suspect that it is not reaching the step to run the workflow. The bot is using a VM to do the job and the machine status is indicating a green light as connected based off of the heartbeat.

I need some guidance on where to troubleshoot since I didn’t modify the workflows. The package versions are up to date for both performer and dispatcher. My suspicion is that something in Orchestrator is causing this point of failure. Thank you again!

What do you see when you go to Jobs section? is it showing “pending”? or running?

Regards
Sonali

Here are some screenshots.

Hi @Iron_Monger,

Can you please go through the below post and check if something similar is happening at your end as well?

Also, how often do you restart your VMs?

Regards
Sonali

The status of the job changed to faulted in the screenshot below.

I’m not sure when the last time the VM was restarted, but based off of the post you linked it appears to be a similar problem. The main difference is I don’t believe I am getting the error that the robot’s session is already active on another machine.

Hi @Iron_Monger,

This timeout issue can occur sometimes when there is a delay in making the connection.

It has happened for us as well few times, but usually starts working after sometimes.
For us, UiPath had suggested to move 24.10.6 as it had better ability/prolonged time period to try to make connection before actually timing out.

We have also noticed that sometimes when the VM disk space is quite full or temp folder is quite full, then also we have faced this issue, so clearing the space also helps.

Now coming back to your original issue, I would suggest to follow the steps they have followed in the post and see if it makes any difference for you.

Also to see if any user session is active on that VM, do below
Go to tenant-> monitoring-> user sessions → this will show you if on your particular VM(under hostname), any else user session is active or not.

Regards
Sonali

Hi @Iron_Monger,

Also, I would suggest restarting the VM as well.

Its a good idea to restart VMs on regular basis.

Regards
Sonali

Thank you for your guidance. I will be digging into this and will provide an update if I manage to solve the error or not.

1 Like

Good luck!!

I hope you come back with positive response :slight_smile:

Regards
Sonali

It looks like restarting the VM helped! The automation is now running as expected. Thank you for pointing me in the right direction. A lot of company stress has been avoided.

1 Like

Wow, I am glad to hear that!

Yes, it indeed is a good idea to restart VMs regularly. It helps in offloading data from past service runs and with any updates on the machine.

You can even consider creating an admin automation to restart your VMs regularly (weekly, daily, biweekly or monthly) whatever works for your organization.

Regards
Sonali

Hi @Iron_Monger,

Now that your issue is resolved, I would suggest to mark my post as a solution so this topic can be closed and benefit others for similar issues.

Thanks!

Regards
Sonali

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.