-
Notifications
You must be signed in to change notification settings - Fork 582
HikariCP timeout with com.clickhouse.jdbc.ClickHouseDataSource #1214
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
Comments
Hi @wzisheng, I didn't see JDBC driver show up in above stack trace. Could you elaborate? Would be great if you can provide minimal code for reproducing the issue. |
@zhicwu here it is... private static DataSource convertToHikari(final DataSource dataSource) { properties.put("ssl", "true"); |
Not able to reproduce. Please make sure the url is valid and server is reachable from client. Anyway, I updated examples by adding usePooledConnection() which works well. |
seems usePooledConnection() only get one connection, which in mine the first time it works fine . Only if the 2nd or 3/4th time it will produce.. |
Tried a loop for 1000 times(pool size=20) and still not able to reproduce. Please feel free to reopen the issue if you're certain it's caused by the driver. |
clickhouse-jdbc 0.3.2 with HikariCP 4.0.3
if we use

com.clickhouse.jdbc.ClickHouseDataSource
, and convert to HikariCP datasource, then we gotwhile
ru.yandex.clickhouse.clickhousedatasource
works fine.BTW, we use https
The text was updated successfully, but these errors were encountered: