I\'m having trouble connecting to Cassandra (running on an EC2 node) remotely (from my laptop). When I use the DataStax Python driver for Cassandra:
from cas
Here is a simple debug method for you: On another machine which has cassandra installed, using cassandra cli command "cqlsh 10.X.X.X" to connect the remote cassandra server. If failed , then you should modify cassandra configuration file for the cassandra remote mode.
Such exception can be thrown if a control connection timeout was exceeded. Try to increase it or set it to None
to completely disable this timeout. For example:
from cassandra.cluster import Cluster
cluster = Cluster(['127.0.0.1'], control_connection_timeout=10, port=9042)
cluster.connect()