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

[BUG] - chain_get_block RPC call results in request error: deadline has elapsed #396

Open
devendran-m opened this issue Jan 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@devendran-m
Copy link

Environment : Devnet
Bug/Issue reported by: Ihor from MAKE

Bug:

  • The error occurs during rpc call with the method chain_get_block.
  • Error details: Key: Node request failure, data: "request for signed block has failed: request error: deadline has elapsed."
  • It consistently happens with chain_get_block, suggesting the error may not be related to request limits.
  • This issue occurs even when the system isn’t under a high load (e.g., during isolated requests).
  • Errors were observed after resuming data pulling from the updated Devnet.
  • The error happens after a chain_get_era_info_by_switch_block request, with timeouts occurring 2 seconds after the request.

Additional info by the reporter:

I have more information:
When we received that error we made only one request during that second (however look at the 2 second duration!)
In total it looks like we aren’t making more than 80 reqs/sec

image.png

image.png

I looked at a little bit bigger sample. The same pattern repeats:

    • Isolated chain_get_block request
    • That happens after a chain_get_era_info_by_switch_block requests
    • Timeouts after 2 seconds

It looks like the options are:

  1. Issue in chain_get_block itself
  2. Something related to chain_get_era_info_by_switch_block that causes the node (or the sidecar) to fail on the next request sometimes

This new sample has two errors that are 3 mins apart from each other, thus I don’t know if it can be related to an era end or something (I haven’t checked if there was an era end around that time on Devnet)

image.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant