You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, when sending a raw transaction via our geth node, the call will hang for a very long time, and will end up returning nothing (web3.js: Error: Invalid JSON RPC response: ""), but the transaction will end up being propagated to the network (I suspect a connection timeout is the reason why the call returns empty).
The node is a fast sync node with gcmode=archive, the rpc endpoint is active:
There's no evidence of a delay in the logs, it just shows "Transaction submitted" after a while.
At first glance in the code, I don't understand where the delay comes from, as the call simply seems to add the Tx to a pool and enqueue the propagation.
Could this be due to syncing issues do to my node being slightly behind a times? Would a full node help?
Thanks.
System information
Geth version: 1.8.13-stable
OS & Version: Linux
Commit hash : 225171a
Expected behaviour
SendRawTx(tx) returns the transaction hash
Actual behaviour
SendRawTx(tx) returns empty
Steps to reproduce the behaviour
I can't actually reproduce this. It just happens sometimes.
The text was updated successfully, but these errors were encountered:
Perhaps high server load is causing the RPC timeout to be exceeded. You could confirm by upgrading
and then raising or disabling the timeout. #17240, #17219, #17088 may be relevant.
Hello,
Sometimes, when sending a raw transaction via our geth node, the call will hang for a very long time, and will end up returning nothing (
web3.js: Error: Invalid JSON RPC response: ""
), but the transaction will end up being propagated to the network (I suspect a connection timeout is the reason why the call returns empty).The node is a fast sync node with gcmode=archive, the rpc endpoint is active:
There's no evidence of a delay in the logs, it just shows "Transaction submitted" after a while.
At first glance in the code, I don't understand where the delay comes from, as the call simply seems to add the Tx to a pool and enqueue the propagation.
Could this be due to syncing issues do to my node being slightly behind a times? Would a full node help?
Thanks.
System information
Geth version:
1.8.13-stable
OS & Version: Linux
Commit hash : 225171a
Expected behaviour
SendRawTx(tx) returns the transaction hash
Actual behaviour
SendRawTx(tx) returns empty
Steps to reproduce the behaviour
I can't actually reproduce this. It just happens sometimes.
The text was updated successfully, but these errors were encountered: