Skip to content

[DOCS] Add troubleshooting for RPC request timeouts #339

@sbvegan

Description

@sbvegan

Brief Description of the Docs Request

Sometimes RPC trace calls will timeout, attaching a timeout to the param request gives the node sufficient time to trace the block. Relevant RPC methods:

  • debug_traceCall
  • debug_traceTransaction
  • debug_traceBlockByNumber
  • debug_traceBlockByHash

Description of the Documentation You'd Like

Adding a troubleshooting guide or callout for transactions that are timing out.

Links to Related Pages

Additional Context

Sample request timing out:

$ curl <rpc-endpoint> -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceBlockByNumber","params":["0xB607A4", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'

> {"jsonrpc":"2.0","id":1,"result":[{"error":"execution timeout"}]}

Adding "timeout": 300s to the params gives the node sufficient time to trace the block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    community-requestdocs updates requested by community or OP collectivedeveloper-support-feedbackThis is feedback from devsup. These docs suggestions stem from solving developer pain.documentationImprovements or additions to documentationtroubleshootingsuggest new troubleshooting item or revise an existing item

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions