-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
debug_traceBlockByHash in parallel -> "Empty reply from server" #22915
Comments
Hmm that's weird. I tried to reproduce but can't.
I can't find the hash that you're looking for on etherscan either: https://etherscan.io/tx/0x34990bd2e00b5cba332051402675e4c19793851d7c26436751b1572bac951bf3 |
This is the block: https://etherscan.io/block/0x34990bd2e00b5cba332051402675e4c19793851d7c26436751b1572bac951bf3 I'm using debug_traceBlockByHash, not debug_traceBlockByNumber. The choice of block might matter. |
I have a similar issue here #22869. I found that debug_traceBlockByHash fails on transactions that use large amounts of gas. Might be related |
@jayuuza yeah, that looks similar. We have seen empty replies from single requests, especially on ropsten. BTW, while debugging this, I noticed many missing error checks in calls to codec.writeJSON/conn.writeJSON(). We are almost certainly triggering one of these cases. We spent some time debugging and this code path seems suspicious, but I don't know yet what's going on. We are running a custom geth build with extra debug info every time writeJSON fails. I'll report back if we find out what error code path is being triggered. |
Duplicate of #21430 |
Fixed via #25457 |
System information
Geth version:
v1.10.3
OS & Version: Linux
Commit hash : (if
develop
)Expected behaviour
Geth gracefully traces the same block in parallel or blocks one of the trace requests and sequentially traces the same block.
Actual behaviour
Geth returns nothing (not even hearders) when tracing the same block in parallel
Steps to reproduce the behaviour
curl http://localhost:8545 -d '{"jsonrpc": "2.0", "id": "3", "method": "debug_traceBlockByHash", "params": ["0x34990bd2e00b5cba332051402675e4c19793851d7c26436751b1572bac951bf3", {"disableMemory":true, "disableStack":true, "disableStorage":true, "fullStorage":false, "timeout":"120s", "tracer": "callTracer"}]}' -H 'Content-type: application/json' -v | wc
Backtrace
n/a
The text was updated successfully, but these errors were encountered: