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

[venus] block sync peer errored: failed loading tipset / 获取不到区块 #6147

Closed
1 of 7 tasks
BaiYuTest opened this issue Sep 1, 2023 · 1 comment
Closed
1 of 7 tasks
Assignees
Labels
C-bug Category: This is a bug CU-force-community Category: from force community

Comments

@BaiYuTest
Copy link

Sophon Service / 智子服务

  • venus
  • sophon-messager
  • sophon-miner
  • sophon-auth
  • sophon-gateway
  • sophon-co
  • 文档 / docs

Version / 版本

"Version": "1.13.0+git.7bc372d4c.dirty"

Describe the Bug / 描述

venus切换到v1.13.0版本,查看日志,提示block sync peer errored: failed loading tipset

Logging Information / 日志

2023-09-01T10:14:30.985+0800	WARN	exchange.client	exchange/client.go:132	processing peer 12D3KooWCjUAwSRUMBCE4oCvC7stnRHdEmxsteGzkJux3nKp8XK8 response failed: status error: block sync peer errored: failed loading tipset {bafy2bzacecnlevlmv5qeg7b2kplemqy3owr5yxhsj2dxsxt2ihk5botamcsja}: get block bafy2bzacecnlevlmv5qeg7b2kplemqy3owr5yxhsj2dxsxt2ihk5botamcsja: ipld: could not find bafy2bzacecnlevlmv5qeg7b2kplemqy3owr5yxhsj2dxsxt2ihk5botamcsja
2023-09-01T10:15:24.609+0800	WARN	net/identify	identify/id.go:406	failed to identify 12D3KooWRT2iTeZmJf31qqyVumWyyP4wZ8kqNSr2z8wh5EDw6E1Y: stream reset
2023-09-01T10:15:26.642+0800	WARN	/fil/hello	helloprotocol/hello_protocol.go:150	other peer hasnt completed libp2p identify, waiting a bit
2023-09-01T10:15:30.488+0800	WARN	exchange.client	exchange/client.go:132	processing peer 12D3KooWMeAQuzPi9QjmedKoTb8RxCi9XUca3tz2cmffdo9kCAXM response failed: status error: block sync peer errored: failed loading tipset {bafy2bzaceawftk7sr6wnvwjvb6rmks42umod7ktewmuj73rqely6mb75eylko}: get block bafy2bzaceawftk7sr6wnvwjvb6rmks42umod7ktewmuj73rqely6mb75eylko: ipld: could not find bafy2bzaceawftk7sr6wnvwjvb6rmks42umod7ktewmuj73rqely6mb75eylko
2023-09-01T10:16:00.498+0800	WARN	exchange.client	exchange/client.go:132	processing peer 12D3KooWMeAQuzPi9QjmedKoTb8RxCi9XUca3tz2cmffdo9kCAXM response failed: status error: block sync peer errored: failed loading tipset {bafy2bzaceb5ayfinseje6yydrh5hl4evzv6xvi4zrrrrykkyeuoe3olb5psuk,bafy2bzaceawftk7sr6wnvwjvb6rmks42umod7ktewmuj73rqely6mb75eylko,bafy2bzacealtbjarhvoaogbp6jgatwm6mkk3ygzg5zu4ashrc4wijukoblupo,bafy2bzacecvmsqvllkqkon45fzqqw7q6n47x5i7rscjgwiop7swn5zqhhhono}: get block bafy2bzacecvmsqvllkqkon45fzqqw7q6n47x5i7rscjgwiop7swn5zqhhhono: ipld: could not find bafy2bzacecvmsqvllkqkon45fzqqw7q6n47x5i7rscjgwiop7swn5zqhhhono
2023-09-01T10:16:00.702+0800	WARN	exchange.client	exchange/client.go:132	processing peer 12D3KooWNRxTHUn8bf7jz1KEUPMc2dMgGfa4f8ZJTsquVSn3vHCG response failed: status error: block sync peer errored: failed loading tipset {bafy2bzaceb5ayfinseje6yydrh5hl4evzv6xvi4zrrrrykkyeuoe3olb5psuk,bafy2bzaceawftk7sr6wnvwjvb6rmks42umod7ktewmuj73rqely6mb75eylko,bafy2bzacealtbjarhvoaogbp6jgatwm6mkk3ygzg5zu4ashrc4wijukoblupo,bafy2bzacecvmsqvllkqkon45fzqqw7q6n47x5i7rscjgwiop7swn5zqhhhono}: get block bafy2bzacecvmsqvllkqkon45fzqqw7q6n47x5i7rscjgwiop7swn5zqhhhono: ipld: could not find bafy2bzacecvmsqvllkqkon45fzqqw7q6n47x5i7rscjgwiop7swn5zqhhhono

Repo Steps / 重现步骤

No response

@BaiYuTest BaiYuTest added the C-bug Category: This is a bug label Sep 1, 2023
@simlecode
Copy link
Collaborator

simlecode commented Sep 1, 2023

经排查,上面的错误是在从节点获取区块消息时失败了,但会换其它节点继续获取区块消息,最终还是能够获取到区块消息。后续可以优化,在 incoming block 会去获取区块消息,可以对区块消息进行验证,然后存储,后续同步就不再需要从其它节点获取了。

@Fatman13 Fatman13 added the CU-force-community Category: from force community label Sep 4, 2023
@simlecode simlecode self-assigned this Sep 4, 2023
@simlecode simlecode moved this to In Progress in Venus Project Sep 4, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Venus Project Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug CU-force-community Category: from force community
Projects
Status: Done
Development

No branches or pull requests

3 participants