Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ohsalmeron/04a1bcc32c8b9fe5560396bd4d9f97b6 to your computer and use it in GitHub Desktop.

Select an option

Save ohsalmeron/04a1bcc32c8b9fe5560396bd4d9f97b6 to your computer and use it in GitHub Desktop.
mac sns-testing
ohsalmeron@Omars-MacBook-Pro ~ % git clone [email protected]:dfinity/sns-testing.git
cd sns-testing
Cloning into 'sns-testing'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
cd: no such file or directory: sns-testing
ohsalmeron@Omars-MacBook-Pro ~ % git clone https://github.com/dfinity/sns-testing.git
Cloning into 'sns-testing'...
remote: Enumerating objects: 1128, done.
remote: Counting objects: 100% (587/587), done.
remote: Compressing objects: 100% (232/232), done.
remote: Total 1128 (delta 456), reused 385 (delta 354), pack-reused 541
Receiving objects: 100% (1128/1128), 324.04 KiB | 1.75 MiB/s, done.
Resolving deltas: 100% (710/710), done.
ohsalmeron@Omars-MacBook-Pro ~ % cd sns-testing
ohsalmeron@Omars-MacBook-Pro sns-testing % bash install.sh
Using identity: "default".
~/sns-testing/bin ~/sns-testing
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7061k 100 7061k 0 0 4264k 0 0:00:01 0:00:01 --:--:-- 4264k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4337k 100 4337k 0 0 1033k 0 0:00:04 0:00:04 --:--:-- 1033k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2962k 100 2962k 0 0 2225k 0 0:00:01 0:00:01 --:--:-- 2224k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2268k 100 2268k 0 0 991k 0 0:00:02 0:00:02 --:--:-- 991k
% 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 84.8M 100 84.8M 0 0 12.2M 0 0:00:06 0:00:06 --:--:-- 10.9M
% 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 12.9M 100 12.9M 0 0 10.8M 0 0:00:01 0:00:01 --:--:-- 38.9M
% 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 7046k 100 7046k 0 0 7944k 0 --:--:-- --:--:-- --:--:-- 7944k
% 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 1841k 100 1841k 0 0 2169k 0 --:--:-- --:--:-- --:--:-- 2169k
Archive: idl2json.zip
inflating: idl2json
inflating: yaml2candid
~/sns-testing
ohsalmeron@Omars-MacBook-Pro sns-testing % DX_NET_JSON="${HOME}/.config/dfx/networks.json"
mkdir -p "$(dirname "${DX_NET_JSON}")"
cp "$DX_NET_JSON" "${DX_NET_JSON}.tmp" 2>/dev/null # save original config if present
echo '{
"local": {
"bind": "0.0.0.0:8080",
"type": "ephemeral",
"replica": {
"subnet_type": "system",
"port": 8000
}
}
}' > "${DX_NET_JSON}"
./bin/dfx start --clean; \
mv "${DX_NET_JSON}.tmp" "$DX_NET_JSON" 2>/dev/null # restore original config if it was present
Running dfx start for version 0.19.0
Using shared network 'local' defined in /Users/ohsalmeron/.config/dfx/networks.json
2024-05-21T19:34:18.518185Z ERROR icx_proxy_dev: Runtime crashed
Error: Runtime crashed
Caused by:
0: fail to fetch root key for http://localhost:8000/
1: An error happened during communication with the replica: error trying to connect: tcp connect error: Connection refused (os error 61)
2024-05-21T19:34:20.690072Z ERROR icx_proxy_dev: Runtime crashed
Error: Runtime crashed
Caused by:
0: fail to fetch root key for http://localhost:8000/
1: An error happened during communication with the replica: error trying to connect: tcp connect error: Connection refused (os error 61)
2024-05-21T19:34:22.907695Z ERROR icx_proxy_dev: Runtime crashed
Error: Runtime crashed
Caused by:
0: fail to fetch root key for http://localhost:8000/
1: An error happened during communication with the replica: error trying to connect: tcp connect error: Connection refused (os error 61)
Initialized replica.
Dashboard: http://localhost:8000/_/dashboard
^CStopping canister http adapter...
Stopped.
Stopping the replica...
Stopped.
Stopping icx-proxy...
Stopped.
ohsalmeron@Omars-MacBook-Pro sns-testing %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment