com.datastax.driver.core.TransportException: [/172.31.13.111:9042] Cannot connect

DataStax JIRA | Vamsi | 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

    {code} [Cassandra Java Driver worker-0] ERROR com.datastax.driver.core.Session - Error creating pool to /172.31.13.111:9042 com.datastax.driver.core.TransportException: [/172.31.13.111:9042] Cannot connect at com.datastax.driver.core.Connection.<init>(Connection.java:106) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.PooledConnection.<init>(PooledConnection.java:32) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.Connection$Factory.open(Connection.java:521) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.DynamicConnectionPool.<init>(DynamicConnectionPool.java:73) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.HostConnectionPool.newInstance(HostConnectionPool.java:33) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.SessionManager.replacePool(SessionManager.java:239) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.SessionManager.access$400(SessionManager.java:39) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.SessionManager$3.call(SessionManager.java:272) [cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.SessionManager$3.call(SessionManager.java:264) [cassandra-driver-core-2.1.2.jar:?] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [?:1.7.0_09] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [?:1.7.0_09] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [?:1.7.0_09] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [?:1.7.0_09] at java.lang.Thread.run(Thread.java:722) [?:1.7.0_09] Caused by: org.jboss.netty.channel.ConnectTimeoutException: connection timed out: /172.31.13.111:9042 at org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:137) ~[netty-3.9.0.Final.jar:?] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83) ~[netty-3.9.0.Final.jar:?] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318) ~[netty-3.9.0.Final.jar:?] at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) ~[netty-3.9.0.Final.jar:?] ... 3 more {code}

    DataStax JIRA | 2 years ago | Vamsi
    com.datastax.driver.core.TransportException: [/172.31.13.111:9042] Cannot connect
  2. 0

    {code} [Cassandra Java Driver worker-0] ERROR com.datastax.driver.core.Session - Error creating pool to /172.31.13.111:9042 com.datastax.driver.core.TransportException: [/172.31.13.111:9042] Cannot connect at com.datastax.driver.core.Connection.<init>(Connection.java:106) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.PooledConnection.<init>(PooledConnection.java:32) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.Connection$Factory.open(Connection.java:521) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.DynamicConnectionPool.<init>(DynamicConnectionPool.java:73) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.HostConnectionPool.newInstance(HostConnectionPool.java:33) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.SessionManager.replacePool(SessionManager.java:239) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.SessionManager.access$400(SessionManager.java:39) ~[cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.SessionManager$3.call(SessionManager.java:272) [cassandra-driver-core-2.1.2.jar:?] at com.datastax.driver.core.SessionManager$3.call(SessionManager.java:264) [cassandra-driver-core-2.1.2.jar:?] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [?:1.7.0_09] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [?:1.7.0_09] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [?:1.7.0_09] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [?:1.7.0_09] at java.lang.Thread.run(Thread.java:722) [?:1.7.0_09] Caused by: org.jboss.netty.channel.ConnectTimeoutException: connection timed out: /172.31.13.111:9042 at org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:137) ~[netty-3.9.0.Final.jar:?] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83) ~[netty-3.9.0.Final.jar:?] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318) ~[netty-3.9.0.Final.jar:?] at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) ~[netty-3.9.0.Final.jar:?] ... 3 more {code}

    DataStax JIRA | 2 years ago | Vamsi
    com.datastax.driver.core.TransportException: [/172.31.13.111:9042] Cannot connect
  3. 0

    Mixed load cassandra-stress test

    Stack Overflow | 2 years ago | Steve
    com.datastax.driver.core.TransportException: [/192.168.5.11:9042] Cannot connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Prevent logging of stacktrace for bad Casandra contact point

    Stack Overflow | 2 years ago
    com.datastax.driver.core.TransportException: [test-host-2.example.com/172.16.12.202:9042] Cannot connect
  6. 0

    notebook throws errors that the shell doesn't

    Google Groups | 2 years ago | Marcin Jurek
    com.datastax.driver.core.TransportException: [/10.11.105.143:9042] Cannot connect

  1. bpbhat77 4 times, last 1 year ago
3 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. org.jboss.netty.channel.ConnectTimeoutException

    connection timed out: /172.31.13.111:9042

    at org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout()
  2. Netty
    NioClientBoss.run
    1. org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:137)[netty-3.9.0.Final.jar:?]
    2. org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83)[netty-3.9.0.Final.jar:?]
    3. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)[netty-3.9.0.Final.jar:?]
    4. org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)[netty-3.9.0.Final.jar:?]
    4 frames
  3. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[?:1.7.0_09]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[?:1.7.0_09]
    3. java.lang.Thread.run(Thread.java:722)[?:1.7.0_09]
    3 frames