Shelley testnet: could not connect with node / failed to make a REST request

Hello, everybody.

I’ve been having a lot of trouble installing SHELLY testnet.

I lacked my ability, so I tried to solve it by my friend, but it was not easy.

To get more users involved on the Shelly Testnet, you need a better manual.

There are many unknown errors. I am not sure if this is a network issue or a certificate issue.

I have reported a problem.

I need a little more good manual.

I want SHELLY to be perfect.

From Korea.

TBH, I do not like this kind of post titles, would say hate them.
Cos, it suggests that you have the required skills to run Shelley pool, but Shelley has a lot of problems, that prevents you to do so.

But, I have checked what you did, and the above mentioned is not the case.

You just simply started your node from cli without any config, see details below, which means the node won’t listen on the Rest API port, on which you’re you’re trying to connect to: ``…http://127.0.0.1:3101…```.

jormungandr \
   --trusted-peer "/ip4/3.123.177.192/tcp/3000" \
   --trusted-peer "/ip4/52.57.157.167/tcp/3000" \
   --trusted-peer "/ip4/3.123.155.47/tcp/3000" \
   --trusted-peer "/ip4/3.115.57.216/tcp/3000" \
   --trusted-peer "/ip4/3.112.185.217/tcp/3000" \
   --trusted-peer "/ip4/18.139.40.4/tcp/3000" \
   --trusted-peer "/ip4/18.140.134.230/tcp/3000" \
   --genesis-block-hash adbdd5ede31637f6c9bad5c271eec0bc3d0cb9efb86a5b913bb55cba549d0770

Update:
You should follow the following instructions which was referenced on the Official testnet page.

5 Likes

Changed it so it doesn’t suggest where the problems originate.

1 Like

Hello,

Thank you for your feedback.

I wonder if you installed Shelly Testnet without any problems.

I think shelly installation instructions are harder than I thought.

I do not understand everything you wrote.

Anyway, I understand that following the link above means that shelly testnet works fine.

I think Cardano should provide some better installation instructions to get more feedback.

I’ll study more and write a good expression from now on.

I hope no one will give up the shelly testnet installation.

Thank you.

Env) ubuntu18.04

[install]

sudo su - root

sudo apt install pkg-config

sudo apt-get install libssl-dev

curl https://sh.rustup.rs -sSf | sh

source $HOME/.cargo/env

git clone --recurse-submodules https://github.com/input-output-hk/jormungandr

cd jormungandr

cargo install --path jormungandr

cargo install --path jcli

vi ~/.bashrc
################ Add it to the bottom ################
export PATH=PATH:{HOME}/.cargo/bin
####################################################

source ~/.bashrc

jormungandr
–trusted-peer “/ip4/3.123.177.192/tcp/3000”
–trusted-peer “/ip4/52.57.157.167/tcp/3000”
–trusted-peer “/ip4/3.123.155.47/tcp/3000”
–trusted-peer “/ip4/3.115.57.216/tcp/3000”
–trusted-peer “/ip4/3.112.185.217/tcp/3000”
–trusted-peer “/ip4/18.139.40.4/tcp/3000”
–trusted-peer “/ip4/18.140.134.230/tcp/3000”
–genesis-block-hash adbdd5ede31637f6c9bad5c271eec0bc3d0cb9efb86a5b913bb55cba549d0770

(A connection error occurs)

[monitoring]

ctrl+shift+tab (new terminal)

jcli rest v0 utxo get --host “http://127.0.0.1:8443/api

Thank you very much.

I started downloading the blockchain.

Env) ubuntu18.04

[install]

sudo su - root

sudo apt install pkg-config

sudo apt-get install libssl-dev

curl https://sh.rustup.rs -sSf | sh

source $HOME/.cargo/env

git clone --recurse-submodules https://github.com/input-output-hk/jormungandr

cd jormungandr

cargo install --path jormungandr

cargo install --path jcli

vi ~/.bashrc
########## Add it to the bottom ##########
export PATH=PATH:{HOME}/.cargo/bin
##########################################

source ~/.bashrc

vi node-config.yaml
########## Add it to the bottom ##########
log:
format: “plain”
level: “info”
output: “stderr”
p2p:
listen_address: “/ip4/0.0.0.0/tcp/3100”
public_address:
topics_of_interest:
blocks: “high”
messages: “high”
trusted_peers:
- “/ip4/3.123.177.192/tcp/3000”
- “/ip4/3.123.155.47/tcp/3000”
- “/ip4/52.57.157.167/tcp/3000”
- “/ip4/3.112.185.217/tcp/3000”
- “/ip4/18.140.134.230/tcp/3000”
- “/ip4/18.139.40.4/tcp/3000”
- “/ip4/3.115.57.216/tcp/3000”
rest:
listen: “127.0.0.1:3101”
storage: “/tmp/jormungandr”
##########################################

jormungandr --config node-config.yaml --genesis-block-hash adbdd5ede31637f6c9bad5c271eec0bc3d0cb9efb86a5b913bb55cba549d0770 --log-level=info

You do not need to compile it. It would have been much more easier to you if you would have only downloaded the relevant binary from official github repo.

3 Likes

Thank you, so very much. I will work harder and study harder in Cardano community.