icp sync requires caller to be a controller?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reproducing icp sync frontend with the reported principal, then read the sync and canister status authorization paths in icp-cli and compare them with the list_authorized call. Check the behavior against icp-cli 0.2.6 or earlier. Done means an authorized principal can sync successfully and the regression is covered by a test.
索引モデルが issue の本文から書いたものです。
説明
With latest icp-cli and static-site, I get the following error:
$ icp sync frontend
Error: direct update call failed: The replica returned a rejection error: reject code CanisterError, reject message Caller x3s26-g4umy-l7jhv-vm3sh-qnz2o-icrdk-cnaw2-zp2xl-yppb6-l6pok-gqe is not allowed to read the canister status, error code Some("IC0542")
Caused by:
The replica returned a rejection error: reject code CanisterError, reject message Caller x3s26-g4umy-l7jhv-vm3sh-qnz2o-icrdk-cnaw2-zp2xl-yppb6-l6pok-gqe is not allowed to read the canister status, error code Some("IC0542")
However, this principal is clearly authorized:
$ icp canister call frontend list_authorized '()'
(vec { principal "x3s26-g4umy-l7jhv-vm3sh-qnz2o-icrdk-cnaw2-zp2xl-yppb6-l6pok-gqe" })
This seems to defeat the purpose of supporting authorized principals in static-site. Previous versions, at least icp-cli 0.2.6 or earlier, didn't have this issue.
- 主要言語
- Rust
- スター
- 116
- フォーク
- 17
- 平均マージ
- 22時間 11分
- マージ済み PR(30日)
- 28
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dfinity/icp-cli のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
sync plugin OOMs ("memory allocation of N bytes failed") when the target canister already has assetsオープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
dfinity/icp-cli#703 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
dfinity/icp-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
peteonrails/voxtype#909 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
alchemyplatform/rundler#1358 ·
メンテナーはふだん 3 日以内に返信
-
[BUG] VA-API HEVC: out-of-range cu_qp_delta (measured -130..+56) produces a corrupted bitstreamオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
selkies-project/pixelflux#52 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BerriAI/litellm#47884 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:testing bug good first issue platform:windows priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信