Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mindsetter opened this issue Aug 22, 2024 · 8 comments
Assignees
Labels
bug Something isn't working hotfix

Comments

@Mindsetter
Copy link

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]
@quetool
Copy link
Collaborator

quetool commented Aug 22, 2024

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

@Mindsetter
Copy link
Author

Mindsetter commented Aug 22, 2024

@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

@geekbrother
Copy link

geekbrother commented Aug 22, 2024

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.

@quetool
Copy link
Collaborator

quetool commented Aug 22, 2024

@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

@Mindsetter
Copy link
Author

@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?

@quetool
Copy link
Collaborator

quetool commented Aug 22, 2024

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

@Mindsetter
Copy link
Author

@quetool Is showing the balance now. Thank you

@quetool
Copy link
Collaborator

quetool commented Aug 22, 2024

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

@quetool quetool added bug Something isn't working hotfix labels Aug 29, 2024
@quetool quetool self-assigned this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hotfix
Projects
None yet
Development

No branches or pull requests

3 participants