Android Disconnect problem

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Dido
Posts: 20
Joined: Fri 18 Sep 2009 20:04

Android Disconnect problem

Post by Dido » Fri 12 Dec 2014 14:35

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.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Android Disconnect problem

Post by ViktorV » Fri 19 Dec 2014 10:31

We are investigating this behavior of SecureBridge components when developing for Android, we will inform you about the results.

Dido
Posts: 20
Joined: Fri 18 Sep 2009 20:04

Re: Android Disconnect problem

Post by Dido » Sun 15 Nov 2015 18:04

Any news about this behavior?

edsiloto
Posts: 1
Joined: Mon 27 Jun 2016 13:09

Re: Android Disconnect problem

Post by edsiloto » Mon 27 Jun 2016 13:51

I am the same problem. When I run ScSSHClient.Disconnect method at Android, the application hangs! I need a solution too!

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Android Disconnect problem

Post by ViktorV » Thu 10 Nov 2016 15:09

The new SecureBridge 7.2.3 with a fix for this issue is available for download now.

marcoskingeski
Posts: 1
Joined: Sun 26 Jun 2016 14:27

Re: Android Disconnect problem

Post by marcoskingeski » Thu 10 Nov 2016 18:04

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)

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Android Disconnect problem

Post by ViktorV » Fri 25 Nov 2016 12:36

Thank you for the information. We have reproduced the issue and investigation is in progress. We will inform you when we have any results.

Post Reply