// Job ID: #202415
using AG.A1.Scheduler.Billing.Contracts.Contracts;
var commitTimeEntriesTo3E = Activate<ICommitTimeEntriesTo3E>();
await commitTimeEntriesTo3E.Handle(
FromJson<CommitTimeEntriesTo3ERequest>("{\"CommitAll\":false,\"TimeEntryIds\":[22704624],\"UserId\":6863,\"UserFullName\":\"Tia Hopkins\",\"UserWindowsId\":\"AG\\thopkins\",\"InputSource\":\"alliantOne\",\"SubmittedBy\":6863,\"IsAGTalent\":false}"),
null,
null);
| CurrentCulture | |
| CurrentUICulture | |
An exception occurred during performance of the job.
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:\Users\thopkins\Source\Repos\alliantOne\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:\Users\thopkins\Source\Repos\alliantOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 250 at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.GetListByUserIdAndIds(CommitTimeEntryListWithUserIdRequestDto requestModel) in C:\Users\thopkins\Source\Repos\alliantOne\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:\Users\thopkins\Source\Repos\alliantOne\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 81 at System.Runtime.CompilerServices.TaskAwaiter.GetResult()