Hi ,
A process is scheduled run from Orchestrator every day. Every once or twice in a month the process is just stuck for many hours without any log or throwing any exception. When this happens we usually kill the process and start it again.
Rest of the days the process works fine.
Please someone help me understand why this is happening and how to prevent this.
This is the error from event logs :
SubmitHeartbeat: System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Utils.OrchestratorHttpHandler.d__3.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Utils\OrchestratorHttpHandler.cs:line 28
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.d__58.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Orchestrator.Clients.OrchestratorClient.d__34.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\Clients\OrchestratorClient.cs:line 106
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at UiPath.Service.Orchestrator.Notifications.HeartbeatGenerator.d__15.MoveNext() in D:\a\1\s\Robot\UiPath.Service\Orchestrator\HeartbeatGenerator.cs:line 172