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

Ask Ubuntu | Gops AB | 2 years 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. 0

    Cassandra connection fails

    Stack Overflow | 2 years ago | Gops AB
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /172.17.1.XX:9160 (com.datastax.driver.core.TransportException: [/172.17.1.XX:9160] Cannot connect))
  2. 0

    Cannot able to connect to another host

    Ask Ubuntu | 2 years ago | Gops AB
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /172.17.1.XX:9160 (com.datastax.driver.core.TransportException: [/172.17.1.XX:9160] Cannot connect))
  3. 0

    Cassandra 2.x中文教程(22):使用Java驱动操作Cassandra | 屁民部落

    pimin.net | 1 year ago
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /192.168.1.16:9042 (com.datastax.driver.core.TransportException: [/192.168.1.16:9042] Cannot connect))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cassandra 2.x中文教程(22):使用Java驱动操作Cassandra - 推酷

    tuicool.com | 1 year ago
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /192.168.1.16:9042 (com.datastax.driver.core.TransportException: [/192.168.1.16:9042] Cannot connect))
  6. 0

    Error while connecting to Cassandra using spark streaming

    Stack Overflow | 12 months ago | Mohamed Said Benmousa
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.ConnectionException: [/127.0.0.1:9042] Unexpected error during transport initialization (com.datastax.driver.core.TransportException: [/127.0.0.1:9042] Connection has been closed)))

    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: /172.17.1.XX:9160 (com.datastax.driver.core.TransportException: [/172.17.1.XX:9160] 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:196)
      2. com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:80)
      3. com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1145)
      4. com.datastax.driver.core.Cluster.getMetadata(Cluster.java:313)
      4 frames
    3. com.example.cassandra
      Client.main
      1. com.example.cassandra.Client.connect(Client.java:18)
      2. com.example.cassandra.Client.main(Client.java:74)
      2 frames