IGenerationSyncJob.Run

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

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

Parameters

RecurringJobId
"IGenerationSyncJob"
Time
1744536612
CurrentCulture
""
CurrentUICulture
""

State

04/13/2025 09:30:13 (+223ms) Failed

An exception occurred during performance of the job.

Renci.SshNet.Common.SshConnectionException (edh:1072020)

The server response does not contain an SSH identification string. The connection to the remote server was closed before any data was received. More information on the Protocol Version Exchange is available here: https://tools.ietf.org/html/rfc4253#section-4.2

Renci.SshNet.Common.SshConnectionException: The server response does not contain an SSH identification string.
The connection to the remote server was closed before any data was received.

More information on the Protocol Version Exchange is available here:
https://tools.ietf.org/html/rfc4253#section-4.2
   at Renci.SshNet.Connection.ProtocolVersionExchange.Start(String clientVersion, Socket socket, TimeSpan timeout)
   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)
   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:1072020
Worker:
abd64fde

+4ms Enqueued

Triggered by recurring job scheduler

04/13/2025 09:30:12 Created