-
Notifications
You must be signed in to change notification settings - Fork 622
>= 0.8.x JDBC Driver cannot connect Clickhouse which has a external proxy port(chproxy--> https chproxy port) #2819
Description
We have one clickhouse which have a proxy https port above. Yes ,TLS abililty actually is provided by chproxy. Following the clickhouse-server's version, we upgraded the version of JDBC Driver. And then,we found the issue:
First,we used DBeaver 23.1.5 and JDBC Driver(0.9.4) to connect (jdbc:clickhouse://ip:443/databse?ssl=true&sslmode=none)
We got the error: unable to find valid certification path to requested target

I think the reason of this error is the stricter ssl-connect via JDBC Driver?
Secondly, we used DBeaver 23.1.5 and JDBC Driver(0.9.8) to connect (jdbc:clickhouse://ip:443/databse?ssl=true&sslmode=none)
We got the error: Unknown and unmapped config properties: [sslmode]
So i remove the sslmode.(jdbc:clickhouse://ip:443/databse?ssl=true)
Still error "unable to find valid certification path to requested target"
Maybe some parameter can control?
Thirdly, we used DBeaver 23.1.5 and JDBC Driver(0.8.3) to connect (jdbc:clickhouse://ip:443/databse?ssl=true&sslmode=none)
We got the error: Cannot invoke "java.net.Socket.setSoTimeout(int)" because "sock" is null

Finally,we used DBeaver 23.1.5 and JDBC Driver(0.7.2) to connect (jdbc:clickhouse://ip:443/databse?ssl=true&sslmode=none)
it's ok.

the parameter "sslmode" seems no longer exists in 0.9.8