wealdtech/ethdo

[BUG] GET failed with status 429: {"message":"grpc: received message larger than max (70716954 vs. 4194304)

Closed this issue · 9 comments

When trying to generate an offline file, I get a 429 error with this command

./ethdo validator credentials set --prepare-offline --connection (eth2 beacon node:3500)

Update: this seems to be an issue with eth2 client...Posted there -- gRPC max receive size option needs to be set.

attestantio/go-eth2-client#44

mcdee commented

This is an option that needs to be set on the prysm beacon node.

mcdee commented

Try adding --rpc-max-page-size=200000 --grpc-max-msg-size=268435456 to your prysm beacon node.

mcdee commented

Either the restart didn't take place, or you are pointing to a different server, or perhaps your command line is incorrect (there are a couple of issues in the command line you pasted but they may be due to you changing some of the values).

ethdo talks to the beacon node's REST API. In prysm, the REST API is a frontend for their GRPC interface which is what is throwing the errors.

You can check prysm's command line with ps -elf | grep prysm and see if the updated parameters are there. You can also check the prysm log for Starting beacon chain with max RPC page size of 200000

mcdee commented

It shouldn't be taking that long to send the data, unless you're going over a low bandwidth connection. But you can increase the ethdo command timeout by adding --timeout=5m (which will take the timeout to 5 minutes).

That did it. Thanks again.