Cassandra Run appears unable to gossip with any seeds,cqlsh link not on, prompting connection refused treatment method
Problem description
When Cassandra is started, it appears:
Java.lang.RuntimeException:Unable to gossip with any seeds at Org.apache.cassandra.gms.Gossiper.doShadowRound ( gossiper.java:1160) at Org.apache.cassandra.service.StorageService.checkForEndpointCollision (Storageservice.java : 416) at org.apache.cassandra.service.StorageService.joinTokenRing (Storageserv ice.java:608) at Org.apache.cassandra.service.StorageService.initServer (Storageservice. java:576) at Org.apache.cassandra.service.StorageService.initServer (Storageservice. java:475) at Org.apache.cassandra.service.CassandraDaemon.setup (Cassandradaemon.ja va:346) at Org.apache.cassandra.service.CassandraDaemon.activate (Cassandradaemon. java:461) at Org.apache.cassandra.service.CassandraDaemon.main (Cassandradaemon.jav a:504)
This problem occurs because the seeds and IP settings of the Cassandra.yaml configuration file are incorrect.
Check your Cassandra.yaml and make sure this your "listen_address" and "seeds" values match, with the exception, the S Eeds value requires quotes around it.
Please check that seeds and listen_address are consistent.
Also, if you have used the Scutils method in my previous article to set the hostname, then change the 127.0.0.1 in the seeds configuration to your hostname.
Cassandra Run appears unable to gossip with any seeds,cqlsh link not on, prompting connection refused treatment method