Page 1 of 1

Using Http Tunnel with Postgresql

Posted: Wed 01 May 2019 12:00
by chkaufmann
Hi,

I try to use the Http tunnel with Postgresql:

Code: Select all

    UniConnection.Server := '127.0.0.1';
    UniConnection.SpecificOptions.Values['UseHttp'] := 'True';
    UniConnection.SpecificOptions.Values['HttpUrl'] := 'https://myserver.xy/tunnel.php';
Now I get an error about missing IOHandler. I found the unit CRSSLIOHandler.pas in the demos but this doesn't compile because of other missing units. Where can I find these units?

Christian

Re: Using Http Tunnel with Postgresql

Posted: Thu 02 May 2019 06:36
by ViktorV
The TCRSSLIOHandler component is located in the dcldacsbridgeXXX package. This package is included in the UniDAC demos. See the package installation instructions in the file "%UniDACDemos%\TechnologySpecific\SecureBridge\Readme.html", where %UniDACDemos% is the UniDAC Demo projects installation path on your computer.

Re: Using Http Tunnel with Postgresql

Posted: Thu 02 May 2019 07:30
by chkaufmann
Normally I download the "source only" Zip file. So this means I have to use an installer in order to get the compiled packages?

Christian

Re: Using Http Tunnel with Postgresql

Posted: Thu 02 May 2019 07:56
by ViktorV
You can download required demo by the link: http://www.devart.com/pub/dac/CRSSLIOHandler.zip
Note you receive this message because you are using the HTTPS tunnel, not the HTTP tunnel. If you use the HTTP tunnel, you do not need to use the TCRSSLIOHandler component.