// Id: #884946
using RuketoAutomation.Service.Background;
var synchronizationData = Activate<SynchronizationData>();
await synchronizationData.RareBackgroundService();
CurrentCulture |
|
CurrentUICulture |
|
RecurringJobId |
|
RetryCount |
|
Time |
|
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 10 of 10: Resource temporarily unavailable (market-ruketo.r…
An exception occurred during performance of the job.
Resource temporarily unavailable (market-ruketo.retailcrm.ru:443)
System.Net.Http.HttpRequestException: Resource temporarily unavailable (market-ruketo.retailcrm.ru:443) ---> System.Net.Sockets.SocketException (11): Resource temporarily unavailable at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, 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(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellation(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpMessageHandlerStage.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.SocketsHttpHandler.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClientHandler.Send(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpMessageInvoker.Send(HttpRequestMessage request, CancellationToken cancellationToken) 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.GetPackagesData(Int32 page) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 9 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 8 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 7 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 6 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 5 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 4 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 3 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 2 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by DelayedJobScheduler
Retry attempt 1 of 10: Sequence contains more than one element
An exception occurred during performance of the job.
Sequence contains more than one element
System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1505(Closure , QueryContext ) at RuketoAutomation.Service.Background.SynchronizationData.SaveEntity[T](T crmEntity) at RuketoAutomation.Service.Background.SynchronizationData.LoadRareDataFromApi[TConvertData](GetDataDelegate getDataDelegate, ConvertDataDelegate`1 convertDataDelegate, GetCountPageDelegate getCountPageDelegate) at RuketoAutomation.Service.Background.SynchronizationData.CrmRareSynchronize() at RuketoAutomation.Service.Background.SynchronizationData.RareBackgroundService() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by recurring job scheduler