ergo icon indicating copy to clipboard operation
ergo copied to clipboard

Ergo Node: ErgoReadersHolder - Readers are not initialized

Open ccgarant opened this issue 2 years ago • 2 comments

Having an issue with the Ergo Node. Running it on a Raspberry Pi. Enabled port forwarding on my router. I think the router got confused with IP addresses or DNS when I rebooted it?

19:14:22.219 INFO  [ergoref-api-dispatcher-7] o.e.n.ErgoReadersHolder - Readers are not initialized yet : (None,None,None,None)
19:14:24.239 INFO  [ergoref-api-dispatcher-7] o.e.n.ErgoReadersHolder - Readers are not initialized yet : (None,None,None,None)
19:14:26.259 INFO  [ergoref-api-dispatcher-7] o.e.n.ErgoReadersHolder - Readers are not initialized yet : (None,None,None,None)
19:14:28.279 INFO  [ergoref-api-dispatcher-7] o.e.n.ErgoReadersHolder - Readers are not initialized yet : (None,None,None,None)
19:14:30.290 INFO  [ergoref-api-dispatcher-7] o.e.n.ErgoReadersHolder - Readers are not initialized yet : (None,None,None,None)
19:14:31.283 INFO  [tor.default-dispatcher-12] s.c.n.NetworkController - Unconfirmed connection: (/178.254.43.14:59242, /192.168.254.94:9030) => ConnectionId(remote=/178.254.43.14:59242, local=/192.168.254.94:9030, direction=Incoming)
19:14:31.285 INFO  [tor.default-dispatcher-12] s.c.n.peer.PeerManager - Connection confirmation request: ConnectionId(remote=/178.254.43.14:59242, local=/192.168.254.94:9030, direction=Incoming)
19:14:31.286 INFO  [tor.default-dispatcher-12] s.c.n.NetworkController - Connection confirmed to ConnectionId(remote=/178.254.43.14:59242, local=/192.168.254.94:9030, direction=Incoming)
19:14:31.286 INFO  [tor.default-dispatcher-12] s.c.n.NetworkController - New incoming connection from /178.254.43.14:59242 established (bound to local /192.168.254.94:9030)
19:14:31.289 INFO  [ctor.default-dispatcher-4] s.c.n.PeerConnectionHandler - Handshake sent to ConnectionId(remote=/178.254.43.14:59242, local=/192.168.254.94:9030, direction=Incoming)
19:14:31.292 INFO  [ctor.default-dispatcher-4] s.c.n.PeerConnectionHandler - Got a Handshake from ConnectionId(remote=/178.254.43.14:59242, local=/192.168.254.94:9030, direction=Incoming)
19:14:32.310 INFO  [ergoref-api-dispatcher-7] o.e.n.ErgoReadersHolder - Readers are not initialized yet : (None,None,None,None)
19:14:34.330 INFO  [ergoref-api-dispatcher-7] o.e.n.ErgoReadersHolder - Readers are not initialized yet : (None,None,None,None)
19:14:36.349 INFO  [ergoref-api-dispatcher-7] o.e.n.ErgoReadersHolder - Readers are not initialized yet : (None,None,None,None)

Note, I use to have only Outgoing connections, now it looks like only Incoming?

ccgarant avatar Sep 28 '23 18:09 ccgarant

Any error in the log? Usually Readers are not initialized yet is result of DB corruption

kushti avatar Oct 05 '23 11:10 kushti

I believe I had an unclean shutdown aka pulled out the power on the pi.

I've been pointed to the swagger shutdown command and will now do a sudo shutdown before hand too. Thanks!

I've since deleted the .ergo file and restarted syncing and am fine now.

Maybe I would recommend a way to idiot proof or make a more precise error message for bad shutdowns if at all possible.

ccgarant avatar Oct 06 '23 01:10 ccgarant