encointer / encointer-wallet-flutter

Encointer mobile wallet flutter implementation
https://encointer.org
Apache License 2.0
21 stars 15 forks source link

failover rpc endpoints if unresponsive #1544

Closed brenzi closed 10 months ago

brenzi commented 11 months ago

today an update of our rpc nodes caused downtime. This should never happen as we have multiple providers for rpc: image

the app should retry different endpoints after each timeout

clangenb commented 10 months ago

Once we only use dart RPCs, this will be fairly simple. I have implemented our own ReconnectingWebsocket class used in the polkadart apis, and this one can be extended to now all endpoints and then it can try one-by-one until it can connect to one.

clangenb commented 10 months ago

Closing favoring #1603