Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL error when connecting to MySQL database #1758

Open
onurozkir opened this issue Jan 13, 2022 · 1 comment
Open

SSL error when connecting to MySQL database #1758

onurozkir opened this issue Jan 13, 2022 · 1 comment

Comments

@onurozkir
Copy link

onurozkir commented Jan 13, 2022

Description:

i am getting javax.net.ssl.SSLException: readHandshakeRecord error where connection to MySQL database in siddhi project. i followed all the steps given the link Managing Keystore and defined the certificate file in the client-truststore.jks file

i got :

[2022-01-13_13-49-13_036] ERROR {com.zaxxer.hikari.pool.HikariPool} - HikariPool-5 - Exception during pool initialization.
[2022-01-13_13-49-13_036] ERROR Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
[2022-01-13_13-49-13_036] ERROR Caused by: javax.net.ssl.SSLException: readHandshakeRecord

this is my file :

@store(type = 'rdbms', jdbc.url = "${DBHOST}", username = "${USERNAME}", password = "${PASSWORD}", jdbc.driver.name = "com.mysql.jdbc.Driver")
...

I only catch this when connecting to the production database. no problem in dev and local db

Affected Siddhi Version: 4.0.0

Steps to reproduce:

Related Issues:

@Colcefer
Copy link

Colcefer commented Sep 20, 2022

"${DBHOST}?useSSL=false"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants