【🔥疑难问题】Khala挖矿疑难问题收集

仔细看一楼,只同步khala,速度很快,两三个小时就好了

1 Like

说明您的更新没有成功,您可以重新下载脚本

1 Like

已成功 sudo phala update script

1 Like

请教下这个一直自动退出,这怎么解决呢?

pruntime启动一会就退出了

image
这个pherry docker容器一直自动重启怎么解决

1 Like
1 Like

pherry同步一会就一直超时了

[2021-09-18T07:34:49Z INFO pherry] get_block (w/changes): Got block Some(1243) hash 0x6e09…56e0
[2021-09-18T07:34:49Z INFO pherry] get_block (w/changes): Got block Some(1244) hash 0x54dc…2a09
[2021-09-18T07:34:49Z INFO pherry] get_block (w/changes): Got block Some(1245) hash 0x1f56…2da3
[2021-09-18T07:34:49Z INFO pherry] get_block (w/changes): Got block Some(1246) hash 0x75d5…e762
[2021-09-18T07:34:49Z INFO pherry] get_block (w/changes): Got block Some(1247) hash 0x839d…ddf1
[2021-09-18T07:34:49Z INFO pherry] get_block (w/changes): Got block Some(1248) hash 0x2324…7a4f
[2021-09-18T07:34:50Z INFO pherry] get_block (w/changes): Got block Some(1249) hash 0x182d…3f67
[2021-09-18T07:34:50Z INFO pherry] get_block (w/changes): Got block Some(1250) hash 0xe574…0740
[2021-09-18T07:34:50Z INFO pherry] get_block (w/changes): Got block Some(1251) hash 0x1356…ef83
[2021-09-18T07:34:51Z INFO pherry] get_block (w/changes): Got block Some(1252) hash 0x4840…4ec3
[2021-09-18T07:34:51Z INFO pherry] get_block (w/changes): Got block Some(1253) hash 0x8afd…0e11
[2021-09-18T07:34:51Z INFO pherry] get_block (w/changes): Got block Some(1254) hash 0x918d…a21b
[2021-09-18T07:34:51Z INFO pherry] get_block (w/changes): Got block Some(1255) hash 0xf82f…0b30
[2021-09-18T07:34:51Z INFO pherry] get_block (w/changes): Got block Some(1256) hash 0xdf6f…0454
[2021-09-18T07:34:51Z INFO pherry] get_block (w/changes): Got block Some(1257) hash 0xff8f…aadb
[2021-09-18T07:34:52Z INFO pherry] get_block (w/changes): Got block Some(1258) hash 0x4683…6c74
[2021-09-18T07:34:52Z INFO pherry] get_block (w/changes): Got block Some(1259) hash 0xbd0b…57ed
[2021-09-18T07:34:52Z INFO pherry] get_block (w/changes): Got block Some(1260) hash 0xe001…7115
[2021-09-18T07:34:52Z INFO pherry] get_block (w/changes): Got block Some(1261) hash 0xd6fa…884e
[2021-09-18T07:34:52Z INFO pherry] get_block (w/changes): Got block Some(1262) hash 0x4e96…429b
[2021-09-18T07:34:53Z INFO pherry] get_block (w/changes): Got block Some(1263) hash 0xde3b…3ffd
[2021-09-18T07:34:53Z INFO pherry] get_block (w/changes): Got block Some(1264) hash 0x9dbf…2451
[2021-09-18T07:34:53Z INFO pherry] get_block (w/changes): Got block Some(1265) hash 0x23c5…e7f4
[2021-09-18T07:34:53Z INFO pherry] get_block (w/changes): Got block Some(1266) hash 0xcbeb…307b
[2021-09-18T07:34:53Z INFO pherry] get_block (w/changes): Got block Some(1267) hash 0x5722…9bbc
[2021-09-18T07:34:54Z INFO pherry] get_block (w/changes): Got block Some(1268) hash 0x8a90…ba6c
[2021-09-18T07:34:54Z INFO pherry] get_block (w/changes): Got block Some(1269) hash 0x3957…bcfa
[2021-09-18T07:34:54Z INFO pherry] get_block (w/changes): Got block Some(1270) hash 0xf449…1b9c
[2021-09-18T07:34:54Z INFO pherry] get_block (w/changes): Got block Some(1271) hash 0xe730…1e69
[2021-09-18T07:34:54Z INFO pherry] get_block (w/changes): Got block Some(1272) hash 0x7eef…5f29
[2021-09-18T07:34:55Z INFO pherry] get_block (w/changes): Got block Some(1273) hash 0x7702…60f6
[2021-09-18T07:34:55Z INFO pherry] get_block (w/changes): Got block Some(1274) hash 0x5549…36de
[2021-09-18T07:34:55Z INFO pherry] get_block (w/changes): Got block Some(1275) hash 0x5844…99ae
[2021-09-18T07:34:55Z INFO pherry] get_block (w/changes): Got block Some(1276) hash 0xbe07…aa88
[2021-09-18T07:34:55Z INFO pherry] get_block (w/changes): Got block Some(1277) hash 0xaf03…a14c
[2021-09-18T07:34:56Z INFO pherry] get_block (w/changes): Got block Some(1278) hash 0xd793…7b2b
[2021-09-18T07:34:56Z INFO pherry] get_block (w/changes): Got block Some(1279) hash 0x988c…dad9
[2021-09-18T07:34:56Z INFO pherry] get_block (w/changes): Got block Some(1280) hash 0xbea9…8be2
[2021-09-18T07:34:56Z INFO pherry] get_block (w/changes): Got block Some(1281) hash 0x0046…73c1
[2021-09-18T07:34:56Z INFO pherry] get_block (w/changes): Got block Some(1282) hash 0xc488…670a
[2021-09-18T07:34:56Z INFO pherry] get_block (w/changes): Got block Some(1283) hash 0xdfc9…6b94
[2021-09-18T07:34:57Z INFO pherry] get_block (w/changes): Got block Some(1284) hash 0x5ed0…b1fc
[2021-09-18T07:34:57Z INFO pherry] get_block (w/changes): Got block Some(1285) hash 0x9228…6ebd
[2021-09-18T07:34:57Z INFO pherry] get_block (w/changes): Got block Some(1286) hash 0xf76f…1367
[2021-09-18T07:34:57Z INFO pherry] get_block (w/changes): Got block Some(1287) hash 0x1ad4…d5a8
[2021-09-18T07:34:57Z INFO pherry] get_block (w/changes): Got block Some(1288) hash 0x48e2…56ae
[2021-09-18T07:35:57Z INFO pherry] bridge() exited with result: Err(Rpc error: Request timeout

Caused by:
    Request timeout)

[2021-09-18T07:35:58Z WARN substrate_subxt] The following types do not have registered type segmenters: {“Gilt::GiltIssued::ActiveIndex”, “Paras::CodeUpgradeScheduled::ParaId”, “Crowdloan::Edited::ParaId”, “Ump::WeightExhausted::MessageId”, “Auctions::BidAccepted::ParaId”, “Ump::WeightExhausted::Weight”, “Hrmp::ChannelClosed::HrmpChannelId”, “ParaInclusion::CandidateBacked::CandidateReceipt<T::Hash>”, “Auctions::AuctionStarted::LeasePeriod”, “ParaInclusion::CandidateBacked::CoreIndex”, “Registrar::registered::ParaId”, “Ump::UnsupportedVersion::MessageId”, “Crowdloan::MemoUpdated::ParaId”, “Auctions::WinningOffset::AuctionIndex”, “Crowdloan::HandleBidResult::ParaId”, “Gilt::BidPlaced::BalanceOf”, “Hrmp::OpenChannelAccepted::ParaId”, “Crowdloan::Contributed::ParaId”, “Paras::CurrentHeadUpdated::ParaId”, “Registrar::Deregistered::ParaId”, “XcmPallet::Sent::Xcm<()>”, “Gilt::GiltIssued::T::BlockNumber”, “Auctions::AuctionClosed::AuctionIndex”, “Paras::ActionQueued::ParaId”, “ParaInclusion::CandidateBacked::HeadData”, “ParaInclusion::CandidateIncluded::HeadData”, “Paras::CurrentCodeUpdated::ParaId”, “Hrmp::OpenChannelRequested::ParaId”, “Slots::Leased::ParaId”, “Gilt::GiltIssued::BalanceOf”, “Auctions::AuctionStarted::AuctionIndex”, “ParaInclusion::CandidateTimedOut::CoreIndex”, “Hrmp::ChannelClosed::ParaId”, “Ump::ExecutedUpward::MessageId”, “ParaInclusion::CandidateIncluded::CandidateReceipt<T::Hash>”, “Crowdloan::Withdrew::ParaId”, “Auctions::ReserveConfiscated::ParaId”, “Crowdloan::Created::ParaId”, “ParaInclusion::CandidateBacked::GroupIndex”, “XcmPallet::Sent::MultiLocation”, “Claims::Claimed::EthereumAddress”, “ParaInclusion::CandidateIncluded::GroupIndex”, “Slots::Leased::LeasePeriod”, “Slots::NewLeasePeriod::LeasePeriod”, “Paras::NewHeadNoted::ParaId”, “ParaInclusion::CandidateIncluded::CoreIndex”, “Gilt::GiltThawed::ActiveIndex”, “Auctions::BidAccepted::LeasePeriod”, “Gilt::BidRetracted::BalanceOf”, “Crowdloan::AddedToNewRaise::ParaId”, “Ump::UpwardMessagesReceived::ParaId”, “Ump::InvalidFormat::MessageId”, “Crowdloan::Dissolved::ParaId”, “Crowdloan::PartiallyRefunded::ParaId”, “ParaInclusion::CandidateTimedOut::HeadData”, “ParaInclusion::CandidateTimedOut::CandidateReceipt<T::Hash>”, “XcmPallet::Attempted::xcm::v0::Outcome”, “Crowdloan::AllRefunded::ParaId”, “Gilt::GiltThawed::BalanceOf”, “Ump::ExecutedUpward::Outcome”, “Registrar::Reserved::ParaId”} If any events containing these types are received, this can cause a TypeSizeUnavailable error and prevent decoding the actual event being listened for.Use ClientBuilder::register_type_size to register missing type sizes.
[2021-09-18T07:35:58Z INFO pherry] Connected to substrate at: ws://phala-node:9945
[2021-09-18T07:36:58Z INFO pherry] bridge() exited with result: Err(Rpc error: Request timeout

Caused by:
    Request timeout)
1 Like

您好,该了可以启动一下。然后就又退出了。报错如下

[INFO phactory::prpc_service] Dispatching request: PhactoryAPI.InitRuntime
thread ‘’ panicked at ‘Genesis block hash mismatches with saved keys, expected 0xb0a8…dafe’, /home/jasl/Workspaces/Blockchain/phala-blockchain/crates/phactory/src/lib.rs:188:13
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

本地sgx测试通过,手动添加了驱动isgx、dcap,修改了docker-compose,但是start时,第一次报:
----------测试信用等级,正在等待Intel下发IAS远程认证报告!----------
----------Intel IAS认证没有通过,请检查您的主板或网络!----------
接着,继续start,此时报(官方最新脚本):
cat: /tmp/phala/solo-mining-scripts-main/.env: 没有那个文件或目录
cp: 无法获取’/tmp/phala/solo-mining-scripts-main/scripts/cn’ 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问’/opt/phala/scripts/phala.sh’: 没有那个文件或目录
----------本地脚本版本过低,已自动升级。请重新执行命令!----------
cat: /tmp/phala/solo-mining-scripts-main/.env: 没有那个文件或目录

1 Like


请问,khala-node用para2的为什么一直固定在一个高度,不能更新,我要怎么做才可以继续更新到900多万,谢谢

1 Like

直接用的默认的Phala脚本?如果不是的话,你是跑的本地的节点么?可能重启节点会有效

1 Like


我按照了上面操作进行了,现在同步完成了,现在这个说什么情况

1 Like

我也跟你一样的情况! 这个pherry 真是玩死人!

1 Like

用的默认脚本,node那边Parachain还一直 finalized #0 ,删了/var/khala-dev-node/chains/khala/重新同步过两次了还是一样。

1 Like

[2021-09-18T10:21:06Z WARN substrate_subxt] The following types do not have registered type segmenters: {“Paras::ActionQueued::ParaId”, “Registrar::registered::ParaId”, “Crowdloan::Dissolved::ParaId”, “Registrar::Deregistered::ParaId”, “Crowdloan::Created::ParaId”, “ParaInclusion::CandidateIncluded::CandidateReceipt<T::Hash>”, “Gilt::GiltThawed::ActiveIndex”, “Crowdloan::PartiallyRefunded::ParaId”, “ParaInclusion::CandidateTimedOut::CoreIndex”, “Ump::UpwardMessagesReceived::ParaId”, “Ump::WeightExhausted::MessageId”, “Gilt::GiltIssued::T::BlockNumber”, “Auctions::ReserveConfiscated::ParaId”, “Auctions::BidAccepted::ParaId”, “XcmPallet::Attempted::xcm::v0::Outcome”, “Ump::UnsupportedVersion::MessageId”, “Crowdloan::Contributed::ParaId”, “Paras::CodeUpgradeScheduled::ParaId”, “Crowdloan::AllRefunded::ParaId”, “ParaInclusion::CandidateBacked::CoreIndex”, “ParaInclusion::CandidateIncluded::GroupIndex”, “Gilt::GiltIssued::ActiveIndex”, “Hrmp::ChannelClosed::HrmpChannelId”, “XcmPallet::Sent::MultiLocation”, “Crowdloan::AddedToNewRaise::ParaId”, “Ump::InvalidFormat::MessageId”, “ParaInclusion::CandidateTimedOut::HeadData”, “Auctions::AuctionStarted::LeasePeriod”, “Auctions::AuctionClosed::AuctionIndex”, “Hrmp::OpenChannelAccepted::ParaId”, “ParaInclusion::CandidateBacked::CandidateReceipt<T::Hash>”, “Slots::Leased::ParaId”, “ParaInclusion::CandidateIncluded::HeadData”, “Hrmp::OpenChannelRequested::ParaId”, “Gilt::BidRetracted::BalanceOf”, “Auctions::AuctionStarted::AuctionIndex”, “ParaInclusion::CandidateBacked::GroupIndex”, “Auctions::WinningOffset::AuctionIndex”, “Gilt::GiltThawed::BalanceOf”, “Crowdloan::Withdrew::ParaId”, “Paras::CurrentHeadUpdated::ParaId”, “Crowdloan::MemoUpdated::ParaId”, “Crowdloan::Edited::ParaId”, “ParaInclusion::CandidateTimedOut::CandidateReceipt<T::Hash>”, “Slots::NewLeasePeriod::LeasePeriod”, “Slots::Leased::LeasePeriod”, “ParaInclusion::CandidateBacked::HeadData”, “Registrar::Reserved::ParaId”, “ParaInclusion::CandidateIncluded::CoreIndex”, “XcmPallet::Sent::Xcm<()>”, “Crowdloan::HandleBidResult::ParaId”, “Auctions::BidAccepted::LeasePeriod”, “Claims::Claimed::EthereumAddress”, “Ump::ExecutedUpward::Outcome”, “Paras::NewHeadNoted::ParaId”, “Gilt::BidPlaced::BalanceOf”, “Ump::WeightExhausted::Weight”, “Paras::CurrentCodeUpdated::ParaId”, “Hrmp::ChannelClosed::ParaId”, “Gilt::GiltIssued::BalanceOf”, “Ump::ExecutedUpward::MessageId”} If any events containing these types are received, this can cause a TypeSizeUnavailable error and prevent decoding the actual event being listened for.Use ClientBuilder::register_type_size to register missing type sizes.
[2021-09-18T10:21:06Z INFO pherry] Connected to substrate at: ws://phala-node:9945
[2021-09-18T10:22:06Z INFO pherry] bridge() exited with result: Err(Rpc error: Request timeout

Caused by:
    Request timeout)
1 Like

我按1楼的删节点然后重装,pherry就变这样了。

1 Like

我的node同步好之后就没这错误了
node log
[Parachain] 💤 Idle (2 peers), best: #418833 (0x2dae…a185), finalized #418832 (0xbcd6…9416), ⬇ 0.8kiB/s ⬆ 0.3kiB/s

pherry log
[2021-09-18T10:39:15Z INFO pherry] get_block (w/changes): Got block Some(6489) hash 0xc89f…ebb9
[2021-09-18T10:39:15Z INFO pherry] get_block (w/changes): Got block Some(6490) hash 0x7b8b…712c
[2021-09-18T10:39:15Z INFO pherry] get_block (w/changes): Got block Some(6491) hash 0x0fad…6bdc
[2021-09-18T10:39:16Z INFO pherry] get_block (w/changes): Got block Some(6492) hash 0x791c…3e98
[2021-09-18T10:39:16Z INFO pherry] get_block (w/changes): Got block Some(6493) hash 0x4dbe…18c8
[2021-09-18T10:39:16Z INFO pherry] get_block (w/changes): Got block Some(6494) hash 0x74f9…ea4b
[2021-09-18T10:39:16Z INFO pherry] get_block (w/changes): Got block Some(6495) hash 0x561c…0501
[2021-09-18T10:39:16Z INFO pherry] get_block (w/changes): Got block Some(6496) hash 0x92d6…711a
[2021-09-18T10:39:16Z INFO pherry] get_block (w/changes): Got block Some(6497) hash 0x7b63…663a
[2021-09-18T10:39:17Z INFO pherry] get_block (w/changes): Got block Some(6498) hash 0x214c…dd63
[2021-09-18T10:39:17Z INFO pherry] get_block (w/changes): Got block Some(6499) hash 0x425b…2d2a
[2021-09-18T10:39:17Z INFO pherry] get_block (w/changes): Got block Some(6500) hash 0x7dbb…e10f

1 Like

关键是finalized 一直是 0 ,relay链的倒是没问题,就这个para链的一直不行。老哥分享下经验!

1 Like

别的没做啥,就删掉khala链的数据重新同步了一遍

1 Like