java.lang.RuntimeException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.OperationTimedOutException: [/127.0.0.1:9042] Operation timed out))

GitHub | slivne | 2 months ago
  1. 0

    cassandra-stress with snappy compression is not working with scylla

    GitHub | 2 months ago | slivne
    java.lang.RuntimeException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9042 (com.datastax.driver.core.OperationTimedOutException: [/127.0.0.1:9042] Operation timed out))
  2. 0

    cassandra-stress / cqlsh connection fails on native mode

    GitHub | 5 months ago | syuu1228
    java.lang.RuntimeException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /192.168.122.30:9042 (com.datastax.driver.core.exceptions.ServerError: An unexpected error occurred server side on /192.168.122.30:9042: IPv6 socket addresses are not supported.))
  3. 0

    GitHub comment 390#216226401

    GitHub | 7 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 | 6 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 387#244919655

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

    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: /127.0.0.1:9042 (com.datastax.driver.core.OperationTimedOutException: [/127.0.0.1:9042] Operation timed out))

      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:240)
      2. com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:86)
      3. com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1429)
      4. com.datastax.driver.core.Cluster.getMetadata(Cluster.java:402)
      4 frames
    3. org.apache.cassandra
      Stress.main
      1. org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:121)
      2. org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:189)
      3. org.apache.cassandra.stress.settings.SettingsSchema.createKeySpacesNative(SettingsSchema.java:79)
      4. org.apache.cassandra.stress.settings.SettingsSchema.createKeySpaces(SettingsSchema.java:69)
      5. org.apache.cassandra.stress.settings.StressSettings.maybeCreateKeyspaces(StressSettings.java:205)
      6. org.apache.cassandra.stress.StressAction.run(StressAction.java:55)
      7. org.apache.cassandra.stress.Stress.main(Stress.java:109)
      7 frames