-
Notifications
You must be signed in to change notification settings - Fork 264
Closed as not planned
Labels
community-requestdocs updates requested by community or OP collectivedocs updates requested by community or OP collectivedeveloper-support-feedbackThis is feedback from devsup. These docs suggestions stem from solving developer pain.This is feedback from devsup. These docs suggestions stem from solving developer pain.documentationImprovements or additions to documentationImprovements or additions to documentationtroubleshootingsuggest new troubleshooting item or revise an existing itemsuggest new troubleshooting item or revise an existing item
Description
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
Labels
community-requestdocs updates requested by community or OP collectivedocs updates requested by community or OP collectivedeveloper-support-feedbackThis is feedback from devsup. These docs suggestions stem from solving developer pain.This is feedback from devsup. These docs suggestions stem from solving developer pain.documentationImprovements or additions to documentationImprovements or additions to documentationtroubleshootingsuggest new troubleshooting item or revise an existing itemsuggest new troubleshooting item or revise an existing item