-
Notifications
You must be signed in to change notification settings - Fork 329
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
Clickhouse JDBC driver support #80
Comments
Hey, thanks for using Poli. I can reproduce your issue. It throws a no class found error when I try to test the connection because it cannot find the httpclientcomponent dependency the jdbc driver needs. The root cause is the clickhouse jdbc in maven has no dependencies included. Here is how I fix it. My environment:
Steps:
|
Hi shzlw! Thanks for looking at it. Poli it's a wonderful product! I followed your suggestions and generated a new jar with all dependencies. Copied that to jdbc-drivers, but after I restarted poli it throws a new error:
By the way, I'm using the docker version of Poli....and Windows 10 |
Tried again again with a fresh new install of Ubuntu 20.04 (on Docker), latest openjdk-11 and latest poli (0.12.2). Cloned jdbc driver to that machine and generated .jar with dependencies using mvn, excluding javadoc dependency portion. Still the getting same error: |
I only tested the data source connection by clicking the ping button. Did you get the exception when you try to ping the database or it happened when you tried to run a query in a report? |
It happens after restarting during login. First I started the app, changed password, added the new driver, then restarted...and there appears the error when I try to login. Somehow the addition of that jar interferes with the login process... |
Docker in my Ubuntu is messed up. I will need to try it on my Mac. Please just try install Poli through release zip to see if you still get the error or it is Poli in docker specific. |
Hi all,
I'm trying to use Poli with Clickhouse using the official JDBC driver, but after setting parameters it shows an Internal Server error message in Poli:
Internal Server Error: org/apache/http/conn/ConnectionKeepAliveStrategy
I've tried increasing JDBC parameters like connect_timeout and similar to no avail.
Is there any workaround?
Thanks!
The text was updated successfully, but these errors were encountered: