IGenerationSyncJob.Run

// Id: #6771
using EnergyDataHub.Data.Hangfire.Jobs;

var generationSyncJob = Activate<IGenerationSyncJob>();
await generationSyncJob.Run();

Parameters

RecurringJobId
"IGenerationSyncJob"
Time
1748755812
CurrentCulture
""
CurrentUICulture
""

State

06/01/2025 05:31:18 (+1m 5.305s) Failed

An exception occurred during performance of the job.

Renci.SshNet.Common.SshOperationTimeoutException (edh:3282841)

Session operation has timed out

Renci.SshNet.Common.SshOperationTimeoutException: Session operation has timed out
   at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
   at Renci.SshNet.PasswordAuthenticationMethod.Authenticate(Session session)
   at Renci.SshNet.ClientAuthentication.TryAuthenticate(ISession session, AuthenticationState authenticationState, String[] allowedAuthenticationMethods, SshAuthenticationException& authenticationException)
   at Renci.SshNet.ClientAuthentication.Authenticate(IConnectionInfoInternal connectionInfo, ISession session)
   at Renci.SshNet.Session.Connect()
   at Renci.SshNet.BaseClient.CreateAndConnectSession()
   at Renci.SshNet.BaseClient.Connect()
   at EnergyDataHub.Data.Services.SftpService.MapDataToEachArea[DataClass,CsvMapper](String remoteDirectory, List`1 dataMethods, Int32 retryCount)
   at EnergyDataHub.Data.Services.SftpService.MapDataToEachArea[DataClass,CsvMapper](String remoteDirectory, List`1 dataMethods)
   at EnergyDataHub.Data.Hangfire.Jobs.GenerationSyncJob.Run()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+8ms Processing

Server:
edh:3282841
Worker:
4072db67

+4ms Enqueued

Triggered by recurring job scheduler

06/01/2025 05:30:12 Created