EScError "Cannot send data to Server"

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
teunis
Posts: 48
Joined: Wed 01 Feb 2006 14:15
Location: Curacao

EScError "Cannot send data to Server"

Post by teunis » Sun 17 Jun 2007 20:02

Linux Server with sshd and MySQL running.
Windowsmachine with a program (D6) in which (Sc)FileStorage SSHClient and SSHChannel are used.
With the program some MySQL data are viewed on the Linux machine and everything is fine.
Before the program is stopped SSHCleint.DisConnect and SSHChannel.Disconnect
are executed.
This goes fine but then just before closing the above error is generated.
I can't debug because I have only the *.dcu version of SecureBridge.
Does anyone knows what caused the problem?
Thanks Teunis
:roll:

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 18 Jun 2007 12:01

The error that is generated before the program is stopped, is internal. It is catched by SecureBridge and is not shown to users. You can disable it in the menu Tools->Debugger Options->Language Exceptions if you do not want it to get in the debugger.

In order to connect to MySQL server using SSH, it is better to use the TMySSHIOHandler component. You can find this component in the SecureBridge demo of MyDAC 5.10.0.9, which available for download.

teunis
Posts: 48
Joined: Wed 01 Feb 2006 14:15
Location: Curacao

Post by teunis » Mon 18 Jun 2007 18:51

Thanks for your help.
I downloaded and installed the MySSHIOHandler.
It connected well with the database and I don't get the error anymore.
On the Linuxmachine I closed all ports except the 22 and it runs fine so I am sure it is going through the SSH tunnel.
Thanks
:D
menu Tools->Debugger Options->Language Exceptions
Should I Add: SecureBridge EScError Exception
(You let me see unknown places in the Delpi IDE)

Post Reply