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

frdrpcserver: update rpcserver-max-recv-size #201

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ronballesteros
Copy link
Contributor

@ronballesteros ronballesteros commented Dec 24, 2024

References:

Change(s):

The change for this PR increases the gRPC message size limit from 600MiB to 800MiB. Similar to the PR above, we encountered a ResourceExhausted error while running the NodeAudit report, particularly on nodes with a high number of on-chain transactions.

Exception: Unexpected response from Faraday API: {'code': 8, 'message': 'grpc: received message larger than max (630803848 vs. 629145600)', 'details': []}

This error could be due to the gRPC message size exceeding the current 600MiB limit. In LND, this limit is configurable and can be adjusted by the calling client, but Faraday currently lacks this configurability. This is a temporary fix, with issue 177 recommending a long-term solution involving the implementation of pagination for the calls.

The gRPC message size limit is being increased to 800 MiB to accommodate large payloads generated by specific use cases, such as transaction histories or detailed audit reports. Trying to strike a balance between supporting current operational needs and maintaining resource efficiency.

@ronballesteros
Copy link
Contributor Author

Hello, wanted to follow up on this PR to help us with our node audit reporting. While this is a temporary workaround, it's necessary for now until we can implement pagination calls. Please let me know if there's anything further needed to move this forward.

@guggero
Copy link
Member

guggero commented Jan 13, 2025

Can you please squash the existing commits into one and then add one that updates the lndclient dependency version to v0.17.4-8 which I just pushed with lightninglabs/lndclient#205 merged?

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

Successfully merging this pull request may close these issues.

2 participants