SSHClient hangs on reconnect

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
amiller29au
Posts: 11
Joined: Fri 03 Dec 2010 00:45
Location: AU

SSHClient hangs on reconnect

Post by amiller29au » Fri 31 Aug 2012 01:40

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?

gw
Posts: 16
Joined: Fri 05 Nov 2010 12:55

Re: SSHClient hangs on reconnect

Post by gw » Mon 03 Dec 2012 10:25

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

AndreyZ

Re: SSHClient hangs on reconnect

Post by AndreyZ » Mon 03 Dec 2012 11:26

I have answered you by email. If the problem is solved, please confirm it here.

Post Reply