Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

satvantsingh_190085 avatar image
satvantsingh_190085 asked Erick Ramirez answered

Adding a new node always reports "Unable to gossip with any peers"

FOLLOW UP TO #4355

I tried multiple times to build my cluster on azure VM . I can start my standalone node and it works fine. when I am going to add new node to my existing cluster . It's always through message "unable to communicate with peers"

seeds : private_ip
listen_address: private_ip1
native_transport_address: public_ip1

If you have a multi-region cloud setup where nodes cannot communicate on their private IP across regions, set the broadcast_address to the public IP so intra-region communications go out on the WAN.

# only required for multi-region cloud environments
broadcast_address: public_ip1
cassandraconfiguration
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

It sounds like you didn't follow the recommendation I made in question #4355 and so you're running into a slightly different issue.

It looks like you've set the broadcast address but you don't have a multi-region setup. If this is the case, you should only configure the listen and native transport addresses.

If you edit the question above and post the full error message and the full stack trace, I'll be able to confirm. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.