problem when using SecureBridge tunnel and PGDAC together.

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

problem when using SecureBridge tunnel and PGDAC together.

Post by snorkel » Thu 20 Mar 2014 15:13

I also posted in the securebridge forum last month:

http://forums.devart.com/viewtopic.php?f=27&t=29029

Here is the original I posted way back in 2013:

http://forums.devart.com/viewtopic.php?f=34&t=26071

According to the last post in that thread it was supposed to be fixed, but it seems it was not.

Basicly what happens is when you call the pgdac connect method after pointing it to the tunnel i.e. localhost it raises this error:

Error on data reading from the connection:
Interrupted system call.
Socket Error Code: 4($4)

The funny part is it works just fine when used outside of the IDE, i.e. when you run the compiled app on it's own. Also does not matter if I turn off debugging in the IDE, does it for release or debug builds.

The big issue is I cannnot debug my app and have to use a virtual machine on win32 to debug.

This has been going on for awhile and it does it in Laz 1.2 and 1.0.14 and even earlier verions of the IDE.

This is happening with the latest versions of both products.

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

Re: problem when using SecureBridge tunnel and PGDAC together.

Post by Dimon » Mon 24 Mar 2014 12:44

Thank you for the information. We have reproduced this problem and fixed it. This fix will be included in the next PgDAC build.
We can send the fix for this problem. If you need it, contact us by e-mail at dmitryg*devart*com.

Post Reply