Hi Guys,

I am some problems of  Connection Timeout in a random mode, that is, the 
application in python that I am using sometimes it does work very well 
sometimes not, I am getting this error:

015-10-28 19:49:05,286 [WARNING] cassandra.cluster: [control connection] Error 
connecting to 10.20.255.191:
Traceback (most recent call last):
  File "/home/ealfaia/workspace_patrizio/python-driver/cassandra/cluster.py", 
line 2117, in _reconnect_internal
    return self._try_connect(host)
  File "/home/ealfaia/workspace_patrizio/python-driver/cassandra/cluster.py", 
line 2164, in _try_connect
    self._refresh_schema(connection, preloaded_results=shared_results, 
schema_agreement_wait=-1)
  File "/home/ealfaia/workspace_patrizio/python-driver/cassandra/cluster.py", 
line 2343, in _refresh_schema
    responses = connection.wait_for_responses(*queries, timeout=self._timeout, 
fail_on_error=False)
  File 
"/home/ealfaia/workspace_patrizio/python-driver/cassandra/connection.py", line 
438, in wait_for_responses
    return waiter.deliver(timeout)
  File 
"/home/ealfaia/workspace_patrizio/python-driver/cassandra/connection.py", line 
839, in deliver
    raise OperationTimedOut()
OperationTimedOut: errors=None, last_host=None
2015-10-28 19:49:05,292 [ERROR] cassandra.cluster: Control connection failed to 
connect, shutting down Cluster:
Traceback (most recent call last):
  File "/home/ealfaia/workspace_patrizio/python-driver/cassandra/cluster.py", 
line 840, in connect
    self.control_connection.connect()
  File "/home/ealfaia/workspace_patrizio/python-driver/cassandra/cluster.py", 
line 2091, in connect
    self._set_new_connection(self._reconnect_internal())
  File "/home/ealfaia/workspace_patrizio/python-driver/cassandra/cluster.py", 
line 2126, in _reconnect_internal
    raise NoHostAvailable("Unable to connect to any servers", errors)
NoHostAvailable: ('Unable to connect to any servers', {'10.20.255.191': 
OperationTimedOut('errors=None, last_host=None',)})

I have had some tests with others applications in python and the same error 
occur. Does anyone have any idea?

Thanks a lot 

Reply via email to