Closed PhantomTop closed 2 years ago
I would assume something is not working as expected in the RPC, that would be my first guess. It's unclear which code path inside graph-node
lead to the Trying again after block polling failed: 0xa031…de10
message.
Could you run with GRAPH_LOG=trace
to see more details.
The error string is as follows. Dec 26 21:27:34.562 WARN Trying again after eth_getBlockByNumber(0, false) RPC call failed (attempt #10) with result Err(RPC error: Error { code: ServerError(-32000), message: "rpc error: code = Unknown desc = panic message redacted to hide potentially sensitive system info: panic", data: None }
Caused by: Server error: rpc error: code = Unknown desc = panic message redacted to hide potentially sensitive system info: panic), provider: mainnet-rpc-0 Dec 26 21:27:35.305 WARN Trying again after eth_getBlockByNumber(0, false) RPC call failed (attempt #11) with result Err(RPC error: Error { code: ServerError(-32000), message: "rpc error: code = Unknown desc = panic message redacted to hide potentially sensitive system info: panic", data: None }
Caused by: Server error: rpc error: code = Unknown desc = panic message redacted to hide potentially sensitive system info: panic), provider: mainnet-rpc-0 Dec 26 21:27:36.994 WARN Trying again after eth_getBlockByNumber(0, false) RPC call failed (attempt #12) with result Err(RPC error: Error { code: ServerError(-32000), message: "rpc error: code = Unknown desc = panic message redacted to hide potentially sensitive system info: panic", data: None }
When I start cronos local node from the beginning, graph-node connecting to the local node works well. But after a few hours it doesn't connect to the cronos node. What's the reason?
@PhantomTop that looks like there is an issue with the Cronos RPC, responding to this RPC call:
curl --location --request POST 'https://evm-cronos.crypto.org' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc":"2.0",
"method":"eth_getBlockByNumber",
"params":[
"0",
false
],
"id":1
}'
If this issue is intermittent (as you say it only occurs after a few hours), then you may want to check with the RPC provider. Closing this issue as it appears to be an RPC issue. Thanks!
I think this is the graph-node bug for not handling cronos blockchain network.
I built graph-node source and tried to connect cronos rpc server. The command is as follows.
The result is as follows.
Help me, please.