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

Large genesis makes node crash #6706

Closed
RiccardoM opened this issue Jul 13, 2021 · 3 comments
Closed

Large genesis makes node crash #6706

RiccardoM opened this issue Jul 13, 2021 · 3 comments
Assignees

Comments

@RiccardoM
Copy link
Contributor

Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source):
v0.34.11

ABCI app (name for built-in, URL for self-written if it's publicly available):
Cosmos SDK v0.42.7

What happened:
Querying a large genesis file (~ 60 MB) makes the node crash with the following error:

failed to read response body: http: unexpected EOF reading trailer

What you expected to happen:
The genesis is returned properly.

Anything else we need to know:
The node outputs

ERR failed to write responses err="write tcp 65.21.152.138:26657->185.23.87.234:42626: i/o timeout" module=rpc-server res=[

Then it prints the whole genesis file and halts.

@cmwaters
Copy link
Contributor

cmwaters commented Jul 13, 2021

Thanks for writing up the issue. @marbar3778 also reported a similar issue (#6354) when trying to query a large genesis. We decided to resolve the issue of the timeouts by introducing a new rpc endpoint which chunks the genesis (#6445). This will be introduced in v0.35.

@RiccardoM
Copy link
Contributor Author

@cmwaters Thanks. Is it possible to backport this to the v0.34.x series?

@cmwaters
Copy link
Contributor

Yup we can try look into doing that

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

4 participants