Relaychain 同步卡住

【问题】我在node同步中 relaychain的同步忽然報錯 Error importing block / block has an unknown parent / Unable to pin block for import notification / Verification failed for block

【操作复盘】

使用 Solo worker deployment 的步驟進行安裝

version: “3”
services:
node:
image: phalanetwork/phala-node-with-launcher:latest
container_name: node
hostname: node
restart: always
ports:
- “9933:9933”
- “9934:9934”
- “9944:9944”
- “9945:9945”
- “30333:30333”
- “30334:30334”
environment:
- NODE_NAME=PNODE
- NODE_ROLE=MINER
- RELAYCHAIN_DB=rocksdb
- PARACHAIN_DB=rocksdb
- PARACHAIN_EXTRA_ARGS=–max-runtime-instances 32 --runtime-cache-size 8
- RELAYCHAIN_EXTRA_ARGS=–max-runtime-instances 32 --runtime-cache-size 8
volumes:
- /var/phala/node-data:/root/data

phala-pherry:
image: phalanetwork/phala-pherry:latest
container_name: phala-pherry
hostname: phala-pherry
restart: always
entrypoint:
[
“/root/pherry”,
“-r”,
“–parachain”,
“–mnemonic={gas fee memory seed}”,
“–substrate-ws-endpoint=ws://{node ip}:9945”,
“–collator-ws-endpoint=ws://{node ip}:9944”,
“–pruntime-endpoint=http://{pruntime ip}:8000”,
“–operator={owner address}”,
“–fetch-blocks=512”,
“–auto-restart”
]

phala-pruntime:
image: phalanetwork/phala-pruntime-v2-with-handover:latest
container_name: phala-pruntime
hostname: phala-pruntime
ports:
- “8000:8000”
devices:
- /dev/sgx_enclave:/dev/sgx_enclave
- /dev/sgx_provision:/dev/sgx_provision
environment:
- EXTRA_OPTS=–cores={core_num} --checkpoint-interval=3600
- ROCKET_ADDRESS=0.0.0.0
volumes:
- /var/phala/pruntimev2:/opt/pruntime/data
- /var/phala/pruntimev2/backups:/opt/pruntime/backups

【报错信息】

同步到一半卡住 一直停在 best: #15786395 (0x2cbe…e5c9), finalized #15786393 (0x44e9…fb20)

2023-06-02 03:54:11 [Relaychain] :zzz: Idle (40 peers), best: #15786390 (0xf667…9cca), finalized #15786387 (0x9246…1c21), :arrow_down: 209.8kiB/s :arrow_up: 92.5kiB/s
2023-06-02 03:54:12 [Parachain] :zzz: Idle (8 peers), best: #2669203 (0xae06…a980), finalized #2669202 (0x0eaa…a6eb), :arrow_down: 1.1kiB/s :arrow_up: 0.6kiB/s
2023-06-02 03:54:13 [Relaychain] :sparkles: Imported #15786391 (0xd67e…2030)
2023-06-02 03:54:14 [Parachain] :sparkles: Imported #2669205 (0xc0df…022c)
2023-06-02 03:54:16 [Relaychain] :zzz: Idle (40 peers), best: #15786391 (0xd67e…2030), finalized #15786389 (0x15e5…1607), :arrow_down: 255.3kiB/s :arrow_up: 272.1kiB/s
2023-06-02 03:54:17 [Parachain] :zzz: Idle (8 peers), best: #2669204 (0x0589…4b5b), finalized #2669203 (0xae06…a980), :arrow_down: 38.4kiB/s :arrow_up: 15.1kiB/s
2023-06-02 03:54:19 [Relaychain] :sparkles: Imported #15786392 (0xf780…9011)
2023-06-02 03:54:21 [Relaychain] :zzz: Idle (40 peers), best: #15786392 (0xf780…9011), finalized #15786389 (0x15e5…1607), :arrow_down: 151.8kiB/s :arrow_up: 185.6kiB/s
2023-06-02 03:54:22 [Parachain] :zzz: Idle (8 peers), best: #2669204 (0x0589…4b5b), finalized #2669203 (0xae06…a980), :arrow_down: 1.4kiB/s :arrow_up: 0.6kiB/s
2023-06-02 03:54:25 [Relaychain] :sparkles: Imported #15786393 (0x44e9…fb20)
2023-06-02 03:54:26 [Parachain] :sparkles: Imported #2669206 (0xd6dd…5f4f)
2023-06-02 03:54:26 [Relaychain] :zzz: Idle (40 peers), best: #15786393 (0x44e9…fb20), finalized #15786389 (0x15e5…1607), :arrow_down: 119.9kiB/s :arrow_up: 72.8kiB/s
2023-06-02 03:54:27 [Parachain] :zzz: Idle (8 peers), best: #2669205 (0xc0df…022c), finalized #2669203 (0xae06…a980), :arrow_down: 27.2kiB/s :arrow_up: 3.3kiB/s
2023-06-02 03:54:31 [Relaychain] :sparkles: Imported #15786394 (0xdc04…6ed6)
2023-06-02 03:54:31 [Relaychain] :zzz: Idle (40 peers), best: #15786394 (0xdc04…6ed6), finalized #15786391 (0xd67e…2030), :arrow_down: 112.3kiB/s :arrow_up: 76.4kiB/s
2023-06-02 03:54:32 [Parachain] :zzz: Idle (8 peers), best: #2669205 (0xc0df…022c), finalized #2669204 (0x0589…4b5b), :arrow_down: 6.4kiB/s :arrow_up: 1.2kiB/s
2023-06-02 03:54:32 [Relaychain] :sparkles: Imported #15786394 (0x1828…a617)
2023-06-02 03:54:36 [Relaychain] :zzz: Idle (40 peers), best: #15786394 (0xdc04…6ed6), finalized #15786391 (0xd67e…2030), :arrow_down: 188.3kiB/s :arrow_up: 129.7kiB/s
2023-06-02 03:54:37 [Parachain] :zzz: Idle (8 peers), best: #2669205 (0xc0df…022c), finalized #2669204 (0x0589…4b5b), :arrow_down: 5.6kiB/s :arrow_up: 5.7kiB/s
2023-06-02 03:54:41 [Relaychain] :zzz: Idle (40 peers), best: #15786394 (0xdc04…6ed6), finalized #15786391 (0xd67e…2030), :arrow_down: 20.7kiB/s :arrow_up: 12.7kiB/s
2023-06-02 03:54:42 [Relaychain] :sparkles: Imported #15786395 (0x6d87…386a)
2023-06-02 03:54:42 [Parachain] :zzz: Idle (8 peers), best: #2669206 (0xd6dd…5f4f), finalized #2669204 (0x0589…4b5b), :arrow_down: 7.5kiB/s :arrow_up: 5.6kiB/s
2023-06-02 03:54:43 [Parachain] :sparkles: Imported #2669207 (0xc405…f3db)
2023-06-02 03:54:43 [Relaychain] :recycle: Reorg on #15786395,0x6d87…386a to #15786395,0x2cbe…e5c9, common ancestor #15786394,0xdc04…6ed6
2023-06-02 03:54:43 [Relaychain] :sparkles: Imported #15786395 (0x2cbe…e5c9)
2023-06-02 03:54:43 [Parachain] :sparkles: Imported #2669207 (0x53d1…1978)
2023-06-02 03:54:44 [Relaychain] :broken_heart: Error importing block 0x80ecc5a2405cb36454c5d5d3fa8e79e2d5a7745292fc931b4be810a3cf6ba44e: block has an unknown parent
2023-06-02 03:54:45 [Relaychain] Unable to pin block for import notification. hash: 0x31d0…1077, Error: UnknownBlock: State already discarded for 0x31d039c3f8f3ac31d406844a34a93a262f4b03c7232f8b1f990a6259ed3b1077
2023-06-02 03:54:45 [Relaychain] :sparkles: Imported #15786395 (0x31d0…1077)
2023-06-02 03:54:45 [Parachain] Failed to fetch pending candidates. error=ApiError(UnknownBlock(“State already discarded for 0x31d039c3f8f3ac31d406844a34a93a262f4b03c7232f8b1f990a6259ed3b1077”))
2023-06-02 03:54:45 [Parachain] Failed to fetch session index. error=ApiError(UnknownBlock(“State already discarded for 0x31d039c3f8f3ac31d406844a34a93a262f4b03c7232f8b1f990a6259ed3b1077”))
2023-06-02 03:54:46 [Relaychain] :broken_heart: Verification failed for block 0x80ecc5a2405cb36454c5d5d3fa8e79e2d5a7745292fc931b4be810a3cf6ba44e received from peer: 12D3KooWC7wFE8KV1z8YW2QU2uvP2tSyMPd8e9hoNtnG4EdFmobE, “Api called for an unknown Block: State already discarded for 0x31d039c3f8f3ac31d406844a34a93a262f4b03c7232f8b1f990a6259ed3b1077”
2023-06-02 03:54:46 [Relaychain] :zzz: Idle (39 peers), best: #15786395 (0x2cbe…e5c9), finalized #15786393 (0x44e9…fb20), :arrow_down: 195.4kiB/s :arrow_up: 132.4kiB/s
2023-06-02 03:54:47 [Parachain] :zzz: Idle (8 peers), best: #2669206 (0xd6dd…5f4f), finalized #2669205 (0xc0df…022c), :arrow_down: 39.5kiB/s :arrow_up: 5.3kiB/s
2023-06-02 03:54:51 [Relaychain] :zzz: Idle (40 peers), best: #15786395 (0x2cbe…e5c9), finalized #15786393 (0x44e9…fb20), :arrow_down: 565.6kiB/s :arrow_up: 70.3kiB/s
2023-06-02 03:54:52 [Parachain] :zzz: Idle (8 peers), best: #2669206 (0xd6dd…5f4f), finalized #2669205 (0xc0df…022c), :arrow_down: 9.6kiB/s :arrow_up: 3.4kiB/s
2023-06-02 03:54:56 [Relaychain] :zzz: Idle (40 peers), best: #15786395 (0x2cbe…e5c9), finalized #15786393 (0x44e9…fb20), :arrow_down: 3.9MiB/s :arrow_up: 36.2kiB/s
2023-06-02 03:54:57 [Parachain] :zzz: Idle (8 peers), best: #2669206 (0xd6dd…5f4f), finalized #2669205 (0xc0df…022c), :arrow_down: 7.6kiB/s :arrow_up: 2.1kiB/s
2023-06-02 03:54:58 [Relaychain] :broken_heart: Verification failed for block 0x80ecc5a2405cb36454c5d5d3fa8e79e2d5a7745292fc931b4be810a3cf6ba44e received from peer: 12D3KooWEanonVxmgrEeuFjZ6k1GvAsES4kZH7v7t7R3RTdsdprf, “Api called for an unknown Block: State already discarded for 0x31d039c3f8f3ac31d406844a34a93a262f4b03c7232f8b1f990a6259ed3b1077”
2023-06-02 03:54:59 [Relaychain] :broken_heart: Verification failed for block 0x80ecc5a2405cb36454c5d5d3fa8e79e2d5a7745292fc931b4be810a3cf6ba44e received from peer: 12D3KooWK4ZpaJkxwzqmKyNZumcbqaze6feMj67MmXxk3cQE5SeZ, “Api called for an unknown Block: State already discarded for 0x31d039c3f8f3ac31d406844a34a93a262f4b03c7232f8b1f990a6259ed3b1077”

請先進們提供協助 感謝!

1 Like