question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can not connect to clickhouse server

See original GitHub issue

i use

 <dependency>
           <groupId>com.clickhouse</groupId>
           <artifactId>clickhouse-jdbc</artifactId>
           <version>0.3.2-patch11</version>
       </dependency>

url = jdbc:ch://xxx.compute-1.amazonaws.com:8123/dbname

but this error log :

java.sql.SQLException: No client available, server ClickHouseNode

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
zhicwucommented, Aug 24, 2022

Hi @PromiseNev & @viskvortsov, could you use shaded jar as suggested in readme?

<dependency>
    <!-- please stop using ru.yandex.clickhouse as it's been deprecated -->
    <groupId>com.clickhouse</groupId>
    <artifactId>clickhouse-jdbc</artifactId>
    <version>0.3.2-patch11</version>
    <!-- use uber jar with all dependencies included, change classifier to http for smaller jar -->
    <classifier>all</classifier>
    <exclusions>
        <exclusion>
            <groupId>*</groupId>
            <artifactId>*</artifactId>
        </exclusion>
    </exclusions>
</dependency>
0reactions
PromiseNevcommented, Aug 30, 2022

jdbc url相关参数的文档在哪里可以查看?

有关更多信息,请参阅JDBC 特定配置和客户端选项(commonhttpgrpccli)。

thank u very very much, this issue can close ~

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why I am not able to connect to ClickHouse? - ChistaDATA
Step 2: Please confirm you are using the appropriate port IP/interface and ensure you are not connecting to a secured port without tls/https...
Read more >
Troubleshooting | ClickHouse Docs
Unable to access a ClickHouse Cloud service​ ... Check the IP Access List, if you are attempting to connect from outside the allowed...
Read more >
Can not Connect ClickHouse via clickhouse-client ... - GitHub
ClickHouse Version:1.1.54380 i change the /etc/clickhouse-server/config.xml to set the listen_host to 0.0.0.0. and restart clickhouse tcp 0 ...
Read more >
Clickhouse connection refuse - Stack Overflow
2 Answers 2 ... Again execute sudo lsof -i :8123 to see if your clickhouse-server is listening at that port. ... It seems...
Read more >
Cannot connect to a database | DataGrip Documentation
Step 2. Check your connection properties ; Azure SQL Database. 1433 ; ClickHouse. 8123 ; Couchbase Query Query Service. 11210 ; Exasol. 8563....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found