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))

GitHub | ankitaa89 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    GitHub comment 387#244919655

    GitHub | 8 months ago | ankitaa89
    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))
  2. 0

    Spark cluster computing framework

    gmane.org | 1 year ago
    java.io.IOException: Failed to open native connection to Cassandra at {192.168.1.126}:9042
  3. 0

    GitHub comment 390#216226401

    GitHub | 12 months ago | dahankzter
    java.lang.RuntimeException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.TransportException: [localhost/127.0.0.1] Cannot connect), localhost/0:0:0:0:0:0:0:1:9042 (com.datastax.driver.core.exceptions.TransportException: [localhost/0:0:0:0:0:0:0:1] Cannot connect))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when running cassandra-stress on Centos 6.7

    Stack Overflow | 10 months ago | user697110
    java.lang.RuntimeException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.TransportException: [localhost/127.0.0.1] Cannot connect))
  6. 0

    GitHub comment 1#288762146

    GitHub | 1 month ago | chenweisomebody126
    java.io.IOException: Failed to open native connection to Cassandra at {127.0.0.1}:9042

    14 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. DataStax Java Driver for Apache Cassandra - Core
      Cluster.getMetadata
      1. com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:231)
      2. com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:77)
      3. com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1414)
      4. com.datastax.driver.core.Cluster.getMetadata(Cluster.java:393)
      4 frames
    3. com.home.caspackage
      CassaCluster.main
      1. com.home.caspackage.CassaCluster.connect(CassaCluster.java:24)
      2. com.home.caspackage.CassaCluster.main(CassaCluster.java:52)
      2 frames