ICommitNumbersTo3E.Handle

// Job ID: #260818
using AG.A1.Scheduler.Project.Contracts.Contracts;

var commitNumbersTo3E = Activate<ICommitNumbersTo3E>();
await commitNumbersTo3E.Handle(
    FromJson<CommitNumbersTo3ERequest>("{\"NumbersCommitRequestList\":[{\"Id\":534179,\"Value\":0.0,\"IsAutoApprove\":true}],\"TerminationId\":30725,\"TerminationReason\":\"Other - Other\",\"ProjectId\":2114406,\"SubmittedBy\":7814,\"SubmittedByName\":\"Mythili Sailaja\"}"),
    null,
    null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

4/18/2025 11:12:11 AM (+2m 28.383s) Failed

An exception occurred during performance of the job.

System.Threading.Tasks.TaskCanceledException

The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.

System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
 ---> System.TimeoutException: The operation was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
 ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
 ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\rkuruvilla\Source\Repos\alliantOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 357
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\Users\rkuruvilla\Source\Repos\alliantOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 186
   at AG.Integrations.RESTClients.AlliantOneApiREST.TransactionTemplateControllers.TransactionTemplateA1ApiClientController.GetTransactionTemplateByKey(String key) in C:\Users\rkuruvilla\Source\Repos\alliantOne\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\TransactionTemplateController\TransactionTemplateA1ApiClientController.cs.cs:line 22
   at AG.A1.Scheduler.Project.Application.Features.CommitNumberTo3E.Commands.CommitNumbersTo3ECommandHandler.Handle(CommitNumbersTo3ERequest request, CancellationToken cancellationToken, PerformContext performContext) in C:\Users\rkuruvilla\Source\Repos\alliantOne\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\CommitNumberTo3E\Commands\CommitNumbersTo3ECommandHandler.cs:line 43
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+2h 5m Processing

Server:
gt34dk3-ag:28892
Worker:
2056a07e
+15.309sSubmission to 3E - Started at 4/18/2025 6:09:57 AM by Mythili Sailaja
+2m 28.651sAn error occured: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.

+83ms Enqueued

4/18/2025 9:03:49 AM Created