Request failed or timed out


I am new to Infura and was trying to send requests with curl. But almost every example request I choose from, fails with the message “{“jsonrpc”:“2.0”,“id”:1,“error”:{“code”:-32603,“message”:“request failed or timed out”}}”. The only request that works for me is “eth_chainid”. Below is a request I pasted from the documentation that should work but returns the mentioned error. Of course I changed my project id. What I am doing wrong? Thanks for your help in advance.

curl \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params": [],"id":1}'

I encounter the the same issue
Getting time out error
{“jsonrpc”:“2.0”,“id”:3912,“error”:{“code”:-32603,“message”:“request failed or timed out”}}

same error here when calling eth_getBalance,

➜ ~ curl
-H “Content-Type: application/json”
-d ‘{“jsonrpc”:“2.0”,“method”:“eth_getBalance”,“params”: [“0xA94b7A32a94b7eefCD590bb92845C4831e29B5Cf”, “latest”],“id”:12342399}’

{“jsonrpc”:“2.0”,“id”:12342399,“error”:{“code”:-32603,“message”:“request failed or timed out”}}

I was using Infura RPC core plan to check wallet balance, this was running very smooth for few months. However, 1 hour ago my server suddenly facing “request failed or timed out” error, what is the issue?

Hello, yes as the message above states, our underlying infrastructure is experiencing service outage for our Ethereum Mainnet API. Most of the Mainnet subservices are returning to normal at this moment. Please subscribe to to check the latest!

@Oost, @dorelb, @Shuo_Dai, @zijin222: The services are coming back online, can you please check on your side if everything works fine?
Note, the Archive requests are still offline and recovering.

yes the service is working now :+1:

1 Like