Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.6.21
-
None
-
Server - MariaDB 10.6.16 on OEL7 (OpenSSL 1.0)
Client - OEL 8 (OpenSSL 1.1)
Description
We are reading MariaDB binary logs from our client application.
The client application is on OEL8 and uses OpenSSL 1.1.
The MariaDB server version is 10.6.16 on OEL7 and uses OpenSSL 1.0.
We use mysql binary log APIs (mysql_binlog_fetch) to read the MariaDB binary log events.
The client application is intermittently fails with two different types of errors in nature.
1) The mysql_binlog_fetch() fails and the mysql_error() returns the error "Lost connection to MySQL server during query". There is no network error and restarting the application fails again every time.
2) The second error is ....
SQL error (2026). SSL connection error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
This error suggests that the ssl versions mismatch in the client and server. My understanding is that if the ssl versions are different in client and server and error is because that , it should always come. But this error is less frequent than the first one.
Can you please provide your input in understanding,
1) What are the implications if client is on OpenSSL 1.0 and the server is on OpenSSL 1.1 ?
The client application was running fine with OpenSSL 1.0.
2) Could the reason for both the above errors because of using different OpenSSL versions ?