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

[TASK] Handle Network disconnection for Substrate #495

Closed
shekohex opened this issue May 8, 2023 · 0 comments · Fixed by #522
Closed

[TASK] Handle Network disconnection for Substrate #495

shekohex opened this issue May 8, 2023 · 0 comments · Fixed by #522
Assignees

Comments

@shekohex
Copy link
Collaborator

shekohex commented May 8, 2023

Overview

Substrate Providers are using WebSocket connections, without a re-connection handling when the network connection drops for example. We need to consider fixing this before launch.

Proposed Solutions

  1. Do not use web sockets at all and just use http(s) endpoints (subxt supports http?)
  2. Use a custom jsonrpsee_ws_client::WsClientBuilder where we will need to implement a retry logic (see Retry logic paritytech/jsonrpsee#949)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants