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 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

    GitHub comment 387#244919655

    GitHub | 6 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 | 11 months ago
    java.io.IOException: Failed to open native connection to Cassandra at {192.168.1.126}:9042
  3. 0

    GitHub comment 390#216226401

    GitHub | 10 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 | 8 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

    cassandra single node connection error

    Stack Overflow | 2 years ago | user3498704
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.TransportException: [/127.0.0.1:9042] Cannot connect))

    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