【已解决】para2 测试网,借点开了一下午,一直没有在链上注册,controller余额一直没有扣,docker ps 发现pherry 一直在重启

重启了无数次,无果。
0f248e0c47f8 phalanetwork/phala-dev-pherry “/root/pherry -r --p…” 2 hours ago Restarting (0) 38 seconds ago

[2021-09-08T13:21:09Z INFO pherry] pRuntime get_info response: PhactoryInfo {
initialized: true,
registered: false,
genesis_block_hash: Some(
“297d47861c48735242ccff6ae3f80f3af1bacb6b2dbxxx0”,
),
public_key: Some(
“1aa737791f761d3edd17af287cdd79254f9e8291xxx8”,
),
ecdh_public_key: Some(
“1aa737791f761d3edd17af287cdd79254f9e82917xxx”,
),
headernum: 146703,
para_headernum: 23776,
blocknum: 23776,
state_root: “46d6b7bf4be29e902740a922c070b10f9b2a780d5ca9e838efdaxxx”,
dev_mode: false,
pending_messages: 0,
score: 2538,
gatekeeper: Some(
GatekeeperStatus {
role: None,
master_public_key: “”,
},
),
}
[2021-09-08T13:21:09Z INFO pherry] try to sync blocks. next required: (relay_header=146703, para_header=23776, body=23776), relay finalized tip: 146702, buffered: 0
[2021-09-08T13:21:09Z INFO pherry::pruntime_client] Response: 200 OK
[2021-09-08T13:21:09Z INFO pherry] Registering worker…
[2021-09-08T13:21:09Z INFO pherry::chain_client] Fetch account 5EcBo83Tsx584phHazV6nhYaH8yKKbxmEtn5VCyLac6yX8Xh nonce=0
[2021-09-08T13:21:09Z INFO substrate_subxt::rpc] Submitting Extrinsic 0xf432e67d61e8df3a21f4e2e4d1c86dbe1209d7acc81356a4042ad8c3720b909b
[2021-09-08T13:21:09Z ERROR pherry] FailedToCallRegisterWorker: Err(Rpc(RestartNeeded(“Custom error: Unparsable response”)))
[2021-09-08T13:21:09Z INFO pherry] bridge() exited with result: Err(failed to call register_worker)

您好,请您确认一下docker image是否是最新版本

NODE_IMAGE=phalanetwork/khala-pt2-node
PRUNTIME_IMAGE=phalanetwork/phala-dev-pruntime
PHERRY_IMAGE=phalanetwork/phala-dev-pherry
NODE_VOLUMES=/var/phala-node-data:/root/data
PRUNTIME_VOLUMES=/var/phala-pruntime-data:/root/data

是看这里吗

0f248e0c47f8 phalanetwork/phala-dev-pherry “/root/pherry -r --p…” 18 hours ago Restarting (0) 39 seconds ago phala-pherry
4427718e93ee phalanetwork/phala-dev-pruntime “/usr/bin/tini – /b…” 18 hours ago Up 18 hours 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp phala-pruntime
ba41f0e9ff7e phalanetwork/khala-pt2-node “/usr/bin/tini – /b…” 18 hours ago Up 18 hours 0.0.0.0:9933-9934->9933-9934/tcp, :::9933-9934->9933-9934/tcp, 0.0.0.0:9944-9945->9944-9945/tcp, :::9944-9945->9944-9945/tcp, 9615-9616/tcp, 0.0.0.0:30333-30334->30333-30334/tcp, :::30333-30334->30333-30334/tcp phala-node

phalanetwork/khala-pt2-node latest 1be678ca406a 4 days ago 440MB
phalanetwork/khala-dev-node latest afd23df9a94f 2 weeks ago 441MB
phalanetwork/phala-dev-pruntime latest 7ba8405f5a86 2 weeks ago 322MB
phalanetwork/phala-dev-pherry latest b40851178807 2 weeks ago 301MB
phalanetwork/phala-sgx_detect latest cb1dca538b15 8 weeks ago 323MB
swr.cn-east-3.myhuaweicloud.com/phala/phala-sgx_detect latest cb1dca538b15 8 weeks ago 323MB

删了重练,版本不对,太老了。应该是近几天的

怎么删,我执行了 update clean 似乎没有删掉

搞定了,删除了

phalanetwork/khala-pt2-node latest 1be678ca406a 4 days ago 440MB
phalanetwork/phala-dev-pherry latest 057fd77bd900 4 days ago 302MB
phalanetwork/phala-dev-pruntime latest 5f5abbb334cc 4 days ago 319MB
phalanetwork/phala-sgx_detect latest cb1dca538b15 8 weeks ago 323MB
swr.cn-east-3.myhuaweicloud.com/phala/phala-sgx_detect latest cb1dca538b15 8 weeks ago 323MB

这个几个镜像版本应该没问题了。

确实好用了

Hi,
Where to check the log and how to solve it?

请问phala-pherry 重启咋解决的,谢谢