Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ergo Node: ErgoReadersHolder - Readers are not initialized #2041

Open
ccgarant opened this issue Sep 28, 2023 · 2 comments
Open

Ergo Node: ErgoReadersHolder - Readers are not initialized #2041

ccgarant opened this issue Sep 28, 2023 · 2 comments

Comments

@ccgarant
Copy link

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?

@kushti
Copy link
Member

kushti commented Oct 5, 2023

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

@ccgarant
Copy link
Author

ccgarant commented Oct 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants