Page 1 of 1

Android Disconnect problem

Posted: Fri 12 Dec 2014 14:35
by Dido
Hello,
i use SecureBridge 6.4.6 in Android application (Delphi XE7 Update 1).
All works fine, but when i call ScSSHChannel.Disconnect and ScSSHClient.Disconect on
form close - the application hang in Android. In Win32 (also FireMonkey) - no problem.
If execute disconnects from button - no hang, but port and socket (SourcePort) is stayed open and cannot be used again. With different SourcePort from first one that is used work fine. Also in Win32 FireMonkey all work fine. These problems are only in Android.

Re: Android Disconnect problem

Posted: Fri 19 Dec 2014 10:31
by ViktorV
We are investigating this behavior of SecureBridge components when developing for Android, we will inform you about the results.

Re: Android Disconnect problem

Posted: Sun 15 Nov 2015 18:04
by Dido
Any news about this behavior?

Re: Android Disconnect problem

Posted: Mon 27 Jun 2016 13:51
by edsiloto
I am the same problem. When I run ScSSHClient.Disconnect method at Android, the application hangs! I need a solution too!

Re: Android Disconnect problem

Posted: Thu 10 Nov 2016 15:09
by ViktorV
The new SecureBridge 7.2.3 with a fix for this issue is available for download now.

Re: Android Disconnect problem

Posted: Thu 10 Nov 2016 18:04
by marcoskingeski
Solved but there are a problem yet: when you reconect a channel after disconect at first time, a error happens (address in use). Do a test: connect the client, connect the channel, do anything and disconect the channel and disconect the client. After this, connect the client again e connect the channel again and at this moment the error happens. (only in android, in windows it´s ok)

Re: Android Disconnect problem

Posted: Fri 25 Nov 2016 12:36
by ViktorV
Thank you for the information. We have reproduced the issue and investigation is in progress. We will inform you when we have any results.