// Id: #931797
using RuketoAutomation.Service.Background;
var synchronizationData = Activate<SynchronizationData>();
await synchronizationData.RareBackgroundService();
CurrentCulture |
|
CurrentUICulture |
|
RecurringJobId |
|
RetryCount |
|
Time |
|
An exception occurred during performance of the job.
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: A task was canceled. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. 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) --- 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.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 10 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_method1952(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 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_method1952(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_method1952(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_method1952(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_method1952(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_method1952(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_method1952(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_method1952(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_method1952(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_method1952(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