com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (no host was tried)

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 Stack Overflow by im2kul
, 1 year ago
All host(s) tried for query failed (no host was tried)
via Google Groups by Abhinav Solan, 1 year ago
All host(s) tried for query failed (tried: ****************:9042 (com.datastax.driver.core.exceptions.ConnectionException: [****************] Pool is CLOSING))
via GitHub by billkalter
, 1 year ago
All host(s) tried for query failed (tried: /10.100.47.52:9042 (com.datastax.driver.core.exceptions.ConnectionException: [/10.100.47.52] Error while setting keyspace), /10.100.45.100:9042 (com.datastax.driver.core.exceptions.ConnectionException
via DataStax JIRA by Pavel Chlupacek, 1 year ago
All host(s) tried for query failed (tried: /127.0.0.1:12000 (com.datastax.driver.core.exceptions.TransportException: [/127.0.0.1] Error writing))
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (no host was tried)
at com.datastax.driver.core.RequestHandler.reportNoMoreHosts(RequestHandler.java:217)
at com.datastax.driver.core.RequestHandler.access$1000(RequestHandler.java:44)
at com.datastax.driver.core.RequestHandler$SpeculativeExecution.sendRequest(RequestHandler.java:276)
at com.datastax.driver.core.RequestHandler.startNewExecution(RequestHandler.java:117)
at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:93)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
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.