synechron-finlabs / quorum-maker

Utility to create and monitor Quorum nodes
Apache License 2.0
196 stars 97 forks source link

Quorum maker could not be attached to my quorum network #132

Open Aghorb opened 4 years ago

Aghorb commented 4 years ago

I tried to attach the quorum maker to my quorum quorum network (7nodes example) using the following command: ./setup.sh attach -n slave1 --ip 197.240.233.5 --pk BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo= -r 22000 --whisper 21000 --constellation 9001 --raft 50401 --nm 11004 --active This is the issue that I get : rpc call eth_coinbase() on http://197.240.233.5:22000: Post http://197.240.233.5:22000: dial tcp 197.240.233.5:22000: i/o timeout How to fix it

dhyansraj commented 3 years ago

Are you sure the node from 7 node example running fine ?

Can you get the block number from it with following command ?

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":83}' 197.240.233.5:22000 -H 'content-type: application/json'

dhyansraj commented 3 years ago

Are you creating 7 node example using docker ? If so the virtual IP 197.240.233.5 is unknown/unreacheable from the Quorum Makers docker network. Easiest solution in that case is to expose the 7 node examples ports on localhost and use local IP to attach. Do not use localhost or 127.0.0.1 while using Quorum Maker though.