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

Commented Unassigned: System.ArgumentOutOfRangeException on Disconnect() [2389]

$
0
0
Version: __2013.4.7.0__

Hey everybody,

I am sporadically getting the following exception while trying to disconnect SftpClient.

__System.ArgumentOutOfRangeException__: Specified argument was out of the range of valid values.
Parameter name: length
at Renci.SshNet.Session.WaitHandle(WaitHandle waitHandle)
at Renci.SshNet.Channels.Channel.Close(Boolean wait)
at Renci.SshNet.Channels.ChannelSession.Close(Boolean wait)
at Renci.SshNet.Channels.Channel.Close()
at Renci.SshNet.Sftp.SubsystemSession.Disconnect()
at Renci.SshNet.SftpClient.OnDisconnecting()
at Renci.SshNet.BaseClient.__Disconnect()__

Code Snippet:
```
if (sftpClient.IsConnected)
sftpClient.Disconnect();
```

Any idea why ?
Comments: ** Comment from web user: drieseng **

Do you more information on this issue ?
I'll be closing this issue in a few days unless I hear back from you.

Thanks!


Viewing all articles
Browse latest Browse all 1026

Trending Articles



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