Add Queue Item hanging?

I am working on the Level 3 advanced training, and the walk through where you create a dispatcher and performer.

When I run the Dispatcher sequence, it pulls all of the data it needs from the excel file, but then just hangs at the “Add Queue Item” activity and times out. It stops with the error:

19.7.0+Branch.master.Sha.8c253d13718eed5c7db27daef6facd1fe1b0d067

Source: Add Queue Item

Message: The operation has timed out.

Exception Type: System.Exception

RemoteException wrapping System.Exception: The operation has timed out. —> RemoteException wrapping System.AggregateException: One or more errors occurred. —> RemoteException wrapping System.TimeoutException: The operation has timed out.

--- End of inner exception stack trace ---

at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task 1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task 1.get_Result()
at UiPath.Core.Activities.BaseQueueActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
— End of inner exception 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)

My sequence seems to be ok. I have re-checked it MANY times. In the Add Queue Item properties, I have quotes around the queue name.

In orchestrator, my machine, Robot, and process are all connected, and I have the queue created with the same name as what is in my sequence.

Does anyone have an idea what would make it hang up like that?

Thank you for any replies.

@Spaztian

It seems OK what ever you mentioned one is correct only. Could you please run the workflow in debug mode and check what is the exact error.

Yeah, I had already done that, but here is the log from the debugger. Everything runs fine, the Add Queue Item starts, and then it times out.

11:06:31.4382 Info {“message”:“BlankProcess1 execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:31.4382858-05:00”,“fingerprint”:“e9126271-0bd5-49af-b97a-d80a3ecea9b1”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“39580236-334c-4da4-b013-29eb2feef9b8”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”}
11:06:52.7373 Info {“message”:“BlankProcess1 execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:52.7217092-05:00”,“fingerprint”:“3ef30517-cbfc-4bb4-ade0-fa9365f9db14”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“854c55cd-68ee-40bd-a0d6-7f6b5ded33d2”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”}
11:06:53.8380 Trace {“message”:“Main Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:53.8340682-05:00”,“fingerprint”:“693c94fe-5a7b-470d-8e07-a7a008693227”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“854c55cd-68ee-40bd-a0d6-7f6b5ded33d2”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“System.Activities.DynamicActivity”,“DisplayName”:“Main”,“State”:“Executing”,“Variables”:null,“Arguments”:null}}
11:06:53.8629 Trace {“message”:“Dispatcher - UploadQueue Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:53.859002-05:00”,“fingerprint”:“6194ee26-42f4-4198-810d-2a7a29aee1b0”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“854c55cd-68ee-40bd-a0d6-7f6b5ded33d2”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“System.Activities.Statements.Sequence”,“DisplayName”:“Dispatcher - UploadQueue”,“State”:“Executing”,“Variables”:{“dt_transactions”:""},“Arguments”:null}}
11:06:54.1552 Trace {“message”:“Read Range Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:54.1552105-05:00”,“fingerprint”:“3626d56b-089d-4ad7-b258-66d96d9bfe5e”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“854c55cd-68ee-40bd-a0d6-7f6b5ded33d2”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Excel.Activities.ReadRange”,“DisplayName”:“Read Range”,“State”:“Executing”,“Variables”:{“dt_transactions”:""},“Arguments”:{“Workbook”:"",“Range”:"",“SheetName”:“Sheet1”,“WorkbookPath”:“C:\Users\caval\Documents\UiPath\Transactions.xlsx”}}}
11:06:54.2020 Trace {“message”:“Read Range Closed”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:54.2010878-05:00”,“fingerprint”:“080ff03b-e772-4cd6-b8aa-972de66b621f”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“854c55cd-68ee-40bd-a0d6-7f6b5ded33d2”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Excel.Activities.ReadRange”,“DisplayName”:“Read Range”,“State”:“Closed”,“Variables”:{“dt_transactions”:""},“Arguments”:{“Workbook”:"",“DataTable”:"",“Range”:"",“SheetName”:“Sheet1”,“WorkbookPath”:“C:\Users\caval\Documents\UiPath\Transactions.xlsx”}}}
11:06:54.2449 Trace {“message”:“For Each Row Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:54.2449701-05:00”,“fingerprint”:“19da4ca1-b243-4651-a12e-e5fa97814ae9”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“854c55cd-68ee-40bd-a0d6-7f6b5ded33d2”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Core.Activities.ForEachRow”,“DisplayName”:“For Each Row”,“State”:“Executing”,“Variables”:{“row”:“System.Data.DataRow”,“dt_transactions”:""},“Arguments”:{“Values”:“System.Data.DataRowCollection”,“DataTable”:""}}}
11:06:54.2449 Trace {“message”:“Body Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:54.249232-05:00”,“fingerprint”:“7d7c2ff2-b2e1-46ff-a094-5f16aae4a939”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“854c55cd-68ee-40bd-a0d6-7f6b5ded33d2”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“System.Activities.Statements.Sequence”,“DisplayName”:“Body”,“State”:“Executing”,“Variables”:{“row”:“System.Data.DataRow”,“dt_transactions”:""},“Arguments”:null}}
11:06:54.3927 Trace {“message”:“Add Queue Item Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:06:54.3927338-05:00”,“fingerprint”:“0ed15fa9-a1ec-4d7b-be3e-843c3ea0be70”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“854c55cd-68ee-40bd-a0d6-7f6b5ded33d2”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Core.Activities.AddQueueItem”,“DisplayName”:“Add Queue Item”,“State”:“Executing”,“Variables”:{“row”:“System.Data.DataRow”,“dt_transactions”:""},“Arguments”:{“Reference”:"",“QueueType”:“DispatchQ”,“TimeoutMS”:“0”,“OnUsCheck”:“231.36”,“ContinueOnError”:“False”,“ServiceBaseAddress”:"",“NotOnUsCheck”:“10”,“DueDate”:“01/01/0001 00:00:00”,“DeferDate”:“01/01/0001 00:00:00”,“CashIn”:“911.07”,“ItemInformationCollection”:""}}}
11:07:08.5871 Info {“message”:“BlankProcess1 execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:07:08.5871534-05:00”,“fingerprint”:“d8c50733-2bfc-4999-b69e-4c14c3b2e74a”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”}
11:07:09.8831 Trace {“message”:“Main Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:07:09.8781987-05:00”,“fingerprint”:“37d2009f-1f18-42cf-b148-1dd4d832903c”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“System.Activities.DynamicActivity”,“DisplayName”:“Main”,“State”:“Executing”,“Variables”:null,“Arguments”:null}}
11:07:09.9071 Trace {“message”:“Dispatcher - UploadQueue Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:07:09.9041226-05:00”,“fingerprint”:“d4a75547-043b-45bd-bd5c-5d515e9977f4”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“System.Activities.Statements.Sequence”,“DisplayName”:“Dispatcher - UploadQueue”,“State”:“Executing”,“Variables”:{“dt_transactions”:""},“Arguments”:null}}
11:07:10.2222 Trace {“message”:“Read Range Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:07:10.2222854-05:00”,“fingerprint”:“603a58ec-a281-4df0-a8ab-e5b222eb8e3d”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Excel.Activities.ReadRange”,“DisplayName”:“Read Range”,“State”:“Executing”,“Variables”:{“dt_transactions”:""},“Arguments”:{“Workbook”:"",“Range”:"",“SheetName”:“Sheet1”,“WorkbookPath”:“C:\Users\caval\Documents\UiPath\Transactions.xlsx”}}}
11:07:10.2852 Trace {“message”:“Read Range Closed”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:07:10.2852076-05:00”,“fingerprint”:“1beabdce-ff0e-4227-aac7-a7c0ebd4948c”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Excel.Activities.ReadRange”,“DisplayName”:“Read Range”,“State”:“Closed”,“Variables”:{“dt_transactions”:""},“Arguments”:{“Workbook”:"",“DataTable”:"",“Range”:"",“SheetName”:“Sheet1”,“WorkbookPath”:“C:\Users\caval\Documents\UiPath\Transactions.xlsx”}}}
11:07:10.3164 Trace {“message”:“For Each Row Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:07:10.3164512-05:00”,“fingerprint”:“7fade9ac-e4b6-4fa1-986d-18de2e984e65”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Core.Activities.ForEachRow”,“DisplayName”:“For Each Row”,“State”:“Executing”,“Variables”:{“row”:“System.Data.DataRow”,“dt_transactions”:""},“Arguments”:{“Values”:“System.Data.DataRowCollection”,“DataTable”:""}}}
11:07:10.3633 Trace {“message”:“Body Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:07:10.363315-05:00”,“fingerprint”:“c793a1a5-2aaf-4bc4-bbf4-def568bf32bb”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“System.Activities.Statements.Sequence”,“DisplayName”:“Body”,“State”:“Executing”,“Variables”:{“row”:“System.Data.DataRow”,“dt_transactions”:""},“Arguments”:null}}
11:07:10.5776 Trace {“message”:“Add Queue Item Executing”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:07:10.5776708-05:00”,“fingerprint”:“14faa492-2746-4f66-bd6d-b5beb94cf2a4”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Core.Activities.AddQueueItem”,“DisplayName”:“Add Queue Item”,“State”:“Executing”,“Variables”:{“row”:“System.Data.DataRow”,“dt_transactions”:""},“Arguments”:{“Reference”:"",“QueueType”:“DispatchQ”,“TimeoutMS”:“0”,“OnUsCheck”:“231.36”,“ContinueOnError”:“False”,“ServiceBaseAddress”:"",“NotOnUsCheck”:“10”,“DueDate”:“01/01/0001 00:00:00”,“DeferDate”:“01/01/0001 00:00:00”,“CashIn”:“911.07”,“ItemInformationCollection”:""}}}
11:09:44.7021 Trace {“message”:“Add Queue Item Faulted”,“level”:“Trace”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:09:44.7021895-05:00”,“fingerprint”:“e390e1c1-2b84-4360-9020-9367f12166ee”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“fileName”:“Main”,“activityInfo”:{“Activity”:“UiPath.Core.Activities.AddQueueItem”,“DisplayName”:“Add Queue Item”,“State”:“Faulted”,“Variables”:{“row”:“System.Data.DataRow”,“dt_transactions”:""},“Arguments”:{“Reference”:"",“QueueType”:“DispatchQ”,“TimeoutMS”:“0”,“OnUsCheck”:“231.36”,“ContinueOnError”:“False”,“ServiceBaseAddress”:"",“NotOnUsCheck”:“10”,“DueDate”:“01/01/0001 00:00:00”,“DeferDate”:“01/01/0001 00:00:00”,“CashIn”:“911.07”,“ItemInformationCollection”:""}}}
11:11:26.8947 Info {“message”:“BlankProcess1 execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-09-04T11:11:26.8947793-05:00”,“fingerprint”:“fdcee0ba-b40c-46a7-9928-9dd80efa85b0”,“windowsIdentity”:“DESKTOP-4VHPRA5\caval”,“machineName”:“DESKTOP-4VHPRA5”,“processName”:“BlankProcess1”,“processVersion”:“1.0.1”,“jobId”:“ec33957b-5d10-41d0-b371-b1a834dcff69”,“robotName”:“Section 3”,“machineId”:201964,“totalExecutionTimeInSeconds”:258,“totalExecutionTime”:“00:04:18”,“fileName”:“Main”}

@Spaztian, Hey man did ytou ever solve this issue?

Please help. I am getting the same error.

Never could figure it out. Honestly, it stopped me cold in progressing. Even after skipping this and moving on, I still had the same problem of server timing out with other projects.