-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use reconnecting RPC client #521
Comments
@ebma is this still relevant? should we get it estimated? |
This unfortunately is blocked by yet another upgrade of our polkadot dependencies. We can probably only really work on this once we bump our dependencies to Polkadot v1.6.0, ie the next one after the upgrade to v1.1.0. |
No we dont will create this |
Blocker added |
Hey team! Please add your planning poker estimate with Zenhub @ebma @gianfra-t @TorstenStueber |
Context
Sometimes, it happens that the underlying RPC client used by Subxt disconnects (e.g. due to network issues). In this case, the client throws an error that is not easy to detect in subxt, see paritytech/subxt#1190.
This makes our client stuck in an infinite retry loop.
TODO
This PR adds a new experimental implementation of an RPC client that automatically reconnects. This implementation is only available in subxt v0.35 or later. I tried bumping the subxt dependencies we use in Spacewalk to that version but I encountered conflicts because our Polkadot dependencies are too outdated.
reconnecting-rpc-client
feature of subxt.The text was updated successfully, but these errors were encountered: