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

DataStax JIRA | Benedict Adamson | 2 years ago
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

    If a data-store node is down when the connection pool code tries to connect to it, naturally an exception is thrown by the networking code. The connection pool code however logs this exception as an ERROR with a stack-trace. This is questionable behaviour: * Stack-traces should be logged for exceptions that indicate program logic errors, and only logic errors, as they are useful to only programmers, and not useful to computer operators. * C* is designed to cope with data-store nodes that go down. A Data-store node being down is not an error condition, but is a warning condition; C* may still (with suitable replication and consistency-level settings) satisfy queries despite the node being down. Here is an example log message: {noformat} ERROR 2015-05-27 15:29:01,585 Error creating pool to / com.datastax.driver.core.TransportException: [/] Cannot connect at com.datastax.driver.core.Connection.<init>( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.PooledConnection.<init>( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.Connection$ ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.SingleConnectionPool.<init>( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.HostConnectionPool.newInstance( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.SessionManager.replacePool( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.SessionManager.access$400( ~[cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.SessionManager$ [cassandra-driver-core-2.1.5.jar:na] at com.datastax.driver.core.SessionManager$ [cassandra-driver-core-2.1.5.jar:na] at [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor.runWorker( [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$ [na:1.7.0_75] at [na:1.7.0_75] Caused by: Connection refused: / at Method) ~[na:1.7.0_75] at ~[na:1.7.0_75] at ~[netty-3.9.0.Final.jar:na] at ~[netty-3.9.0.Final.jar:na] at ~[netty-3.9.0.Final.jar:na] at ~[netty-3.9.0.Final.jar:na] at ~[netty-3.9.0.Final.jar:na] ... 3 common frames omitted {noformat}

    DataStax JIRA | 2 years ago | Benedict Adamson
    com.datastax.driver.core.TransportException: [/] Cannot connect
  2. 0

    Cassandra connection issue during compaction

    Stack Overflow | 2 years ago | lakshmanas
    com.datastax.driver.core.TransportException: [/] Cannot connect
  3. 0

    Cassandra NoHostAvailableException Java-CQLDriver

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

    Automated exception search integrated into your IDE

  5. 0

    RC4 Driver throws exception when node is joining ring

    GitHub | 3 years ago | yadid
    com.datastax.driver.core.TransportException: [/] Cannot connect
  6. 0

    GitHub comment 62#144899449

    GitHub | 2 years ago | ziploc1010
    com.datastax.driver.core.TransportException: [/] Cannot connect

  1. rp 1 times, last 6 months ago
  2. bpbhat77 55 times, last 9 months ago
  3. poroszd 2 times, last 3 weeks ago
  4. jf-ast 7 times, last 4 weeks ago
  5. arturgajowy 329 times, last 1 month ago
17 more registered users
78 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


    Connection refused: /

  2. Java RT
    1. Method)[na:1.7.0_75]
    2 frames
  3. Netty
    5 frames
  4. Java RT
    1. java.util.concurrent.ThreadPoolExecutor.runWorker([na:1.7.0_75]
    2. java.util.concurrent.ThreadPoolExecutor$[na:1.7.0_75]
    3 frames