Closed ghost closed 7 years ago
Blocks from your log (2305067222973732121, 7009774920556977921) are not present in network - so your node was in forked chain. It cannot rollback and sync with proper height because of https://github.com/LiskHQ/lisk/issues/334 issue. When referenced issue will be resolved - such "endless loop" will not occur because node will be able to sync with rest of the network. Also that "endless loop" is not endless loop at all but proper behavior in such case - node know that is behind or not receiving new blocks - so sync should keep trigger until node state is resolved.
In fact - it is endless loop because of #334. It's proper behaviour has been affected by other issue as you said. Anyway, hope to get resolved it soon!
I'm having this issue as well it seems with the latest docker image. Have restarted container and even deleted and create new container multiple times and always results in the same:
[inf] 2017-05-07 21:17:31 | Looking for common block with: 45.32.159.112:8000 [inf] 2017-05-07 21:17:31 | Found common block: 10688395562067015926 with: 45.32.159.112:8000 [inf] 2017-05-07 21:17:31 | Loading blocks from: 45.32.159.112:8000 [ERR] 2017-05-07 21:17:31 | Expected generator: fbac76743fad9448ed0b45fb4c97a62f81a358908aa14f6a2c76d2a8dc207141 Received generator: 0c0c8f58e7feeaa687d7dc9a5146ea14afe1bc647f518990b197b9f55728effa [inf] 2017-05-07 21:17:31 | Fork - {"delegate":"0c0c8f58e7feeaa687d7dc9a5146ea14afe1bc647f518990b197b9f55728effa","block":{"id":"1 3975364413689503547","timestamp":29600520,"height":2738321,"previousBlock":"10688395562067015926"},"cause":3} [ERR] 2017-05-07 21:17:31 | Error loading blocks: Failed to verify slot: 2960052 [ERR] 2017-05-07 21:17:31 | Failed to load blocks from: 45.32.159.112:8000 [inf] 2017-05-07 21:17:31 | Broadhash consensus now 0 % [inf] 2017-05-07 21:17:31 | Finished sync
@Crypto2 Your issue is different, block 13975364413689503547
is valid, so your node should accept it. It fail probably because your system clock is not synced well. Please use ntp
for keeping it in sync - it should resolve your issue.
System time is synced to pool.ntp.org daily. I even ran it manually to verify time is correct: "ntpdate[31777]: adjust time server 144.217.242.53 offset 0.000451 sec"
Edit: Timezone in docker image is set to the same as the host server if that matters but had the same problem when it was the default UTC as well.
@Crypto2 Thank you, we will investigate.
Any update on this?
I've noticed in 0.5.0-0.5.1 that sometimes nodes enter into endless loop of resyncing. There is no information about any fork, just this. Restarting lisk does not help. In result node is stucked on some height behind network.