IOfflineTimeCommitTo3ECommandHandler.Run

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

var offlineTimeCommitTo3ECommandHandler = Activate<IOfflineTimeCommitTo3ECommandHandler>();
await offlineTimeCommitTo3ECommandHandler.Run(null, null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"TMS-Sync-Offline-TimeEntries-To-3E-Task"
RetryCount
10
Time
1697794212

State

10/20/2023 2:03:57 PM (+1.583s) Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 23
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+20ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
b50f48c0
+28msOfflineTimeCommitTo3ECommandHandler - Started
+471msNo of records retrieved : 157

+1h 53m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 10 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 2:03:46 PM

+366ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 23
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+20ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
48f4326a
+27msOfflineTimeCommitTo3ECommandHandler - Started
+303msNo of records retrieved : 157

+1h 10m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

Retry attempt 9 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 12:10:42 PM

+1.316s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 23
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+104ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
f7307851
+107msOfflineTimeCommitTo3ECommandHandler - Started
+336msNo of records retrieved : 157

+41m 15.806s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

Retry attempt 8 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 11:00:19 AM

+1.120s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 23
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+30ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
7b3e1e64
+32msOfflineTimeCommitTo3ECommandHandler - Started
+1sNo of records retrieved : 157

+24m 44.963s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 7 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 10:19:01 AM

+1.297s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 23
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+23ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
7b3e1e64
+25msOfflineTimeCommitTo3ECommandHandler - Started
+1.154sNo of records retrieved : 157

+13m 45.694s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

Retry attempt 6 of 10: Could not load file or assembly 'AG.A1.Scheduler.…

Enqueue at:
10/20/2023 9:54:16 AM

+63ms Failed

Can not change the state to 'Processing': target method was not found.

System.IO.FileNotFoundException

Could not load file or assembly 'AG.A1.Scheduler.Billing.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'AG.A1.Scheduler.Billing.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AG.A1.Scheduler.Billing.Contracts, Culture=neutral, PublicKeyToken=null'
   at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
   at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at Hangfire.Common.TypeHelper.AssemblyResolver(String assemblyString)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at System.TypeNameParser.ResolveAssembly(String asmName, Func`2 assemblyResolver, Boolean throwOnError, StackCrawlMark& stackMark)
   at System.TypeNameParser.ConstructType(Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.TypeNameParser.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError)
   at Hangfire.Common.TypeHelper.DefaultTypeResolver(String typeName)
   at Hangfire.Storage.InvocationData.DeserializeJob()

+5m 14.770s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 5 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 9:40:38 AM

+400ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 21
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+20ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
48f4326a
+39msOfflineTimeCommitTo3ECommandHandler - Started
+300msNo of records retrieved : 157

+1m 44.610s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

Retry attempt 4 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 9:35:22 AM

+456ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 21
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+20ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
7b3e1e64
+25msOfflineTimeCommitTo3ECommandHandler - Started
+340msNo of records retrieved : 157

+1m 44.710s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+54ms Scheduled

Retry attempt 3 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 9:33:34 AM

+286ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 21
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+20ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
f7307851
+31msOfflineTimeCommitTo3ECommandHandler - Started
+218msNo of records retrieved : 157

+59.694s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+56ms Scheduled

Retry attempt 2 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 9:31:44 AM

+274ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 21
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+20ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
70e2c3e2
+27msOfflineTimeCommitTo3ECommandHandler - Started
+212msNo of records retrieved : 157

+43.666s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+47ms Scheduled

Retry attempt 1 of 10: Request failed with status code InternalServerErr…

Enqueue at:
10/20/2023 9:30:55 AM

+470ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 354
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 187
   at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 21
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 63
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+23ms Processing

Server:
dw1sdwk0006wl:5180
Worker:
b50f48c0
+26msOfflineTimeCommitTo3ECommandHandler - Started
+389msNo of records retrieved : 157

+10ms Enqueued

Triggered by recurring job scheduler

Queue:
a1-billing

10/20/2023 9:30:12 AM Created