SynchronizationData.MainBackgroundService

The job is finished. It will be removed automatically 23.11.2024 16:33:44.
// Id: #931192
using RuketoAutomation.Service.Background;

var synchronizationData = Activate<SynchronizationData>();
await synchronizationData.MainBackgroundService();

Parameters

CurrentCulture
"ru-RU"
CurrentUICulture
"en-US"
RecurringJobId
"mainJob"
RetryCount
1
Time
1732282208

State

22.11.2024 13:33:44 (+1m 12.001s) Succeeded

Latency:
2m 24s
Duration:
1m 11.994s

+9ms Processing

Server:
32b94c61-00d7-4f97-8a8b-e7ed2e90579d
Worker:
6a9f654a

+30.775s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

Retry attempt 1 of 10: The request was canceled due to the configured Ht…

Enqueue at:
22.11.2024 13:32:32

+1m 53.197s Failed

An exception occurred during performance of the job.

System.Threading.Tasks.TaskCanceledException (32b94c61-00d7-4f97-8a8b-e7ed2e90579d)

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

System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 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: Software caused connection abort.
 ---> System.Net.Sockets.SocketException (103): Software caused connection abort
   at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)
   at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
   at System.Net.Security.SslStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Stream.Read(Span`1 buffer)
   at System.Net.Http.HttpConnection.Read(Span`1 destination)
   at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.Read(Span`1 buffer)
   at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
   at System.Net.Http.HttpConnectionResponseContent.SerializeToStream(Stream stream, TransportContext context, CancellationToken cancellationToken)
   at System.Net.Http.HttpContent.LoadIntoBuffer(Int64 maxBufferSize, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpContent.LoadIntoBuffer(Int64 maxBufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
   --- 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.Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
   at RuketoAutomation.Service.Crm.CrmApiWorker.GetData(String address, String parameters)
   at RuketoAutomation.Service.Crm.CrmApiWorker.GetOrdersDataWithStatusAssembling(Int32 page)
   at RuketoAutomation.Service.Background.SynchronizationData.LoadOrders()
   at RuketoAutomation.Service.Background.SynchronizationData.CrmMainSynchronize()
   at RuketoAutomation.Service.Background.SynchronizationData.MainBackgroundService()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+10ms Processing

Server:
32b94c61-00d7-4f97-8a8b-e7ed2e90579d
Worker:
0a419cde

+2ms Enqueued

Triggered by recurring job scheduler

22.11.2024 13:30:08 Created