Web3ModalFlutter icon indicating copy to clipboard operation
Web3ModalFlutter copied to clipboard

Failed to get request eth_getBalance. Requested eip155:11155111 chain provider is temporarily unavailable

Open Mindsetter opened this issue 1 year ago • 8 comments

Describe the bug I tried requesting for Ethereum Sepolia balance, but it shows an error.

Meaningful logs Failed to get request eth_getBalance. Requested eip155:11155111 chain provider is temporarily unavailable

  • Web3Modal Version [3.3.1]

Mindsetter avatar Aug 22 '24 00:08 Mindsetter

Hello @Mindsetter ! I'll report to blockchain devs, do you mind trying out latest version 3.3.3?

quetool avatar Aug 22 '24 10:08 quetool

@quetool Still not working after updating to 3.3.3

Logs Failed to get request eth_getBalance. Response: {"status":"FAILED","reasons":[{"field":"chainId","description":"Requested eip155:11155111 chain provider is temporarily unavailable"}]}, Status code: 503

Mindsetter avatar Aug 22 '24 10:08 Mindsetter

Hey @Mindsetter! Can you please share the RPC request? That's possible that the RPC request are bad and instead of HTTP 400 we are responding with the 503 chain x unavailable. We will fix the proper handling of this type of errors asap.

geekbrother avatar Aug 22 '24 10:08 geekbrother

@geekbrother blockchain API is queried from within Web3Modal SDK, we can investigate this together.

@Mindsetter ̶a̶n̶y̶ ̶c̶h̶a̶n̶c̶e̶ ̶y̶o̶u̶ ̶c̶a̶n̶ ̶t̶e̶l̶l̶ ̶u̶s̶ ̶t̶h̶e̶ ̶s̶e̶l̶e̶c̶t̶e̶d̶ ̶c̶h̶a̶i̶n̶ ̶w̶h̶e̶n̶ ̶t̶h̶i̶s̶ ̶i̶s̶ ̶h̶a̶p̶p̶e̶n̶i̶n̶g̶?̶ LOL, never mind, I see it's 11155111

quetool avatar Aug 22 '24 10:08 quetool

@quetool I can see that Web3Modal SDK, still not using the latest endpoint

Old https://ethereum-sepolia.publicnode.com

New https://ethereum-sepolia-rpc.publicnode.com

Can that be the reason?

Mindsetter avatar Aug 22 '24 10:08 Mindsetter

That's more a question to @geekbrother ...

Could you try this dependency in the meantime? Replace your web3modal_flutter: X.X.X with this:

  web3modal_flutter:
    git:
      url: https://github.com/WalletConnect/Web3ModalFlutter.git
      ref: 6dc34a32fa05926bee5e6436f7345c087bc79f0e

quetool avatar Aug 22 '24 11:08 quetool

@quetool Is showing the balance now. Thank you

Mindsetter avatar Aug 22 '24 11:08 Mindsetter

Wonderful! I'll release a patch version soon but you can use that for now.

quetool avatar Aug 22 '24 11:08 quetool