I have 2 ubuntu machines
- Ubuntu server
- Ubuntu server
The problem which i am facing is that i am unable to run 2nd Node as a peer of first Node.... I have tried with different type of genesis files like :
- Providing both Peers info in genesis
{
"addPeer":{
"peer":{
"address":"110.39.197.250:10001",
"peerKey":"d04da271b57fe63426ae1dc97f6952104037411fcf4f3b739dc217f45e5fc99b"
}
}
},
{
"addPeer":{
"peer":{
"address":"135.148.120.71:10001",
"peerKey":"d64606f47120a1c62a7b7a8869acee11c50b287dbfe18de30556ce98cf478db9"
}
}
},
**FYI**
**........ 110.39.197.250 ==> local machine ip
........ 135.148.120.71 ==> server ip
........ Running point 1 results in error with exiting of related Iroha Node**
- `Providing only current node info in genesis see genesis file here for both Nodes Also you can see config file for both Nodes
"addPeer": {
"peer": {
"address": "127.0.0.1:10001",
"peerKey": "d04da271b57fe63426ae1dc97f6952104037411fcf4f3b739dc217f45e5fc99b"
}
}
FYI // like same way provide node info in 2nd running node genesis and then run Addpeer in cli then this error comes and both of the nodes stop working
I am not sure what is the correct way to run Iroha nodes on different servers and then add 2nd node as a peer of 1st one....Even i have not found any helping document ..The only help which i found was to deploy multiple nodes on single machine using docker but i want to deploy on different machines and use them as a peer. Please guide me