dfinity / sns-testing

Testing SNS in local testing environment
Apache License 2.0
9 stars 12 forks source link

Can't fetch rootkey #11

Closed letmejustputthishere closed 1 year ago

letmejustputthishere commented 1 year ago

I followed the steps in the README, but they always fail when i run ./setup_locally.sh with the following error

Using identity: "default".
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  309k  100  309k    0     0   608k      0 --:--:-- --:--:-- --:--:--  615k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  162k  100  162k    0     0   560k      0 --:--:-- --:--:-- --:--:--  571k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  633k  100  633k    0     0  1594k      0 --:--:-- --:--:-- --:--:-- 1633k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  643k  100  643k    0     0  1713k      0 --:--:-- --:--:-- --:--:-- 1743k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  415k  100  415k    0     0  1140k      0 --:--:-- --:--:-- --:--:-- 1164k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  7153  100  7153    0     0  30132      0 --:--:-- --:--:-- --:--:-- 31235
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  516k  100  516k    0     0  1228k      0 --:--:-- --:--:-- --:--:-- 1258k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 82943  100 82943    0     0   259k      0 --:--:-- --:--:-- --:--:--  267k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  7153  100  7153    0     0  27747      0 --:--:-- --:--:-- --:--:-- 28726
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  810k  100  810k    0     0  1812k      0 --:--:-- --:--:-- --:--:-- 1845k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  263k  100  263k    0     0   807k      0 --:--:-- --:--:-- --:--:--  830k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 87  399k   87  350k    0     0  1717k      0 --:--:-- --:--:-- --:--:-- 1779k
100  399k  100  399k    0     0  1879k      0 --:--:-- --:--:-- --:--:-- 1940k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  283k  100  283k    0     0   890k      0 --:--:-- --:--:-- --:--:--  913k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  588k  100  588k    0     0  1650k      0 --:--:-- --:--:-- --:--:-- 1691k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  391k  100  391k    0     0  1166k      0 --:--:-- --:--:-- --:--:-- 1185k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  526k  100  526k    0     0  1408k      0 --:--:-- --:--:-- --:--:-- 1439k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  209k  100  209k    0     0   624k      0 --:--:-- --:--:-- --:--:--  642k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  211k  100  211k    0     0   755k      0 --:--:-- --:--:-- --:--:--  774k
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/dfx.json
Importing canister 'cycles-minting' as 'nns-cycles-minting'
Importing /Users/moritz/projects/sns-testing/candid/nns-cycles-minting.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/cmc/cmc.did
cycles-minting canister id on network 'ic' is rkp4c-7iaaa-aaaaa-aaaca-cai
Importing canister 'genesis-token' as 'nns-genesis-token'
Importing /Users/moritz/projects/sns-testing/candid/nns-genesis-token.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/gtc/canister/gtc.did
genesis-token canister id on network 'ic' is renrk-eyaaa-aaaaa-aaada-cai
Importing canister 'governance' as 'nns-governance'
Importing /Users/moritz/projects/sns-testing/candid/nns-governance.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/governance/canister/governance.did
governance canister id on network 'ic' is rrkah-fqaaa-aaaaa-aaaaq-cai
Importing canister 'ledger' as 'nns-ledger'
Importing /Users/moritz/projects/sns-testing/candid/nns-ledger.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/rosetta-api/icp_ledger/ledger.did
ledger canister id on network 'ic' is ryjl3-tyaaa-aaaaa-aaaba-cai
Importing canister 'lifeline' as 'nns-lifeline'
Importing /Users/moritz/projects/sns-testing/candid/nns-lifeline.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/handlers/lifeline/lifeline.did
lifeline canister id on network 'ic' is rno2w-sqaaa-aaaaa-aaacq-cai
Importing canister 'registry' as 'nns-registry'
Importing /Users/moritz/projects/sns-testing/candid/nns-registry.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/registry/canister/canister/registry.did
registry canister id on network 'ic' is rwlgt-iiaaa-aaaaa-aaaaa-cai
Importing canister 'root' as 'nns-root'
Importing /Users/moritz/projects/sns-testing/candid/nns-root.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/handlers/root/canister/root.did
root canister id on network 'ic' is r7inp-6aaaa-aaaaa-aaabq-cai
Importing canister 'sns-wasm' as 'nns-sns-wasm'
Importing /Users/moritz/projects/sns-testing/candid/nns-sns-wasm.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/sns-wasm/canister/sns-wasm.did
sns-wasm canister id on network 'ic' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
nns-governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
nns-ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
nns-root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
nns-cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
nns-lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
nns-genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
nns-identity has no local canister ID.
nns-ui has no local canister ID.
nns-sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-ic-ckbtc-minter has no local canister ID.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/sns/cli/dfx.json
Importing canister 'sns_governance' as 'sns_governance'
Importing /Users/moritz/projects/sns-testing/candid/sns_governance.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/sns/governance/canister/governance.did
sns_governance has no canister id for network 'ic'
Importing canister 'sns_index' as 'sns_index'
Importing /Users/moritz/projects/sns-testing/candid/sns_index.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/rosetta-api/icrc1/index/index.did
sns_index has no canister id for network 'ic'
Importing canister 'sns_ledger' as 'sns_ledger'
Importing /Users/moritz/projects/sns-testing/candid/sns_ledger.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/rosetta-api/icrc1/ledger/ledger.did
sns_ledger has no canister id for network 'ic'
Importing canister 'sns_root' as 'sns_root'
Importing /Users/moritz/projects/sns-testing/candid/sns_root.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/sns/root/canister/root.did
sns_root has no canister id for network 'ic'
Importing canister 'sns_swap' as 'sns_swap'
Importing /Users/moritz/projects/sns-testing/candid/sns_swap.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/sns/swap/canister/swap.did
sns_swap has no canister id for network 'ic'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 18975  100 18975    0     0  56840      0 --:--:-- --:--:-- --:--:-- 58746
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 97 15620   97 15197    0     0  46650      0 --:--:-- --:--:-- --:--:-- 47342
100 15620  100 15620    0     0  47507      0 --:--:-- --:--:-- --:--:-- 48209
[ic-nns-init] The content of the registry will be initialized with an empty content. This is most likely not what you want. Use --initial-registry or --registry-local-store-dir to specify initial content.
[ic-nns-init] Initializing neurons from CSV file: "initial_neurons.csv"
[ic-nns-init] Initializing with test ledger account: 9aa2574febdc2a31054bb0cd3083e49ee37a176fd9b062f6f3d75cdf51bd2681
[ic-nns-init] Initializing with test ledger account: 5b315d2f6702cb3a27d826161797d7b2c2e131cd312aece51d4d5574d1247087
[ic-nns-init] Initializing with test ledger account: 2b8fbde99de881f695f279d2a892b1137bfe81a42d7694e064b1be58701e1138
[ic-nns-init] Initialized governance.
NNS canisters created after 2.0 s
Compiling Wasm for registry-canister in task on thread: ThreadId(12)
looking up registry-canister at REGISTRY_CANISTER_WASM_PATH
Compiling Wasm for governance-canister in task on thread: ThreadId(13)
looking up governance-canister at GOVERNANCE_CANISTER_TEST_WASM_PATH
Using pre-built binary for registry-canister (size = 2696664)
Compiling Wasm for ledger-canister in task on thread: ThreadId(12)
looking up ledger-canister at LEDGER_CANISTER_NOTIFY_METHOD_WASM_PATH
Using pre-built binary for governance-canister (size = 2225924)
Done compiling the wasm for registry-canister
Using pre-built binary for ledger-canister (size = 1207038)
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: rwlgt-iiaaa-aaaaa-aaaaa-cai
  wasm_module: <2696664 bytes>
  arg: <69 bytes>
  compute_allocation: None
  memory_allocation: Some("4_294_967_296")
  query_allocation: None
}

Done compiling the wasm for governance-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: rrkah-fqaaa-aaaaa-aaaaq-cai
  wasm_module: <2225924 bytes>
  arg: <1498 bytes>
  compute_allocation: None
  memory_allocation: Some("4_294_967_296")
  query_allocation: None
}

Done compiling the wasm for ledger-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: ryjl3-tyaaa-aaaaa-aaaba-cai
  wasm_module: <1207038 bytes>
  arg: <1505 bytes>
  compute_allocation: None
  memory_allocation: Some("4_294_967_296")
  query_allocation: None
}

Successfully installed wasm into canister with ID: rwlgt-iiaaa-aaaaa-aaaaa-cai
Installed rwlgt-iiaaa-aaaaa-aaaaa-cai with registry-canister
Successfully installed wasm into canister with ID: rrkah-fqaaa-aaaaa-aaaaq-cai
Installed rrkah-fqaaa-aaaaa-aaaaq-cai with governance-canister
Successfully installed wasm into canister with ID: ryjl3-tyaaa-aaaaa-aaaba-cai
Installed ryjl3-tyaaa-aaaaa-aaaba-cai with ledger-canister
Compiling Wasm for root-canister in task on thread: ThreadId(14)
looking up root-canister at ROOT_CANISTER_WASM_PATH
looking up lifeline_canister at LIFELINE_CANISTER_WASM_PATH
Using pre-built binary for lifeline_canister (size = 207884)
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: Compiling Wasm for cycles-minting-canister in task on thread: ThreadId(13)
rno2w-sqaaa-aaaaa-aaacq-cai
  wasm_module: <207884 bytes>
  arg: <0 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Using pre-built binary for root-canister (size = 791442)
looking up cycles-minting-canister at CYCLES_MINTING_CANISTER_WASM_PATH
Using pre-built binary for cycles-minting-canister (size = 938676)
Compiling Wasm for genesis-token-canister in task on thread: ThreadId(12)
looking up genesis-token-canister at GENESIS_TOKEN_CANISTER_WASM_PATH
Using pre-built binary for genesis-token-canister (size = 472484)
Done compiling the wasm for root-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: r7inp-6aaaa-aaaaa-aaabq-cai
  wasm_module: <791442 bytes>
  arg: <9 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Compiling Wasm for sns-wasm-canister in task on thread: ThreadId(14)
looking up sns-wasm-canister at SNS_WASM_CANISTER_WASM_PATH
Using pre-built binary for sns-wasm-canister (size = 1251205)
Done compiling the wasm for cycles-minting-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: rkp4c-7iaaa-aaaaa-aaaca-cai
  wasm_module: <938676 bytes>
  arg: <165 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Done compiling the wasm for genesis-token-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: renrk-eyaaa-aaaaa-aaada-cai
  wasm_module: <472484 bytes>
  arg: <8 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Done compiling the wasm for sns-wasm-canister
Install args: InstallCodeArgs {
  mode: Reinstall
  canister_id: qaa6y-5yaaa-aaaaa-aaafa-cai
  wasm_module: <1251205 bytes>
  arg: <32 bytes>
  compute_allocation: None
  memory_allocation: Some("1_073_741_824")
  query_allocation: None
}

Successfully installed wasm into canister with ID: rno2w-sqaaa-aaaaa-aaacq-cai
Installed rno2w-sqaaa-aaaaa-aaacq-cai with the lifeline handler
Successfully installed wasm into canister with ID: rkp4c-7iaaa-aaaaa-aaaca-cai
Installed rkp4c-7iaaa-aaaaa-aaaca-cai with cycles-minting-canister
Successfully installed wasm into canister with ID: r7inp-6aaaa-aaaaa-aaabq-cai
Installed r7inp-6aaaa-aaaaa-aaabq-cai with root-canister
Successfully installed wasm into canister with ID: qaa6y-5yaaa-aaaaa-aaafa-cai
Installed qaa6y-5yaaa-aaaaa-aaafa-cai with sns-wasm-canister
Successfully installed wasm into canister with ID: renrk-eyaaa-aaaaa-aaada-cai
Installed renrk-eyaaa-aaaaa-aaada-cai with genesis-token-canister
NNS canisters installed after 14.0 s
NNS canisters set up after 16.0 s
[ic-nns-init] All NNS canisters have been set up on the replica with http://localhost:64439/
Using identity: "default".
No arguments supplied. Script will download the sns wasm binaries at specified IC_COMMIT.
Importing all canisters from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/dfx.json
Importing canister 'cycles-minting' as 'nns-cycles-minting'
Importing /Users/moritz/projects/sns-testing/candid/nns-cycles-minting.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/cmc/cmc.did
cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
Importing canister 'genesis-token' as 'nns-genesis-token'
Importing /Users/moritz/projects/sns-testing/candid/nns-genesis-token.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/gtc/canister/gtc.did
genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
Importing canister 'governance' as 'nns-governance'
Importing /Users/moritz/projects/sns-testing/candid/nns-governance.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/governance/canister/governance.did
governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
Importing canister 'ledger' as 'nns-ledger'
Importing /Users/moritz/projects/sns-testing/candid/nns-ledger.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/rosetta-api/icp_ledger/ledger.did
ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
Importing canister 'lifeline' as 'nns-lifeline'
Importing /Users/moritz/projects/sns-testing/candid/nns-lifeline.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/handlers/lifeline/lifeline.did
lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
Importing canister 'registry' as 'nns-registry'
Importing /Users/moritz/projects/sns-testing/candid/nns-registry.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/registry/canister/canister/registry.did
registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
Importing canister 'root' as 'nns-root'
Importing /Users/moritz/projects/sns-testing/candid/nns-root.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/handlers/root/canister/root.did
root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
Importing canister 'sns-wasm' as 'nns-sns-wasm'
Importing /Users/moritz/projects/sns-testing/candid/nns-sns-wasm.did from https://raw.githubusercontent.com/dfinity/ic/f0256969bfea4d721060776790ebc87337a82d29/rs/nns/sns-wasm/canister/sns-wasm.did
sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-registry canister id on network 'local' is rwlgt-iiaaa-aaaaa-aaaaa-cai
nns-governance canister id on network 'local' is rrkah-fqaaa-aaaaa-aaaaq-cai
nns-ledger canister id on network 'local' is ryjl3-tyaaa-aaaaa-aaaba-cai
nns-root canister id on network 'local' is r7inp-6aaaa-aaaaa-aaabq-cai
nns-cycles-minting canister id on network 'local' is rkp4c-7iaaa-aaaaa-aaaca-cai
nns-lifeline canister id on network 'local' is rno2w-sqaaa-aaaaa-aaacq-cai
nns-genesis-token canister id on network 'local' is renrk-eyaaa-aaaaa-aaada-cai
nns-identity has no local canister ID.
nns-ui has no local canister ID.
nns-sns-wasm canister id on network 'local' is qaa6y-5yaaa-aaaaa-aaafa-cai
nns-ic-ckbtc-minter has no local canister ID.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 18975  100 18975    0     0  72624      0 --:--:-- --:--:-- --:--:-- 75000
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 15620  100 15620    0     0  55194      0 --:--:-- --:--:-- --:--:-- 57216
Error: (BFailed to fetch root key.
Caused by: (BFailed to fetch root key.
  Encountered an error while trying to query the replica.
    The replica returned an HTTP Error: Http Error: status 500 Internal Server Error, content type "", content: Internal Server Error
mraszyk commented 1 year ago

Could you please share the replica logs printed by ./bin/dfx start --clean?

letmejustputthishere commented 1 year ago
bash-3.2$ DFX_NET_JSON="${HOME}/.config/dfx/networks.json"
bash-3.2$ mkdir -p "$(dirname "${DFX_NET_JSON}")"
bash-3.2$ cp "$DFX_NET_JSON" "${DFX_NET_JSON}.tmp" 2>/dev/null  # save original config if present
bash-3.2$ echo '{
>    "local": {
>       "bind": "0.0.0.0:8080",
>       "type": "ephemeral",
>       "replica": {
>          "subnet_type": "system"
>       }
>    }
> }' > "${DFX_NET_JSON}"
bash-3.2$ ./bin/dfx start --clean; \
> mv "${DFX_NET_JSON}.tmp" "$DFX_NET_JSON" 2>/dev/null  # restore original config if it was present
Running dfx start for version 0.13.1
Using shared network 'local' defined in /Users/moritz/.config/dfx/networks.json
Dashboard: http://localhost:51307/_/dashboard
[Canister rwlgt-iiaaa-aaaaa-aaaaa-cai] [Registry] canister_init: Initializing with: mutations: []
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] canister_init: Initializing with: economics: Some(NetworkEconomics { reject_cost_e8s: 100000000, neuron_minimum_stake_e8s: 100000000, neuron_management_fee_per_proposal_e8s: 1000000, minimum_icp_xdr_rate: 100, neuron_spawn_dissolve_delay_seconds: 604800, maximum_node_provider_rewards_e8s: 100000000000000, transaction_fee_e8s: 10000, max_proposals_to_keep_per_topic: 100 }), genesis_timestamp_seconds: 0, neuron count: 11
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] Error when getting total ICP supply: External: Error calling method 'total_supply' of the ledger canister. Code: Some(3). Message: IC0304: Attempt to execute a message on canister ryjl3-tyaaa-aaaaa-aaaba-cai which contains no Wasm module
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] Running GC now at timestamp 1686139351 seconds
[Canister ryjl3-tyaaa-aaaaa-aaaba-cai] [ledger] init(): minting account is 082ecf2e3f647ac600f43f38a68342fba5b8e68b085f02592b77f39808a8d2b5
[Canister ryjl3-tyaaa-aaaaa-aaaba-cai] [ledger] init(): using maximum message size: 131072
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] Couldn't update maturity modulation. Error: IC0304: Attempt to execute a message on canister rkp4c-7iaaa-aaaaa-aaaca-cai which contains no Wasm module
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] Couldn't update maturity modulation. Error: IC0304: Attempt to execute a message on canister rkp4c-7iaaa-aaaaa-aaaca-cai which contains no Wasm module
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] Couldn't update maturity modulation. Error: IC0304: Attempt to execute a message on canister rkp4c-7iaaa-aaaaa-aaaca-cai which contains no Wasm module
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] Couldn't update maturity modulation. Error: IC0304: Attempt to execute a message on canister rkp4c-7iaaa-aaaaa-aaaca-cai which contains no Wasm module
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] Couldn't update maturity modulation. Error: IC0304: Attempt to execute a message on canister rkp4c-7iaaa-aaaaa-aaaca-cai which contains no Wasm module
[Canister r7inp-6aaaa-aaaaa-aaabq-cai] [Root Canister] canister_init
[Canister rkp4c-7iaaa-aaaaa-aaaca-cai] [cycles] init() with ledger canister ryjl3-tyaaa-aaaaa-aaaba-cai, governance canister rrkah-fqaaa-aaaaa-aaaaq-cai, exchange rate canister <none>, and minting account 082ecf2e3f647ac600f43f38a68342fba5b8e68b085f02592b77f39808a8d2b5
[Canister rrkah-fqaaa-aaaaa-aaaaq-cai] [Governance] Updated daily maturity modulation rate to (in basis points): 0, at: 1686139356. Last updated: None
[Canister renrk-eyaaa-aaaaa-aaada-cai] [GTC] canister_init: Initializing
[Canister qaa6y-5yaaa-aaaaa-aaafa-cai] [SNS-WASM] canister_init_
letmejustputthishere commented 1 year ago

the issue solved itself ¯_(ツ)_/¯ i'm not sure what changed though