Closed Meet-King closed 20 hours ago
Thank you for reaching out. What blockchain / network ID are you using for the request? If you can send an example dfx command and output, that would be helpful for us to reproduce the issue and understand what's happening.
I tried running eth_getBlockByNumber
on the IC and got the same error message as you. When running locally, I get the following message: Connecting to node.dobno30489dlkwmd.info failed: Failed to directly connect: error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
. Maybe this address is only accessible from your local machine?
The problem has been solved. The link of the node needs to support IPv6. Thank you for your reply
When I start evm_rpc canister on my local dfx, everything works fine for calling nonce and sending transactions. But after deploying on IC, the same JSON-RPC call to fetch the nonce returns the error mentioned above. Both local and IC configurations are identical, and the node is a custom private chain, which works fine on local.
Can anyone help me?