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

New Post: Unhandled exception

$
0
0
Hi Gert,

I will open an issue right now.

It will be tough for me to reproduce since it was an error that was caught on a few occasions (on a few different installs) but it didn't seem to be related to a reproducible user scenario (or the users just didn't notice). Also, my code has been modified to work around this issue (I keep singleton shared instances of my SSH client objects).

As soon as I have a little bit of time, I'll pull out and older revision of my software where this was present and I'll try to clamp down on the issue.

Also, a while back I encountered another unhandled exception with the KeepAlive this time:

Description: The process was terminated due to an unhandled exception.
Exception Info:
System.Net.Sockets.SocketException
Stack:
at Renci.SshNet.Session.SocketWrite(Byte[])
at Renci.SshNet.Session.SendMessage(Renci.SshNet.Messages.Message)
at Renci.SshNet.BaseClient.SendKeepAlive()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()

This is just something that would happen once in a while while the tunnel was opened and the KeepAlive were set to be sent. Again, I worked around this problem by opening the tunnel on-demand during operations only and thus I don't require the KeepAlive anymore.

Should I open an issue for this one as well?

Many thanks,

Phil

Viewing all articles
Browse latest Browse all 1729

Trending Articles