Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Unassigned: An established connection was aborted by the server [2398]

$
0
0
When trying to download files from sftp, I am getting error:"__An established connection was aborted by the server__"
Comments: ** Comment from web user: scottowa **

Hello,

Interesting the old version of the library - 2013.4.7 works (as in it downloads the files).

I do see two exceptions when running in Debug but these must be caught or handled as they don't cause my program to fail:

A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
A first chance exception of type 'Renci.SshNet.Common.SshConnectionException' occurred in Renci.SshNet.dll

Turning on Exceptions from the Debug menu - gives me:

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at Renci.SshNet.Session.SocketRead(Int32 length, Byte[]& buffer) in t:\Third Party\Renci.SshNet.2013.4.7\Renci.SshNet\Session.NET.cs:line 115

"An established connection was aborted by the software in your host machine"
ErrorCode: 10053

Continuing on this gives:

Renci.SshNet.Messages.Transport.DisconnectReason.ProtocolError

Bad packet length 663328540

at Renci.SshNet.Session.ReceiveMessage() in t:\Third Party\Renci.SshNet.2013.4.7\Renci.SshNet\Session.cs:line 819

But as I say the files (one small(42Kb) and one big(141Kb)) seemed to download correctly.

Hope this helps.

Adrian


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>