com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details])

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via DataStax JIRA by mck, 1 year ago
All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615
via DataStax JIRA by mck, 1 year ago
All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615
via cassandra-dev by Cheng Jie He, 6 months ago
All host(s) tried for query failed (no host was tried)
via Stack Overflow by aroth
, 1 year ago
All host(s) tried for query failed (tried: /127.0.0.1:10112 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response))
via pr8x.com by Unknown author, 2 years ago
All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.exceptions.DriverException: Host replied with server error: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException
via pr8x.com by Unknown author, 2 years ago
All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.exceptions.DriverException: Host replied with server error: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details])
at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.