Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random peer id #359

Closed
Elecon-rou opened this issue Jul 12, 2021 · 1 comment
Closed

Random peer id #359

Elecon-rou opened this issue Jul 12, 2021 · 1 comment

Comments

@Elecon-rou
Copy link

I've got a validator app (and running chain) based on cosmos-sdk v0.42.1 tendermint v0.34.8.
The issue is that actual peer ID is different each time the validator restarts.
Peer id AFAIK should come from the output of appd tendermint show-node-id command and it does in this setup.

Here's log while I restared my validator continiously:

Jul 12 18:44:14 signer-host tmkms: 2021-07-12T16:44:14.274546Z ERROR tmkms::client: [testnetv2@tcp://10.0.0.2:26658] verification failed: 10.0.0.2:26658: validator peer ID mismatch! (expected 9441E342CE0D199EAF24B4A3A11F41FC1B46118F, got 6A4477114DEE21B39B2785C7AB88A656A9553239)
Jul 12 18:44:18 signer-host tmkms: 2021-07-12T16:44:18.282708Z ERROR tmkms::client: [testnetv2@tcp://10.0.0.2:26658] verification failed: 10.0.0.2:26658: validator peer ID mismatch! (expected 9441E342CE0D199EAF24B4A3A11F41FC1B46118F, got DE9243F8616E144CEEBED877E9EDF42418297062)
Jul 12 18:44:27 signer-host tmkms: 2021-07-12T16:44:27.296987Z ERROR tmkms::client: [testnetv2@tcp://10.0.0.2:26658] verification failed: 10.0.0.2:26658: validator peer ID mismatch! (expected 9441E342CE0D199EAF24B4A3A11F41FC1B46118F, got 2E97C668CDDF0D9B2A830F419FC89001C78CCF06)
Jul 12 19:03:37 signer-host tmkms: 2021-07-12T17:03:37.024227Z ERROR tmkms::client: [testnetv2@tcp://10.0.0.2:26658] protocol error: Connection reset by peer (os error 104)
Jul 12 19:04:03 signer-host tmkms: 2021-07-12T17:04:03.362761Z ERROR tmkms::client: [testnetv2@tcp://10.0.0.2:26658] verification failed: 10.0.0.2:26658: validator peer ID mismatch! (expected 9441E342CE0D199EAF24B4A3A11F41FC1B46118F, got 7597C7F662BE914DFDD617664F7004CE910B04A2)
Jul 12 19:04:13 signer-host tmkms: 2021-07-12T17:04:13.381624Z ERROR tmkms::client: [testnetv2@tcp://10.0.0.2:26658] verification failed: 10.0.0.2:26658: validator peer ID mismatch! (expected 9441E342CE0D199EAF24B4A3A11F41FC1B46118F, got 628625FD4275B27518A4CCB4CFC00878ED38FC28)
Jul 12 19:04:39 signer-host tmkms: 2021-07-12T17:04:39.265848Z ERROR tmkms::client: [testnetv2@tcp://10.0.0.2:26658] verification failed: 10.0.0.2:26658: validator peer ID mismatch! (expected 9441E342CE0D199EAF24B4A3A11F41FC1B46118F, got 0DCE330CFE44615BCD51F3D0C33F1C1AA1C625DF)
@tony-iqlusion
Copy link
Member

This is something which was never fixed on the Tendermint side. See #136.

We'll be migrating to gRPC soon for the "privval" connection, which will use X.509 authentication. See #73.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants