cheqd / cheqd-node

Ledger/node software for cheqd's decentralised identity network. Built using the Cosmos SDK blockchain framework.
https://docs.cheqd.io/node
Apache License 2.0
64 stars 43 forks source link

[Bug]: statesync not working #452

Closed YuXiaoCoder closed 2 years ago

YuXiaoCoder commented 2 years ago

What went wrong?

12:43PM INF Dialing peer address={"id":"9201b408d24941fd342e739f0814aa3eb8ab7577","ip":"2606:4700:90:0:57c4:5871:1503:789d","port":26656} module=p2p
12:43PM INF error from light block request from primary, removing... error="post failed: Post \"https://eu-rpc.cheqd.net:443\": context deadline exceeded" height=5442107 module=light primary={}
12:43PM ERR error on light block request from witness, removing... error="post failed: Post \"https://ap-rpc.cheqd.net:443\": context deadline exceeded" module=light primary={}
12:43PM ERR failed to remove witnesses err="no witnesses connected. please reset light client" module=light witnessesToRemove=[0]
12:43PM ERR Can't verify err="failed to obtain the header at height #5442107: post failed: Post \"https://ap-rpc.cheqd.net:443\": context deadline exceeded" module=light
12:43PM INF failed to fetch and verify app hash err="failed to obtain the header at height #5442107: post failed: Post \"https://ap-rpc.cheqd.net:443\": context deadline exceeded" module=statesync
12:43PM INF Snapshot rejected format=1 hash="F\x10\x13\x0e\x15���ϱ�\x04\tN�\x04#�lO�@�\x0f\x1e}�A��qO" height=5196600 module=statesync
12:43PM INF VerifyHeader hash=C46BAAABD411EF2E9C89830BB71553936AC288BC4CDD242F5AFE051AF7D6CE17 height=5196501 module=light
12:43PM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=28 numToDial=472

How can we reproduce this bug?

  1. https://github.com/cheqd/cheqd-node/blob/main/scripts/state-sync.sh

Environment

Mainnet

Bug prevalence

No response

Which browser/client application did you encounter the bug in? (if applicable)

No response

Relevant log output

No response

Code of Conduct

ankurdotb commented 2 years ago
  1. What's your fast-sync version?
  2. What endpoints did you use for state sync?
YuXiaoCoder commented 2 years ago

@ankurdotb hello

  1. My node version is 0.6.9, and my fast-sync version is v2
  2. The endpoint I use is https://eu-rpc.cheqd.net:443,https://ap-rpc.cheqd.net:443
YuXiaoCoder commented 2 years ago

Thank you very much, already working