I’ve been trying to create a testnet with cosmos. Each validator is running on an EC2 instance and there are three.
I’ve added the correct nodeid/ip/port to persistent_peers
in the config.toml
and started each validator. The security groups are configured correctly and allow inbound requests on 26656. However, two things are happening
- The node is not a validator - I get this message. How do I make each node a validator?
- On connection I get this error
1:22PM INF Inbound Peer rejected err="auth failure: handshake failed: EOF" module=p2p numPeers=0
1:22PM INF Inbound Peer rejected err="filtered CONN<172.31.44.87:53800>: duplicate CONN<172.31.44.87:53800>" module=p2p numPeers=0
1:22PM ERR dialing failed (attempts: 4): auth failure: secret conn failed: EOF addr={"id":"7433d9b70645db4f99a8e208200608b44f72c70f","ip":"172.31.44.87","port":26656} module=pex
1:22PM ERR dialing failed (attempts: 4): auth failure: conn.ID (dd44a5195ad731e83d2e3813d61c5d8f052b8ad2) dialed ID (44712dad872badc4c8c77513df16855fc9103131) mismatch addr={"id":"44712dad872badc4c8c77513df16855fc9103131","ip":"172.31.41.91","port":26656} module=pex
1:22PM ERR dialing failed (attempts: 4): auth failure: conn.ID (d7033179264254bae05774ba5fe8eddb4e1fb5f5) dialed ID (086ffd0dd711674c60e925faa0cf5fdc5f8f4023) mismatch addr={"id":"086ffd0dd711674c60e925faa0cf5fdc5f8f4023","ip":"172.31.15.152","port":26656} module=pex
1:22PM INF Reconnecting to peer addr={"id":"086ffd0dd711674c60e925faa0cf5fdc5f8f4023","ip":"172.31.15.152","port":26656} module=p2p
1:22PM INF Dialing peer address={"id":"086ffd0dd711674c60e925faa0cf5fdc5f8f4023","ip":"172.31.15.152","port":26656} module=p2p
How do I diagnose these problems?
Thanks!