Currently the beacon node accepts a single URL for ETH1 endpoint. Due to the recent AWS outage, its important to have multiple endpoint support just incase if the primary ETH1 fails, beacon node will then fallback to the secondary URL. Then if the primary endpoint recovers then start to switch from secondary to primary
Modify the beacon node code to accept multiple endpoints, and if the first URL fails, fallback to the second one.. Maintain a polling call to all endpoints for health checks. If they are healthy then recover to the first URL.
As of now this is handled outside the application level which can be on NGINX / proxies. But its best to move this to application code.
Lighthouse has this now 馃憤
An optional for those looking is dshackle. However, the eth_chainId function is broken in the latest release (v0.8.3) and a fix is pending release.
Lighthouse recently added this feature on v.1.0.1. Would be really nice to have :D
I've really considered moving to lighthous because of that. that's a really useful and easy and reasonable feature.
thanks for the community.
I agree it would be a good thing, but you have several of options
NGINX and/or HAProxy won't fail over unless the node is completely unavailable, it doesn't do any real health check on the state of the node. dshackle is a better option, but that's relying on a 3rd party dependency and it has it's own issues here and there, but it's probably the best option for now.
I'll wait. I believe the next release will include this MR.
Oh wait, is it @rkapka ?
I will be working on this today, should be ready by v1.05. With mainnet launch last week, there were other more pressing issues to deal with but I am now free to pursue this today.
I will be working on this today, should be ready by v1.05. With mainnet launch last week, there were other more pressing issues to deal with but I am now free to pursue this today.
new hero
Alright PR is up in #8062, if everything goes well you guys can expect it in v1.0.5
Alright feature has been merged in, so you all will see this in v1.05 next week.
Most helpful comment
Alright PR is up in #8062, if everything goes well you guys can expect it in v1.0.5