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?
SSHClient hangs on reconnect
Re: SSHClient hangs on reconnect
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
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
I have answered you by email. If the problem is solved, please confirm it here.