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

Bisq not loading - Error "heightOfLastBlock must match chainHeight" #5942

Closed
kben02 opened this issue Dec 29, 2021 · 3 comments
Closed

Bisq not loading - Error "heightOfLastBlock must match chainHeight" #5942

kben02 opened this issue Dec 29, 2021 · 3 comments

Comments

@kben02
Copy link

kben02 commented Dec 29, 2021

Description

Bisq not loading - Error "heightOfLastBlock must match chainHeight"

Version

Bisq 1.8.0

Steps to reproduce

Try to open Bisq

Expected behaviour

Bisq loads in a few seconds

Actual behaviour

Bisq stuck at "Connecting to Bitcoin network"

Screenshots

image

Device or machine

MacBook Pro Pro, version 10.15.7

Additional info

Dec-19 00:04:22.476 [JavaFX Application Thread] INFO b.n.p.n.Statistic: Accumulated network statistics:
Bytes sent: 145.791 MB;
Number of sent messages/Sent messages: 78349 / {PreliminaryGetDataRequest=2, NewDaoStateHashMessage=147, GetBlocksRequest=3, GetProposalStateHashesRequest=2, RefreshOfferMessage=14040, RemoveDataMessage=303, GetPeersRequest=24, BundleOfEnvelopes=59736, AddDataMessage=2907, GetDaoStateHashesRequest=3, GetBlindVoteStateHashesRequest=3, AddPersistableNetworkPayloadMessage=920, GetPeersResponse=47, Ping=26, PrefixedSealedAndSignedMessage=28, CloseConnectionMessage=2, NewBlockBroadcastMessage=125, GetUpdatedDataRequest=4, RemoveMailboxDataMessage=15, Pong=12};
Number of sent messages per sec: 1.6022290388548057;
Bytes received: 129.068 MB
Number of received messages/Received messages: 67645 / {NewDaoStateHashMessage=108, GetProposalStateHashesResponse=3, RefreshOfferMessage=12028, RemoveDataMessage=316, GetPeersRequest=47, GetBlindVoteStateHashesResponse=3, BundleOfEnvelopes=51664, AddDataMessage=2558, GetDaoStateHashesResponse=3, AddPersistableNetworkPayloadMessage=681, GetPeersResponse=24, Ping=12, GetDataResponse=6, PrefixedSealedAndSignedMessage=28, CloseConnectionMessage=23, NewBlockBroadcastMessage=101, RemoveMailboxDataMessage=19, GetBlocksResponse=3, Pong=18};
Number of received messages per sec: 1.3833333333333333;

Dec-19 00:04:43.091 [JavaFX Application Thread] INFO b.c.p.f.FeeService: BTC tx fee: txFeePerVbyte=10 minFeePerVbyte=2
Dec-19 00:07:39.222 [JavaFX Application Thread] INFO b.c.d.n.l.LiteNode: New block at height 714754 from bsqWalletService
Dec-19 00:07:39.383 [JavaFX Application Thread] INFO b.c.b.w.BsqWalletService: updateBsqBalance took 1 ms
Dec-19 00:07:43.828 [JavaFX Application Thread] INFO b.c.d.n.l.n.LiteNodeNetworkService: We received a NewBlockBroadcastMessage from peer devinsn3xuzxhj6pmammrxpydhwwmwp75qkksedo5dn2tlmu7jggo7id.onion:8000 and broadcast it to our peers. blockUid=0000000000000000000418ca26fd4bdfcb63e0fc2a3a91aacb66e2afebffeb05:[]
Dec-19 00:07:43.828 [JavaFX Application Thread] INFO b.c.d.n.l.LiteNode: onNewBlockReceived: block at height 714754, hash=0000000000000000000418ca26fd4bdfcb63e0fc2a3a91aacb66e2afebffeb05. Our DAO chainHeight=714753
Dec-19 00:07:43.830 [JavaFX Application Thread] INFO b.c.d.s.DaoStateService: New Block added at blockHeight 714754
Dec-19 00:07:43.832 [JavaFX Application Thread] INFO b.c.d.s.DaoStateService: Parse block completed: Block height 714754, 0 BSQ transactions.
Dec-19 00:07:44.209 [JavaFX Application Thread] INFO b.c.d.n.p.BlockParser: Parsing 0 transactions at block height 714754 took 380 ms

[SNIP]

Dec-29 14:39:37.944 [JavaFX Application Thread] INFO b.c.util.GcUtil: GC reduced memory by 1.237 GB. Total memory before/after: 1.402 GB/169 MB. Free memory: 22.247 MB. Took 404 ms. Total GC invocations: 1 / Total GC time 0.404 sec
Dec-29 14:42:38.208 [JavaFX Application Thread] INFO b.n.p.p.PeerManager: Connection statistics:

Dec-29 14:43:01.560 [JavaFX Application Thread] INFO b.c.u.DesktopUtil: Trying to exec: cmd = open args = %s file = /Users/kbenjamin/Library/Application Support/Bisq/bisq.log
Dec-29 14:43:01.733 [JavaFX Application Thread] INFO b.c.u.DesktopUtil: Process is running.

@boring-cyborg
Copy link

boring-cyborg bot commented Dec 29, 2021

Thanks for opening your first issue here!

Be sure to follow the issue template. Your issue will be reviewed by a maintainer and labeled for further action.

@ghost
Copy link

ghost commented Dec 29, 2021

To resolve, see #5917 (comment).

@kben02
Copy link
Author

kben02 commented Dec 29, 2021

Thanks jmacxx, that worked - "close Bisq, delete DaoStateStore and BsqBlocks from the data directory, and then restart Bisq."

@ripcurlx ripcurlx closed this as completed Jan 3, 2022
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