Page 1 of 1

SSHClient hangs on reconnect

Posted: Fri 31 Aug 2012 01:40
by amiller29au
I'm trying to implement reconnection logic to our client when a connection to the server is lost.

I'm using the SSHClient with SSHChannel along with IBDAC. The connection to the server establishes fine and everything works like a charm.

However, I forcefully shutdown the server to simulate a connection will be lost for the client.

I implemented TScSSHChannel.OnDisconnect event, which is immediately fired. I then attempt to reconnect to the server. I restart the server. The client hangs on the TScSSHClient.Connect();

This line seems to never return. The application needs to be shutdown.

Any suggestions?

Re: SSHClient hangs on reconnect

Posted: Mon 03 Dec 2012 10:25
by gw
Hi amiller29au,

i'm probably dealing with the same problem.
I (and probably devart also) would like to know what version of SecureBridge you are using.
I'm currently using v3.00.0.2.
Question for me is if it would help me (and maybe also you) if i update to v3.00.0.6.
I don't know if i can update to any newer version than v3.00.0.6.

thank you
greets
/GW

Re: SSHClient hangs on reconnect

Posted: Mon 03 Dec 2012 11:26
by AndreyZ
I have answered you by email. If the problem is solved, please confirm it here.