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

[Observer] Log error when unable to connect to bootstrap node #6576

Open
peterargue opened this issue Oct 18, 2024 · 0 comments
Open

[Observer] Log error when unable to connect to bootstrap node #6576

peterargue opened this issue Oct 18, 2024 · 0 comments

Comments

@peterargue
Copy link
Contributor

Problem Definition

Observers are configured with an Access node as the "bootstrap node", which is used to instantiate the node's DHT and start syncing blocks. Without this initial connection, the observer will fail to find other peers on the network.

Currently, if this node is offline or the address is incorrect, the observer fails to sync data, but doesn't have any obvious error messages indicating that the Access node is offline.

Proposed Solution

Add an error message when the observer fails to connect to the bootstrap node. This may require adding an explicit connection attempt since connections are handled by libp2p and the error messaging my not be easy to control.

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

No branches or pull requests

3 participants