I keep getting this error - exception.ClientError: (-1L, ‘Failed to seed cluster’, 'src/main/aerospike/as_cluster.c’, 251)

Link to the previous question - Azure - I keep getting this error - exception.ClientError: (-1L, 'Failed to seed cluster', 'src/main/aerospike/as_cluster.c', 251)

Very simply, this means that the client cannot connect to the seed node. When you configure the client with a host, or hosts (plural) it will connect to the first node it can. From this node it will learn about the rest of the nodes in the cluster, the partition map, and it will establish and maintain connections to all the other nodes.

If you see this error the client can’t connect to the cluster at the node IP and host you gave. So, first test if manually for connection. Assuming the IP is 192.168.1.1 and the port is 3000 you would use telnet and:

telnet 192.168.1.1 3000

If it fails to connect then you need to check whether asd is running on that node. Did you initialize it with that port? etc. Please report back.

Thank you. This help.

1 Like