Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Parity often sync failed. It recover when I restart parity. #11683

Closed
garysdevil opened this issue May 6, 2020 · 13 comments
Closed

Parity often sync failed. It recover when I restart parity. #11683

garysdevil opened this issue May 6, 2020 · 13 comments

Comments

@garysdevil
Copy link

  • OpenEthereum version: Parity-Ethereum/v2.5.13-stable-253ff3f-20191231/x86_64-linux-gnu/rustc1.40.0
  • Operating system: Linux
  • Installation: one-line installer
  • Fully synchronized: yes
  • Network: kovan
  • Restarted: yes
    My config:
    图片

Problem: Sync failed.
Phenomenon:
图片

Recovery method: I need to restart parity every time it stop sync.
I need to restart parity for recovery every time I found it sync failed, which disturb me..
How to solve this question? And why happend this?

@vorot93
Copy link

vorot93 commented May 7, 2020

Can you back up the database and try to sync with 2.7.2? And with master?

@garysdevil
Copy link
Author

Can you back up the database and try to sync with 2.7.2? And with master?

I feel puzzled at this reply "try to sync with 2.7.2? And with master?".
I don't know how to operate it, can you say it detailly?

@vorot93
Copy link

vorot93 commented May 9, 2020

Download Parity-Ethereum 2.7.2 and try again with this version.

If the error persists, build the source code from the master branch, and try running it instead.

@garysdevil
Copy link
Author

Download Parity-Ethereum 2.7.2 and try again with this version.

If the error persists, build the source code from the master branch, and try running it instead.

Thank you. I update parity version to 2.7.2 directly and still use old db. Is it work?
It is output log below:
图片

@vorot93
Copy link

vorot93 commented May 12, 2020

OpenEthereum v3.0.0 has been released, try with it as well.

@garysdevil
Copy link
Author

OpenEthereum v3.0.0 has been released, try with it as well.

I will try it lately.
I deployed parity 2.7.2 completely yesterday, which sync normally .
Howere "Not preparing block; cannot sign." occure again torday!

图片
图片

@dvdplm
Copy link
Collaborator

dvdplm commented May 13, 2020

"Not preparing block; cannot sign."

This just means that you are not a validator and you are not producing blocks. It's not an error.

@adria0
Copy link

adria0 commented May 13, 2020

@dvdplm, the Not preparing block; cannot sign. is a warn!, is sane to we downgrade this to debug! or trace!?"

@dvdplm
Copy link
Collaborator

dvdplm commented May 13, 2020

is sane to we downgrade this to debug! or trace!?"

Yeah, let's do that. :)

@garysdevil
Copy link
Author

"Not preparing block; cannot sign."

This just means that you are not a validator and you are not producing blocks. It's not an error.

Thank you.
Howere, it is still sync slow than "https://kovan.etherscan.io/blocks"
The last sync log:
2020-05-14 07:39:26 Imported #18512828 0x473a…8b32 (4 txs, 0.16 Mgas, 546 ms, 1.16 KiB) + another 4 block(s) containing 59 tx(s)
It stop sync again:
图片

https://kovan.etherscan.io/blocks: 18513164

@garysdevil
Copy link
Author

@dvdplm, the Not preparing block; cannot sign. is a warn!, is sane to we downgrade this to debug! or trace!?"

Why not this warning is only displayed when it is vaidator?

@kael-shipman
Copy link

@vorot93
Copy link

vorot93 commented Jun 29, 2020

Looks like #11758.

@vorot93 vorot93 closed this as completed Jun 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants