ICommitTimeEntriesTo3E.Handle

// Job ID: #201714
using AG.A1.Scheduler.Billing.Contracts.Contracts;

var commitTimeEntriesTo3E = Activate<ICommitTimeEntriesTo3E>();
await commitTimeEntriesTo3E.Handle(
    FromJson<CommitTimeEntriesTo3ERequest>("{\"CommitAll\":false,\"TimeEntryIds\":[22704396],\"UserId\":7827,\"UserFullName\":\"Joy Taylor\",\"UserWindowsId\":\"AG\\jtaylor\",\"InputSource\":\"alliantOne\",\"SubmittedBy\":6863,\"IsAGTalent\":false}"),
    null,
    null);

Parameters

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

State

11/14/2024 5:58:17 PM (+5.047s) Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

No connection could be made because the target machine actively refused it. (localhost:7057)

System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:7057)
 ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\aOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 357
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters) in C:\aOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 250
   at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.GetListByUserIdAndIds(CommitTimeEntryListWithUserIdRequestDto requestModel) in C:\aOne\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 28
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.Handle(CommitTimeEntriesTo3ERequest request, CancellationToken cancellationToken, PerformContext performContext) in C:\aOne\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 81
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+1d 17h 17m Processing

Server:
3vn4dk3-ag:20636
Worker:
ef65af02
+609msSubmission to 3E - Started at 11/14/2024 11:58:12 AM
+700msFeeUserId: 7827, name=Joy Taylor(AG\jtaylor)
+5.168sCannot perform commit operation - No connection could be made because the target machine actively refused it. (localhost:7057)

+210ms Enqueued

11/13/2024 12:40:49 AM Created