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

GitHub | syuu1228 | 9 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. 0

    cassandra-stress / cqlsh connection fails on native mode

    GitHub | 9 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.))
  2. 0

    cassandra-stress with snappy compression is not working with scylla

    GitHub | 6 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))
  3. 0

    GitHub comment 390#216226401

    GitHub | 11 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 | 9 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

    Error in cassandra while using 'cassandra-stress'

    Stack Overflow | 3 months ago | Jeet
    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.TransportException: [localhost/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.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.))

      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