iqlusioninc/tmkms

can't get around `validator peer ID mismatch` - `got <always a different node id>`

andy108369 opened this issue · 1 comments

Server: tmkms v0.12.2

Client: akash v0.16.3

$ akash version --long | grep -E 'mint@|sdk@'
- github.com/cosmos/cosmos-sdk@v0.45.1 => github.com/ovrclk/cosmos-sdk@v0.45.4-akash.1
- github.com/tendermint/tendermint@v0.34.19 => github.com/ovrclk/tendermint@v0.34.19-patches

tmkms.toml

[[validator]]
addr = "tcp://0c1958bf30b10fc358fceb9797c79cc204eb510a@node1:26658"

# to match with the node1 (akash validator)
# node1# akash tendermint show-node-id
# 0c1958bf30b10fc358fceb9797c79cc204eb510a

validator peer ID mismatch

I am seeing that the validator peer ID is different with every new connection attempt via client restart, but remains the same when I am only restarting the tmkms server while keeping the client up.

see got <always a different node id> here

2022-08-23T22:19:05.062571Z ERROR tmkms::client: [akashnet-dev-1@tcp://0c1958bf30b10fc358fceb9797c79cc204eb510a@node1:26658] verification failed: node1:26658: validator peer ID mismatch! (expected 0c1958bf30b10fc358fceb9797c79cc204eb510a, got 05a6b50284f43d81d68adb98c94d1014e4dd0eb3)
...
2022-08-23T22:16:38.141338Z ERROR tmkms::client: [akashnet-dev-1@tcp://0c1958bf30b10fc358fceb9797c79cc204eb510a@node1:26658] verification failed: node1:26658: validator peer ID mismatch! (expected 0c1958bf30b10fc358fceb9797c79cc204eb510a, got 9148cdd880ae11ed93c500123007f5d3c45f9274)

This is an issue on the Tendermint side. See the past discussion on #136 and tendermint/tendermint#3105