IOfflineTimeCommitTo3ECommandHandler.Run

// Job ID: #76092
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
1697821211

State

10/20/2023 9:31:09 PM (+380ms) 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)

+27ms Processing

Server:
dw1sdwk0006wl:8048
Worker:
a3acbfd8
+35msOfflineTimeCommitTo3ECommandHandler - Started
+313msNo of records retrieved : 157

+1h 50m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+60ms Scheduled

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

Enqueue at:
10/20/2023 9:31:04 PM

+277ms 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)

+17ms Processing

Server:
dw1sdwk0006wl:8048
Worker:
a3acbfd8
+35msOfflineTimeCommitTo3ECommandHandler - Started
+223msNo of records retrieved : 157

+1h 9m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
10/20/2023 7:40:40 PM

+307ms 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:8048
Worker:
2f565ebd
+27msOfflineTimeCommitTo3ECommandHandler - Started
+233msNo of records retrieved : 157

+43m 14.333s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+63ms Scheduled

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

Enqueue at:
10/20/2023 6:31:04 PM

+2.784s 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)

+26ms Processing

Server:
dw1sdwk0006wl:8048
Worker:
720eb24e
+491msOfflineTimeCommitTo3ECommandHandler - Started
+1.853sNo of records retrieved : 157

+23m 45.760s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

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

Enqueue at:
10/20/2023 5:47:54 PM

+410ms 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:8048
Worker:
2f565ebd
+28msOfflineTimeCommitTo3ECommandHandler - Started
+315msNo of records retrieved : 157

+13m 30.220s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
10/20/2023 5:24:09 PM

+326ms 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)

+24ms Processing

Server:
dw1sdwk0006wl:8048
Worker:
a3acbfd8
+33msOfflineTimeCommitTo3ECommandHandler - Started
+272msNo of records retrieved : 157

+4m 44.796s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
10/20/2023 5:10:37 PM

+417ms 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:8048
Worker:
720eb24e
+31msOfflineTimeCommitTo3ECommandHandler - Started
+352msNo of records retrieved : 157

+1m 44.767s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
10/20/2023 5:05:50 PM

+277ms 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:8048
Worker:
2f565ebd
+29msOfflineTimeCommitTo3ECommandHandler - Started
+221msNo of records retrieved : 157

+1m 59.966s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+40ms Scheduled

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

Enqueue at:
10/20/2023 5:04:05 PM

+120ms 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()

+59.644s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
10/20/2023 5:01:56 PM

+320ms 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)

+87ms Processing

Server:
dw1sdwk0006wl:8048
Worker:
4c502b0d
+89msOfflineTimeCommitTo3ECommandHandler - Started
+331msNo of records retrieved : 157

+57.393s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
10/20/2023 5:00:56 PM

+960ms 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)

+193ms Processing

Server:
dw1sdwk0006wl:8048
Worker:
720eb24e
+378msOfflineTimeCommitTo3ECommandHandler - Started
+1.010sNo of records retrieved : 157

+20ms Enqueued

Triggered by recurring job scheduler

Queue:
a1-billing

10/20/2023 5:00:11 PM Created