question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhance WsProvider to support multiple endpoints

See original GitHub issue

Goal:

Enhance WsProvider to allow it support multiple endpoints. On reconnect, switch to next endpoint in a round robin way.

Background:

Currently WsProvider only takes one endpoint, and incase this particular node is down, it will lose access to the network. While it is possible to detect disconnect event and create a new api instance, the existing subscription will be lost.

Actions:

Modify WsProvider to change type of endpoint to string | string[].

Update WsProvider#connect to use next endpoint.

Provide appropriate unit tests.


@jacogr please tag this if you are happy about this. The tags are come from W3F bounties doc.

Tags: bounty-awaiting-approval bounty-XS

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
hoanicommented, May 4, 2020

Hi - thanks for approving, yes I will on this issue (@gitcoinbot a little harsh to warn me for abandonment only 6 hours after approval). I have a plan in place for addressing this issue and should have a PR ready within the next 24 hours.

0reactions
polkadot-js-botcommented, Jun 4, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ADD MULTIPLE BINDING TYPE SUPPORT FOR JAX-WS ...
Enhance the JAX-WS Provider endpoint to allow multiple message binding types (SOAP 1.1 & SOAP 1.2) on the same endpoint implementation.
Read more >
Configure a Service with Multiple Endpoints to External Services
The best approach to managing multiple endpoint configurations is to utilize service connections. Consider the following example. We have a requirement to ...
Read more >
Node Endpoints - Polkadot Wiki
List of node endpoints and examples of use. ... to one of the several public endpoints provided by infrastructure and API service providers....
Read more >
Chapter 3. Developing JAX-WS Web Services
A JAX-WS service endpoint is a server-side component that responds to requests from JAX-WS clients and publishes the WSDL definition for itself. See...
Read more >
c# - How do I resolve the issue the request matched multiple ...
AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints. I can't however sort out what is best practice in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found