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

MWEB::Node::ConnectBlock(): Failed to connect MWEB block: ApplyBlock: Consensus Error: MMR_MISMATCH #836

Open
areller opened this issue Jul 25, 2022 · 4 comments
Assignees
Labels

Comments

@areller
Copy link

areller commented Jul 25, 2022

I run multiple Litecoin nodes, all are on version v0.21.2
Some of the nodes, when reaching blocks https://blockchair.com/litecoin/block/2302148 or https://blockchair.com/litecoin/block/2302149
Started giving this error

2022-07-22T14:43:28Z ERROR: ConnectTip: ConnectBlock 4d0f52995bdd7e7e031e6a818787349c642b87a9d1df9a9e5ef4fee46c936b89 failed, mweb-connect-failed, MWEB::Node::ConnectBlock(): Failed to connect MWEB block: ApplyBlock: Consensus Error: MMR_MISMATCH

The node stopped syncing new blocks after that point.

I was able to solve it only after using an old snapshot of the data dir, the nodes were then able to sync to the tip without issues.

Expected behavior

The node should continuously sync new blocks

Actual behavior

The node stopped syncing new blocks after reaching blocks https://blockchair.com/litecoin/block/2302148 or https://blockchair.com/litecoin/block/2302149
displaying this error

2022-07-22T14:43:28Z ERROR: ConnectTip: ConnectBlock 4d0f52995bdd7e7e031e6a818787349c642b87a9d1df9a9e5ef4fee46c936b89 failed, mweb-connect-failed, MWEB::Node::ConnectBlock(): Failed to connect MWEB block: ApplyBlock: Consensus Error: MMR_MISMATCH

To reproduce

Unsure how to reproduce.

System information

Running v0.21.2 on AWS c5.9xlarge machines.

@onlyjob
Copy link

onlyjob commented Aug 16, 2022

Even with full resync from scratch, Litecoin 0.21.2.1 (built from source on Debian) can not get past Sat Jul 16 19:28:15 2022, logging the following repeatedly:

ERROR: ConnectTip: ConnectBlock b03c08d1e18e7e4f93ecd24ad0ea66891d7fb07fe690cb318e7447e023e87fb7 failed, mweb-connect-failed, MWEB::Node::ConnectBlock(): Failed to connect MWEB block: ApplyBlock: Consensus Error: MMR_MISMATCH

This is a reproducible issue, that's I've experienced few times already.

@DavidBurkett DavidBurkett self-assigned this Oct 13, 2022
@artburkart
Copy link

We ran into this for this block: https://blockchair.com/litecoin/block/2354317

@paperfrog1228
Copy link

Hi friends, how did you solve this? We met this again. We couldn't solve it.
We use this version : Litecoin Core v0.21.2.2

@yujianxian
Copy link

Hi friends, how did you solve this? We met this again. We couldn't solve it. We use this version : Litecoin Core v0.21.2.2

Have you solved this problem? I have also encountered this problem, who can help me

025-01-17T02:21:03Z ERROR: ConnectTip: ConnectBlock e44f22058d673531103f0f90d33f5b416c836b34467d2e4445f42861d1ed4500 failed, mweb-connect-failed, MWEB::Node::ConnectBlock(): Failed to connect MWEB block: ApplyBlock: Consensus Error: MMR_MISMATCH

version : Litecoin Core v0.21.3

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

No branches or pull requests

7 participants
@artburkart @onlyjob @paperfrog1228 @areller @DavidBurkett @yujianxian and others