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

Unchained API: update blockbook websocket error handling #965

Closed
kaladinlight opened this issue Apr 1, 2024 · 1 comment
Closed

Unchained API: update blockbook websocket error handling #965

kaladinlight opened this issue Apr 1, 2024 · 1 comment
Assignees

Comments

@kaladinlight
Copy link
Collaborator

Overview

Currently we attempt to reconnect to the blockbook websocket 5 times before failing and causing the pod to exit. This worked well for our self hosted infrastructure as an additional built in retry mechanism, but causes complete outages in the now nodes world if only websockets go down which we have seen.

References and additional details

websocat: WebSocketError: WebSocketError: Received unexpected status code (500 Internal Server Error)
websocat: error running

Acceptance Criteria

  • api will no longer exit if blockbook websocket is down
  • there will be a continued background retry loop to ensure websockets are auto reconnected once back

Need By Date

No response

Screenshots/Mockups

No response

Estimated effort

No response

@kaladinlight kaladinlight self-assigned this Apr 1, 2024
@kaladinlight kaladinlight moved this from Backlog to In progress in ShapeShift Dashboard Apr 1, 2024
@0xean
Copy link
Contributor

0xean commented Apr 1, 2024

done

@0xean 0xean closed this as completed Apr 1, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in ShapeShift Dashboard Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants