IGenerationSyncJob.Run

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

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

Parameters

RecurringJobId
"IGenerationSyncJob"
Time
1748705409
CurrentCulture
""
CurrentUICulture
""

State

05/31/2025 15:31:03 (+53.954s) 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.Channels.ChannelSession.Open()
   at Renci.SshNet.SubsystemSession.Connect()
   at Renci.SshNet.SftpClient.CreateAndConnectToSftpSession()
   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)

+29ms Processing

Server:
edh:3282841
Worker:
0f8818e0

+4ms Enqueued

Triggered by recurring job scheduler

05/31/2025 15:30:09 Created