SSL connect Failure Direct=True

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
JCorrea

SSL connect Failure Direct=True

Post by JCorrea » Thu 20 Apr 2006 14:53

Cannot connect using Direct=True
Connect with Direct=False is okay
MySql Version 5.0.20 Windows NT distribution
MyDac version 4.30.0.11 (trial)

I am a registered user of MySqlDirect.net v2.80.6 25.04.05
and would like to purchase Delphi VCL component

Error: Assertion failure (d:\Projects\Delphi\Mydac\Source\MySqlVioTcpSSL.pas, line 87)

Details
---------

Core Lab Support: Piece of post has been cut off due to request of user JCorrea.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 21 Apr 2006 14:53

The situation you have described isn't usual, so we ask you to check once more if the problem persists when Direct=True but disappears when Direct=False.
If you're quite sure this is the case, then search for files 'libeay32.dll', 'ssleay32.dll' on your hard drive and report us their sizes and locations.
Does the problem persist in design-time or in run-time?

JC

Post by JC » Sat 22 Apr 2006 12:49

Size and locations reported above in step #2 and repeated here:

2. CrLab Mydac Table demo
************************************
C:\>dir "C:\Program Files\CoreLab\Mydac for Delphi 2006\Demos\Win32\Table" /oe
Volume in drive C is Local Disk
Volume Serial Number is 008C-7C18

Directory of C:\Program Files\CoreLab\Mydac for Delphi 2006\Demos\Win32\Table

...
11/03/2005 11:50a 1,064,960 libeay32.dll
04/03/2006 02:15p 1,449,984 libmySQL.dll
11/03/2005 11:50a 200,704 ssleay32.dll
...

libeay32.dll version=0.9.8.1 OpenSSL Shared Library
ssleay32.dll version=0.9.8.1 "

libmySQL.dll version=MySql 5.0.20 windows distribution

JC

Post by JC » Sat 22 Apr 2006 13:13

"Does the problem persist in design-time or in run-time?"

It occurs in Both

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 25 Apr 2006 08:40

We have tested MyDAC with other versions of dll and no problem occurred. Could you send us by e-mail (evgeniyD*crlab*com) your dlls? Possibly this problem concerns files versions.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 26 Apr 2006 08:42

We have reproduced the problem using dlls you have sent. Please tell us where did you get them from.

jcorrea

Post by jcorrea » Tue 02 May 2006 21:13

Sorry, but I can't find the link I had to the download of these .dll's.

Which versions should I be using (ssleay32.dll libeay32.dll) ?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 03 May 2006 13:28

We have tested MyDAC with openssl-0.9.7c.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Wed 03 May 2006 17:40

Antheus, why not putting link on the FAQ page to the working SSL dll ?
Poeple wanting to use SSL connection will then gain a lot of time !
I'm using a Microsoft O.S., so I don't know if this is as easy for Linux users

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 04 May 2006 08:28

Now we think about making using SSL with MyDAC easier.
You can download source code of SSL dlls that we have tested with MyDAC by this link.

Post Reply