Apache Cassandra: Unable to gossip with any seeds

I had a similar problem with my cassandra v2.0.4 cluster running a single node.

Check your cassandra.yaml and make sure that your "listen_address" and "seeds" values match, with the exception that the seeds value requires quotes around it.


You might get this problem if your private IP address is different than the public one (like on AWS). For example, the host thinks it's "172.31.0.2" when it's visible as "55.70.33.10".

The solution to this problem is:

listen_address: 172.31.0.2
broadcast_address: 55.70.33.10

in cassandra.yaml

  1. Make sure your cluster_name entry match on all the nodes in the cluster (you may need to delete your storage if you changed the cluster name)

  2. Verify that all nodes can ping to each other

  3. broadcast_rpc_address and listen_address should be set to local IP (not localhost or 127.0.0.1)

  4. seeds should point to the IP address of the seed(s)