Local node can not sync - General - Algorand
Local node can not sync
post by michaelfighting on Mar 27, 2021
I am a novice. When I start node successfully, I find the node can’t sync and the sync time display 0.0s all the time. The node status specific information is as follow
- Last committed block: 0
- Time since last block: 0.0s
- Sync Time: 0.0s
- Last consensus protocol: GitHub - algorandfoundation/specs at 5615adc36bad610c7f165fa2967f4ecfa75125f0
- Next consensus protocol: GitHub - algorandfoundation/specs at 5615adc36bad610c7f165fa2967f4ecfa75125f0
- Round for next consensus protocol: 1
- Next consensus protocol supported: true
- Last Catchpoint:
- Genesis ID: mainnet-v1.0
- Genesis hash: wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=
Can someone help me? thanks
post by ryanRfox on Mar 27, 2021
Seems like a networking issue. Have a look in ~/node/data/node.log for some hints about what the node is doing at startup.
post by michaelfighting on Mar 27, 2021
thans for your help, the node always show “fail: dial tcp: lookup 127.0.1: no such host”,“name”:"","time":“2021-03-27T23:29:56.691016-04:00”.
post by ryanRfox on Mar 28, 2021
127.0.1 is an invalid IP address format. Did you manually configure your config.json file? Take a look at (or set) the EndpointAddress value:
"EndpointAddress": "127.0.0.1:8980"
Note: the format is host:port, so I suspect you have “127.0.1” for the host. When algod starts, it writes the algod.net file which contains the current host:port it’s running at.
post by michaelfighting on Mar 29, 2021
OK, thanks a lot, I have resolved my problems.