ethstorage / es-node

Golang implementation of the EthStorage node.
Other
1.15k stars 77 forks source link

RPC timeout update #318

Closed syntrust closed 3 weeks ago

syntrust commented 4 weeks ago

Issue to address

While stored as blobs, some big web resources cannot be loaded thru the web3 gateway, which the console shows:

ERRO[2024-09-14 10:11:59] FetchUrl error: internal server error: Post "http://127.0.0.1:8545": context deadline exceeded  

root cause

The default timeout is too short so the es-node does not have enough time to make eth_esCall to es_geth.

solution

The solution is to extend the timeout.