Skip to content

fix: handle beacon node events stream end error #78

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

Merged
merged 3 commits into from
Jan 25, 2025

Conversation

PJColombo
Copy link
Member

Currently, indexers running on different instances periodically encounter a StreamEnd error on their SSE subscription (approximately every hour). This issue causes the indexers to stop execution and send an exception notification to Sentry.

This PR introduces a mechanism to handle StreamEnd errors gracefully by implementing an infinite resubscription to SSE events, ensuring uninterrupted operation.

@PJColombo PJColombo force-pushed the fix/handle-stream-end-error branch from 971091b to 46df2c4 Compare January 25, 2025 17:52
@PJColombo PJColombo merged commit ee21928 into master Jan 25, 2025
1 check passed
@PJColombo PJColombo deleted the fix/handle-stream-end-error branch January 25, 2025 17:54
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

Successfully merging this pull request may close these issues.

1 participant