-
Notifications
You must be signed in to change notification settings - Fork 10
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
Connection issue with JDBC driver #78
Comments
This is the error: An error occurred while communicating with the ClickHouse JDBC by ClickHouse, Inc. data source 'Untitled Data Source' 400 Bad RequestThe plain HTTP request was sent to HTTPS portnginx , server ClickHouseNode [uri=http://clickhouse-bayerd.ds-engine-dev.sc-navigator.azure.cnb:443/default, options={custom_http_params=join_use_nulls=1,session_id=tableau-jdbc-connector-1717422230521-61290111,typeMappings=UInt64=java.lang.String,UInt128=java.lang.String,Int128=java.lang.String,UInt256=java.lang.Double,Int256=java.lang.Double,socket_timeout=300000}]@1000635078 Unable to connect to the ClickHouse JDBC by ClickHouse, Inc. server "clickhouse-bayerd.ds-engine-dev.sc-navigator.azure.cnb". Check that the server is running and that you have access privileges to the requested database. Connector Class: clickhouse_jdbc, Version: 0.2.6 |
Could you please check / select the SSL flag on the connection dialog? |
yes SSL is checked |
check if the DNS name ( clickhouse-bayerd.ds-engine-dev.sc-navigator.azure.cnb ) could be resolved.
|
Hi Yuri I am able to connect through tableau desktop now by adding the sslrootcert=/Users/username/Downloads/ds-engine-dev.sc-navigator.azure.cnb.crt |
The 'better place' for the cert file (common in either *nix flavour) is Or you may want to try the 'ssl=NONE' workaround (no cert file needed): |
for windows server? |
where can I find this /etc/ssl/certs path in windows server? |
Create the dir |
Hi Yuri Tried creating the folder on both server node machines but still same error |
tried SSL=None but not able to connect after it |
Did you try this (on the Desktop at least):
It may not work (depends on the CH server config settings). |
Could you please check if placing the cert file into the |
Thankyou so much Yuri, ssl=true,sslmode=NONE this works.. |
Nice. |
Hi Team
I am getting connection error when trying with JDBC driver. With ODBC I am able to connect but it is very slow on our tableau server so wanted to try this. Here is the error msg:
Connector Class: clickhouse_jdbc, Version: 0.2.6
Taco file used is: clickhouse_jdbc_0.3.1.taco
Can someone please help. Thanks in advance.
Best Regards
Sushil
The text was updated successfully, but these errors were encountered: