Orchestrator issue – The operation has timed out

Hi all,
I am having an issue with contacting Orchestrator from UiPath activities.
I get the following error for activities like Get Asset, Add Queue Item… basically anything that tries to connect to orchestrator. What is strange is that this does not always happen, but only sometimes and without changing anything. So I’ll run the workflow and it can add the queue item, and I run it again and suddenly I get this error.


I have no trouble manually connecting to orchestrator (browser), the robot is successfully connected to orchestrator (otherwise it would NEVER work) and the Queues and Assets are correct.
So I don’t get how this can happen and it is really important since this is always supposed to work.
I have last versions of UiPath (2018.2.3) and Orchestrator (2018.2.3).
Anyone has any idea on what could be the cause?


Hi @Brett22 do you have any log file?
Location: “c:\users\AppData\Local\UiPath\Logs”

Here is the message and stacktrace of the error and below is the log message obtained. I did this only with a test workflow which have a Get Asset activity inside a try catch, that’s all.

16:42:55.7806 Info {“message”:“partage execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-07-05T16:42:55.6746601+02:00”,“fingerprint”:"",“windowsIdentity”:"",“machineName”:"",“processName”:“partage”,“processVersion”:“1.0.6738.28122”,“fileName”:“test”,“jobId”:"",“robotName”:""}
16:42:57.1117 Error {“message”:“MESSAGE : The operation has timed out… STACKTRACE : at UiPath.Core.Activities.BaseAssetActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)\r\n at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)\r\n at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)”,“level”:“Error”,“logType”:“User”,“timeStamp”:“2018-07-05T16:42:57.1117243+02:00”,“fingerprint”:"
16:42:57.1117 Info {“message”:“partage execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-07-05T16:42:57.1157228+02:00”,“fingerprint”:"",“windowsIdentity”:"",“machineName”:"",“processName”:“partage”,“processVersion”:“1.0.6738.28122”,“fileName”:“test”,“jobId”:"",“robotName”:"*",“totalExecutionTimeInSeconds”:1,“totalExecutionTime”:“00:00:01”}

Hey @Brett22
That seems to happen because of some server issues sometimes, if you’ll try a little later it may work again, could you try reconnection your robot to the orchestartor?

This has happened since I updated everything to the last version, so it is not temporary as it has happened everyday.
And yes I have tried removing the robot from orchestrator and reconnecting it (kind of like resetting everything).
The strangest thing is that it happens randomly.
For instance, I have tried to put it in a loop and execute the Get Asset activity 100 times. Well sometimes it got all OK, sometimes 70 failed, others 60, others 10… it seems completely random.
This is quite a crucial aspect for the project and I could put loops everywhere I call orchestrator but it wouldn’t be quite convenient.

@Brett22, did you manage to get this issue resolved? I’m having a similar issue ‘The operation has timed out’ with a ‘get transaction item’ activity from the Orchestrator

1 Like

@Brett22 @selrac
I’m also having exactly the same issue, with the same version (18.2.3).

I wonder if this issue has been resolved by a later version?

@Brett22 @selrac @troyq

I’m running 18.4.1 and am also getting the same error. Seems like the newest version has not fixed this issue. #releases:184 #rpa-dev:orchestrator

Same error occurs in 18.4 when adding a queue to Orchestrator and getting a transaction item: the operation has timed out)) It happens sometimes, with peaks up to 10% probability.

I’m also getting the same error message today when trying to add queue items on the community version of Orchestrator.

Maybe the traffic on the community orchestrator is super-high today and it’s causing issues?

Even today i am facing the issue, when i am trying to add the Queue Items in Orchestrator.

Error message:
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Exception: The operation has timed out. ----> System.AggregateException: One or more errors occurred. ----> System.TimeoutException: The operation has timed out.

— End of inner ExceptionDetail stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
at UiPath.Core.Activities.BaseQueueActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
— End of inner ExceptionDetail stack trace —
at UiPath.Core.Activities.BaseQueueActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

1 Like

kaluri, are you sure that this error happened due to problems with Orchestrator? Try to test your project, if you can add dummy queue items, etc. If there is a problem with Orchestrator servers, then make a pause for a couple of hours, and retry. Good luck!

1 Like

Thanks and let me try after sometime :+1:

1 Like

I’m running UiPath 2019.8.0 and having the same timeout issue. I think the issue is still not resolved. Can anybody have some clue how can we avoid or minimize the issue??

Thanks in advance!

Have you solved the problem already? Check it again, try on different instance, etc.

Actually I have a bulk of queue items to upload to the orchestrator queue using ‘Add Queue Item’ activity. When I execute this activity, the items are uploaded in start but after some times the activity gets faulted and displays an error: ‘The operation has timed out’. Can anyone suggest its solution or how to minimize this error??


Hasssan_Ali, can you share some logs of execution? But make sure to mask sensitive data first.

I am facing this “Add Queue Item: The operation has timed out.” error , 2 hours before my bot was running fine. Now iam getting this.
Please help me with this issue on how to resolve.
Thanks in advance.

Hi all,

Did someone found the solution to this Issue?

please update.

thanks in Advance.

1 Like

I too have all of a sudden experienced this issue. We ran for over a year on version 2018.4.x without any issues, but then upgraded to 2019.x and started to see the issue. I opened a ticket with UiPath Support, but so far, that has really not gone any where or made any real process.
Would highly suggest that anyone experiencing this same issue open a support ticket with UiPath to get this particular issue more visibility and to get addressed faster.

1 Like