[CONC-180] Timeout in SSL handshake results in unhelpful message "Unknown MySQL error" Created: 2016-05-11  Updated: 2016-05-15  Resolved: 2016-05-15

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.1

Type: Bug Priority: Minor
Reporter: Vladislav Vaintroub Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-9267 pull in Connector/C sources into the ... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/winx64-debug/builds/89/steps/test/logs/stdio

Server needs more time for ssl_8k_key, especially if it runs in parallel builds, so 30 seconds timeout fails.
Apparently, the pvio error messages inside SSL handshake are not propagated, and user is presented with an error message that does not give him idea about what happened or how to fix (in this case, user should set connect timeout higher).



 Comments   
Comment by Georg Richter [ 2016-05-15 ]

Fixed in rev. 07877e61cf3c939f8363113454ff88173489d750

New error message: ERROR 2026 (HY000): SSL connection error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Generated at Thu Feb 08 03:03:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.