Customer JOSHUAM Infor To Magento

// Id: #3761186
using ClarityConnect.Clients.CUT;

var cUT = Activate<CUT>();
await cUT.CustomerInforToMagBackgroundTask(
    "JOSHUAM",
    null,
    null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RetryCount
3

State

9/3/2026 1:47:14 AM (+10m 1.032s) Failed

An exception occurred during performance of the job.

System.Threading.Tasks.TaskCanceledException (2022-cli-con-1:1300)

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

System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 600 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.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.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 Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, 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 System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at ClarityConnect.Connectors.Magento.MagentoIntegrationService.Request(HttpMethod method, String url, CancellationToken token, String body) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Connectors.Magento\IntegrationService\MagentoIntegrationService.cs:line 153
   at ClarityConnect.Connectors.Magento.MagentoIntegrationService.Read[TModel](ReadRequest request, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Connectors.Magento\IntegrationService\MagentoIntegrationService.cs:line 45
   at ClarityConnect.Connectors.Magento.MagentoService.ReadCustomerByID(Int32 id, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Connectors.Magento\Service\MagentoService.Customer.cs:line 15
   at ClarityConnect.Clients.CUT.CUT.ProcessCustomerInforToMagento(PerformContext context, String custNum, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Clients.CUT\Jobs\ProcessCustomers.cs:line 90
   at ClarityConnect.Clients.CUT.CUT.ProcessCustomerInforToMagento(PerformContext context, String custNum, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Clients.CUT\Jobs\ProcessCustomers.cs:line 155
   at ClarityConnect.Clients.CUT.CUT.CustomerInforToMagBackgroundTask(String custNum, PerformContext context, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Clients.CUT\Jobs\ProcessCustomers.cs:line 77
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

+2m 15.786s Processing

Server:
2022-cli-con-1:1300
Worker:
8a76986f
+27msSyncing customer JOSHUAM
+10m 943msThe request was canceled due to the configured HttpClient.Timeout of 600 seconds elapsing.

+1m 39.380s Enqueued

Triggered by DelayedJobScheduler

+18ms Scheduled

Retry attempt 3 of 3: Could not place a lock on the resource 'HangFire:…

Enqueue at:
9/3/2026 1:34:49 AM

+12m 41ms Failed

An exception occurred during performance of the job.

Hangfire.PostgreSql.PostgreSqlDistributedLockException (2022-cli-con-1:1300)

Could not place a lock on the resource 'HangFire:CUT.CustomerInforToMagBackgroundTask': Lock timeout.

Hangfire.PostgreSql.PostgreSqlDistributedLockException: Could not place a lock on the resource 'HangFire:CUT.CustomerInforToMagBackgroundTask': Lock timeout.
   at Hangfire.PostgreSql.PostgreSqlDistributedLock.PostgreSqlDistributedLock_Init_Transaction(String resource, TimeSpan timeout, IDbConnection connection, PostgreSqlStorageOptions options)
   at Hangfire.PostgreSql.PostgreSqlConnection.AcquireDistributedLock(String resource, TimeSpan timeout)
   at Hangfire.DisableConcurrentExecutionAttribute.OnPerforming(PerformingContext filterContext)
   at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple)
   at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message)
   at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message)
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)

+3m 38.332s Processing

Server:
2022-cli-con-1:1300
Worker:
647bb163

+40.436s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

Retry attempt 2 of 3: Infor shows Customer ID: 1937 for JOSHUAM, but th…

Enqueue at:
9/3/2026 1:17:25 AM

+7m 41.129s Failed

An exception occurred during performance of the job.

System.Collections.Generic.KeyNotFoundException (2022-cli-con-1:1300)

Infor shows Customer ID: 1937 for JOSHUAM, but that record was not found in Magento.

System.Collections.Generic.KeyNotFoundException: Infor shows Customer ID: 1937 for JOSHUAM, but that record was not found in Magento.
   at ClarityConnect.Clients.CUT.CUT.ProcessCustomerInforToMagento(PerformContext context, String custNum, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Clients.CUT\Jobs\ProcessCustomers.cs:line 99
   at ClarityConnect.Clients.CUT.CUT.ProcessCustomerInforToMagento(PerformContext context, String custNum, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Clients.CUT\Jobs\ProcessCustomers.cs:line 155
   at ClarityConnect.Clients.CUT.CUT.CustomerInforToMagBackgroundTask(String custNum, PerformContext context, CancellationToken token) in C:\Data\Projects\CUT\Connect-v3\ClarityConnect.Clients.CUT\Jobs\ProcessCustomers.cs:line 77
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

+11m 26.230s Processing

Server:
2022-cli-con-1:1300
Worker:
5d3fe6cf
+3m 43.134sSyncing customer JOSHUAM
+7m 41.124sInfor shows Customer ID: 1937 for JOSHUAM, but that record was not found in Magento.

+33.730s Enqueued

Triggered by DelayedJobScheduler

+18ms Scheduled

Retry attempt 1 of 3: Could not place a lock on the resource 'HangFire:…

Enqueue at:
9/3/2026 12:57:46 AM

+12m 225ms Failed

An exception occurred during performance of the job.

Hangfire.PostgreSql.PostgreSqlDistributedLockException (2022-cli-con-1:1300)

Could not place a lock on the resource 'HangFire:CUT.CustomerInforToMagBackgroundTask': Lock timeout.

Hangfire.PostgreSql.PostgreSqlDistributedLockException: Could not place a lock on the resource 'HangFire:CUT.CustomerInforToMagBackgroundTask': Lock timeout.
   at Hangfire.PostgreSql.PostgreSqlDistributedLock.PostgreSqlDistributedLock_Init_Transaction(String resource, TimeSpan timeout, IDbConnection connection, PostgreSqlStorageOptions options)
   at Hangfire.PostgreSql.PostgreSqlConnection.AcquireDistributedLock(String resource, TimeSpan timeout)
   at Hangfire.DisableConcurrentExecutionAttribute.OnPerforming(PerformingContext filterContext)
   at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple)
   at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message)
   at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message)
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)

+39ms Processing

Server:
2022-cli-con-1:1300
Worker:
35617358

+4ms Enqueued

9/3/2026 12:45:18 AM Created