Skip to content

Handle when RPC node closes events connection #71

@PabloCastellano

Description

@PabloCastellano

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions