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

New Post: Server string is null or empty

$
0
0
can you help me understand why Session.cs is throwing an InvalidOperationException of "Server string is null or empty." when it is attempting to read the response(s) coming back from the connection attempt?
It seems this exception will always be thrown if the first line in the response is NULL or empty.
Which is happening to me.

If I remove this thrown exception and allow the full timeout on the ConnectionInfo to expire, my connection is eventually made and the server version is returned in the response.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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