Hello,
I have an issue on an installation in one site. When I run the application that should connect to a remote PostgreSQL DB via SecureBridge SSH tunneI get the following error message:
“Exception EScError in module xxxxx at yyyyyyy. Socket closed. Cannot receive the data”
I tried to connect the same machine to the DB with Putty and it works without any problem.
Why do I get this error message ? How can I solve this ?
Many thanks
Pio Pio
EScError - socket closed
Re: EScError - socket closed
To solve the problem try to increase the values of the TScSSHClient.Timeout property and the TScSSHChannel.Timeout property. If a connection break occurs, increasing these values allow to increase the time interval during which the client will try to obtain data from the server.
If this will not solve the problem, describe it in more details.
If this will not solve the problem, describe it in more details.
Re: EScError - socket closed
Hi Dimon,
Thank you very much ! This solved the issue.
Unfortunately I am facing another error message now. When I run tha application I get another error message saying "Can't connect to the database".
The application and the database connection details are the same as the other installation I have and I am wondering what the problem can be now.
Many thanks
PioPio
Thank you very much ! This solved the issue.
Unfortunately I am facing another error message now. When I run tha application I get another error message saying "Can't connect to the database".
The application and the database connection details are the same as the other installation I have and I am wondering what the problem can be now.
Many thanks
PioPio
Re: EScError - socket closed
Hello,
It was my mistake sorry. I used the wrong database name.
Pio Pio
It was my mistake sorry. I used the wrong database name.
Pio Pio