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

Handle when RPC node closes events connection #71

Open
2 tasks
PabloCastellano opened this issue May 31, 2024 · 0 comments
Open
2 tasks

Handle when RPC node closes events connection #71

PabloCastellano opened this issue May 31, 2024 · 0 comments

Comments

@PabloCastellano
Copy link
Member

PabloCastellano commented May 31, 2024

The indexer is crashing when the RPC node closes the events streaming connection for any reason.

TODO:

  • Log an explanatory error
  • Reconnect to RPC and continue listening for events
...
INFO sync:realtime:head_block: blob_indexer::synchronizer: Syncing 1 slots… initial_slot=9166076 final_slot=9166077 reverse_sync=false
INFO sync:realtime:head_block: blob_indexer::slots_processor: Block indexed successfully slot=9166076 block_number=19961540
ERROR blob_indexer::indexer: An error occurred while running a syncing task error=RealtimeSyncingTaskError(BeaconEventsConnectionFailure(StreamEnded))
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

1 participant