Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: .Net Nuget 6.3.6 - Opening Connection Error :Network error: Software caused connection abort

Please post complete logs from both versions.
jNerd

.Net Nuget 6.3.6 - Opening Connection Error :Network error: Software caused connection abort

Hi
Just upgraded my NuGget from 5.2.1 to 6.3.6 – this is the only change in my solution. I get the following error now:
Connection Error :Network error: Software caused connection abort

This is an existing connection using a private key and passphrase. This works on 5.2.1! I have tried adding the following.. which did not help.
session.SessionLogPath = "Session.log";
session.DebugLogLevel = 2;
session.AddRawConfiguration("TcpKeepAlives", "1");
session.AddRawConfiguration("TcpKeepAliveInternval", "30");
session.AddRawConfiguration("TcpKeepAliveTime", "30");

Session - looks like this and stops...

Any ideas? thx in Advance!
 2024-12-12 18:29:44.371 Script: Searching for host...
. 2024-12-12 18:29:44.371 Looking up host "XXXXX" for SSH connection
. 2024-12-12 18:29:44.371 Connecting to XXXXXX port 22
. 2024-12-12 18:29:44.527 Connected to XXXXXX
. 2024-12-12 18:29:44.527 Selecting events 63 for socket 1040
< 2024-12-12 18:29:44.527 Script: Connecting to host...
. 2024-12-12 18:29:44.527 Waiting for the server to continue with the initialization
. 2024-12-12 18:29:44.527 Looking for incoming data
. 2024-12-12 18:29:44.527 Looking for network events
. 2024-12-12 18:29:44.527 We claim version: SSH-2.0-WinSCP_release_6.3.6
. 2024-12-12 18:29:44.527 Detected network event
. 2024-12-12 18:29:44.527 Enumerating network events for socket 1040
. 2024-12-12 18:29:44.527 Enumerated 18 network events making 18 cumulative events for socket 1040
. 2024-12-12 18:29:44.527 Handling network write event on socket 1040 with error 0
. 2024-12-12 18:29:44.527 Handling network connect event on socket 1040 with error 0
. 2024-12-12 18:29:44.527 Connected to XXXXXX
. 2024-12-12 18:29:44.527 Looking for network events