I am using python CQL client(Windows Server 2008) to connect with cassandra( Ubuntu 1.1.6) and getting the below error. The port is open on the server. Have been stuck in this issue for a while and not sure how to proceed.
Not sure if this an issue with thrift ( able to do an import thrift and did not error - not sure how else to verify).Looking for ideas
con = cql.connect("CassServer01",9160,"test1")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python\lib\site-packages\cql\connection.py", line 143,
in connect
consistency_level=consistency_level, transport=transport)
File "C:\Program Files\Python\lib\site-packages\cql\connection.py", line 59, i
n __init__
self.establish_connection()
File "C:\Program Files\Python\lib\site-packages\cql\thrifteries.py", line 151,
in establish_connection
self.transport.open()
File "C:\Program Files\Python\lib\site-packages\thrift\transport\TTransport.py
", line 261, in open
return self.__trans.open()
File "C:\Program Files\Python\lib\site-packages\thrift\transport\TSocket.py",
line 99, in open
message=message)
thrift.transport.TTransport.TTransportException: Could not connect to CassServer01
:9160
