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

Add workaround to update_sapling_tree for a lightwalletd behind a load balancer #111

Closed
str4d opened this issue Feb 27, 2020 · 0 comments
Closed

Comments

@str4d
Copy link
Contributor

str4d commented Feb 27, 2020

The update_sapling_tree binary uses the grpc crate, which in turn uses the httpbis crate to make connections. The currently hard-coded host is lightwalletd.z.cash, which has (I assume) recently been configured to use a load balancer instead of a single IP address. However, httpbis cannot handle a domain name that resolves to multiple IP addresses, and returns an error (stepancheg/rust-http2#7).

The workaround is to perform DNS resolution ourselves, select one of the IPs, and then use that IP specifically.

@str4d str4d changed the title Add workaround to update_sapling_tree for a lightwalletd behind a loda balancer Add workaround to update_sapling_tree for a lightwalletd behind a load balancer Feb 27, 2020
@gmale gmale closed this as completed in c3de2df Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant