Post a reply

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: Issue still happenening

So your previous message was incorrect?
What does the log show? It's an incomplete log file from WinSCP GUI. You wrote before that you have no problem with GUI. As I have asked before: Please attach complete log files both from the code and the GUI. Please use "Normal" logging level for a start.
kevanmueller@ecumen.org

Issue still happenening

We opened our firewall and turned off AV software temporarily and still having the same issue. It is occuring with files over 100 KB. I have attached the log as well
kevanmueller@ecumen.org

We were able to figure out the issue. It was related to the SolarWinds AV software installed on our server. We temporarily disabled and it worked without issue. Thank you.
martin

Re: Network Error: Software caused connection abort()

Please attach complete log files both from the code and the GUI.
kevanmueller@ecumen.org

Network Error: Software caused connection abort()

I am receiving the above error when trying to upload files using the PutFiles method in C#. It works using the GUI but not in the automated script. I have attached part of the log file without sensitive info. I am also using version 5.17.9. Thank you for your help.

. 2020-12-22 13:50:11.907 Server offered these authentication methods: publickey,password
. 2020-12-22 13:50:11.908 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2020-12-22 13:50:11.908 Using stored password.
< 2020-12-22 13:50:11.909 Script: Authenticating with pre-entered password.
. 2020-12-22 13:50:11.909 Sent password
. 2020-12-22 13:50:12.227 Access granted
. 2020-12-22 13:50:12.229 Opening main session channel
. 2020-12-22 13:50:12.283 Opened main channel
. 2020-12-22 13:50:12.338 Started a shell/command
< 2020-12-22 13:50:12.338 Script: Authenticated.
. 2020-12-22 13:50:12.339 Doing startup conversation with host.
< 2020-12-22 13:50:12.339 Script: Starting the session...
> 2020-12-22 13:50:12.339 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2020-12-22 13:50:12.394 Type: SSH_FXP_VERSION, Size: 167, Number: -1
. 2020-12-22 13:50:12.394 SFTP version 3 negotiated.
. 2020-12-22 13:50:12.394 SFTP versions supported by the server: 3
. 2020-12-22 13:50:12.395 Unknown server extension fsync@openssh.com="1"
. 2020-12-22 13:50:12.395 Unknown server extension posix-rename@openssh.com="1"
. 2020-12-22 13:50:12.395 Supports statvfs@openssh.com extension version "2"
. 2020-12-22 13:50:12.395 Unknown server extension fstatvfs@openssh.com="2"
. 2020-12-22 13:50:12.395 Supports hardlink@openssh.com extension version "1"
. 2020-12-22 13:50:12.395 We believe the server has signed timestamps bug
. 2020-12-22 13:50:12.395 We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 strings are not mandatory
. 2020-12-22 13:50:12.396 Changing directory to "/".
. 2020-12-22 13:50:12.396 Getting real path for '/'
> 2020-12-22 13:50:12.396 Type: SSH_FXP_REALPATH, Size: 10, Number: 251664
< 2020-12-22 13:50:12.451 Type: SSH_FXP_NAME, Size: 79, Number: 251664
. 2020-12-22 13:50:12.451 Real path is '/'
. 2020-12-22 13:50:12.451 Trying to open directory "/".
> 2020-12-22 13:50:12.451 Type: SSH_FXP_LSTAT, Size: 10, Number: 251911
< 2020-12-22 13:50:12.506 Type: SSH_FXP_ATTRS, Size: 37, Number: 251911
. 2020-12-22 13:50:12.506 Getting current directory name.
. 2020-12-22 13:50:12.506 Startup conversation with host finished.
< 2020-12-22 13:50:12.507 Script: Session started.
. 2020-12-22 13:50:12.507 File: '\\sql3\Kronos\EmployeeDemoExports\Worker_NewHireMgr_20201222131730.zip' [2020-12-22T19:20:31.501Z] [26089]
. 2020-12-22 13:50:12.509 Copying "\\sql3\Kronos\EmployeeDemoExports\Worker_NewHireMgr_20201222131730.zip" to remote directory started.
. 2020-12-22 13:50:12.510 Binary transfer mode selected.
. 2020-12-22 13:50:12.510 Opening remote file.
> 2020-12-22 13:50:12.510 Type: SSH_FXP_OPEN, Size: 85, Number: 252163
< 2020-12-22 13:50:13.281 Type: SSH_FXP_HANDLE, Size: 25, Number: 252163
> 2020-12-22 13:50:13.281 Type: SSH_FXP_WRITE, Size: 26126, Number: 252678
> 2020-12-22 13:50:13.282 Type: SSH_FXP_CLOSE, Size: 25, Number: 252932
. 2020-12-22 13:50:13.446 Network error: Software caused connection abort
. 2020-12-22 13:50:13.447 Connection was lost, asking what to do.
. 2020-12-22 13:50:13.447 Asking user:
. 2020-12-22 13:50:13.447 Network error: Software caused connection abort ()
< 2020-12-22 13:50:13.447 Script: Network error: Software caused connection abort