Customer MERL Infor To Magento

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

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

Parameters

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

State

9/3/2026 1:45:18 AM (+12m 130ms) 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)

+9m 38.103s Processing

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

+50.515s Enqueued

Triggered by DelayedJobScheduler

+26ms Scheduled

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

Enqueue at:
9/3/2026 1:23:33 AM

+12m 40ms 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)

+12m 57.741s Processing

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

+20.877s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

Retry attempt 2 of 3: The SSL connection could not be established, see …

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

+21.017s Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (2022-cli-con-1:1300)

The SSL connection could not be established, see inner exception.

System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond..
 ---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
   --- 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.ReceiveBlobAsync[TIOAdapter](CancellationToken cancellationToken)
   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   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)
   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)

+9m 48.556s Processing

Server:
2022-cli-con-1:1300
Worker:
ed0bd77b
+31msSyncing customer MERL
+21.009sThe SSL connection could not be established, see inner exception.

+31.911s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

Retry attempt 1 of 3: Infor shows Customer ID: 2402 for MERL, but that …

Enqueue at:
9/3/2026 12:47:11 AM

+40.887s Failed

An exception occurred during performance of the job.

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

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

System.Collections.Generic.KeyNotFoundException: Infor shows Customer ID: 2402 for MERL, 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)

+50.722s Processing

Server:
2022-cli-con-1:1300
Worker:
c7be9c56
+27msSyncing customer MERL
+40.880sInfor shows Customer ID: 2402 for MERL, but that record was not found in Magento.

+2ms Enqueued

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