Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: SftpClient never comes back in Connect

$
0
0
I don't think it is timeout, I have tried waiting for 5 minutes, and it does not come back.

I added the source code and debug information, and I see now that it is failing in Renci.SshNet.Session.ReceiveMessage "Bad packet length"
The packet length showing is 101534273
which does not fit in the min/max packet size (minPacketLen=12 maxPacketLen=68532)

if ((packetLength < minPacketLen) || (packetLength > maxPacketLen))
            {
                throw new SshConnectionException(string.Format(CultureInfo.CurrentCulture, "Bad packet length {0}", packetLength), DisconnectReason.ProtocolError);
         }



Viewing all articles
Browse latest Browse all 1729

Trending Articles



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