I don't know if it's related to the new C* python driver that got released yesterday (3.3.0), but as of today, I had problems successfully running the cstar_perf UI in a docker container.
I have been seeing that a client would run into a timeout when establishing a connection with C*:
WARNING:cassandra.cluster:[control connection] Error connecting to 127.0.0.1:
Traceback (most recent call last):
File "cassandra/cluster.py", line 2154, in cassandra.cluster.ControlConnection._reconnect_internal (cassandra/cluster.c:37797)
return self._try_connect(host)
File "cassandra/cluster.py", line 2176, in cassandra.cluster.ControlConnection._try_connect (cassandra/cluster.c:38315)
connection = self._cluster.connection_factory(host.address, is_control_connection=True)
File "cassandra/cluster.py", line 847, in cassandra.cluster.Cluster.connection_factory (cassandra/cluster.c:10142)
return self.connection_class.factory(address, self.connect_timeout, *args, **kwargs)
File "cassandra/connection.py", line 330, in cassandra.connection.Connection.factory (cassandra/connection.c:5749)
raise OperationTimedOut("Timed out creating connection (%s seconds)" % timeout)
OperationTimedOut: errors=Timed out creating connection (5 seconds), last_host=None
After increasing the connection_timeout, things started to work as before.
Please note that the default connection_timeout is 5s
I don't know if it's related to the new C* python driver that got released yesterday (3.3.0), but as of today, I had problems successfully running the cstar_perf UI in a docker container.
I have been seeing that a client would run into a timeout when establishing a connection with C*:
After increasing the connection_timeout, things started to work as before.
Please note that the default connection_timeout is 5s