Baseledger / baseledger-plateau

3 stars 3 forks source link

Persistent peer not available #48

Open Balint-FEI opened 6 months ago

Balint-FEI commented 6 months ago

after starting cosmovisor.service it got stuck in the following loop trying to connect to the peer:

INF Will dial address addr={"id": "ip": "", "port" :26656} module-pex INF Saving AddrBook to file book=/root /.baseledger/config/addrbook.json module-p2p size=1 INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDia1=10 INF Will dial address addr={"id": "ip": "", "port" :26656} module-pex INF Saving AddrBook to file book=/root /.baseledger/config/addrbook.json module-p2p size=1 INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDia1=10

Balint-FEI commented 6 months ago

I speculated that the persistent peer used in the cosmovisor.service file was offline and or jailed. So we tried to switch up the

parameter in the cosmovisor.service file to a peer that was online at that time this solved the issue after reload and restart of the service. we got the needed info from a node operator using the command: ./baseledgerd tendermint show-node-id and inserted as list of peers in the following format @:26656