com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /192.168.100.4:9042 (com.datastax.driver.core.exceptions.TransportException: [/192.168.100.4] Cannot connect))

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by ankitaa89
, 1 year ago
All host(s) tried for query failed (tried: /192.168.100.4:9042 (com.datastax.driver.core.exceptions.TransportException: [/192.168.100.4] Cannot connect))
via Stack Overflow by Antonio Gallo
, 1 year ago
All host(s) tried for query failed (tried: /10.240.41.185:9042 (com.datastax.driver.core.TransportException: [/10.240.41.185:9042] Cannot connect))
via howtobuildsoftware.com by Unknown author, 2 years ago
All host(s) tried for query failed (tried: /10.240.41.185:9042 (com.datastax.driver.core.TransportException: [/10.240.41.185:9042] Cannot connect))
via GitHub by gkericks
, 1 year ago
All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces))
via pr8x.com by Unknown author, 1 year ago
All host(s) tried for query failed (tried: /192.168.101.11:9042 (com.datastax.driver.core.TransportException: [/192.168.101.11:9042] Connection has been closed))**
via GitHub by james-hu
, 1 year ago
All host(s) tried for query failed (tried: /127.0.0.1:9402 (com.datastax.driver.core.exceptions.TransportException: [/127.0.0.1:9402] Cannot connect))
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /192.168.100.4:9042 (com.datastax.driver.core.exceptions.TransportException: [/192.168.100.4] Cannot connect))
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:231)
at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1414)
at com.home.caspackage.CassaCluster.connect(CassaCluster.java:24)
at com.home.caspackage.CassaCluster.main(CassaCluster.java:52)

Users with the same issue

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