metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: RPC Error when switching network on 10.28.1

Open fmoyaj opened this issue 3 years ago • 41 comments

Describe the bug

I just updated to 10.28.1 and I get an error when trying to switch networks from various dapps, including app.aave.com. I am able to add the network, but if I have previously added the network and just try to switch to the network from the dapp the console shows the following message: RPC Error: networkConfigurationId [object Object] does not match a configured networkConfiguration

Steps to reproduce

  1. Install 10.28.1
  2. Go to app.aave.com testnet
  3. Go to a modal for a network that you aren't connected to (e.g. Fantom) and click on switch network. Add network by clicking "switch network".
  4. Switch back to another network (e.g. Ethereum mainnet) and repeat step 3. This time, aave will show a cannot switch network error, and you will see aforementioned error in the developer console.

Error messages or log output

RPC Error: networkConfigurationId [object Object] does not match a configured networkConfiguration

Version

10.28.1

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

fmoyaj avatar Apr 05 '23 02:04 fmoyaj

Having the same issue when trying to switch to the Localhost 8545 network.

yrnehli avatar Apr 05 '23 13:04 yrnehli

Yes,metoo,i wrote dapp fontend with Ethers.js,when call "wallet_switchEthereumChain" with chainId in Ethers.js as usual,It's always failed,but the old version is fine image

wiselyG avatar Apr 05 '23 14:04 wiselyG

same here

dev-johnny-gh avatar Apr 06 '23 01:04 dev-johnny-gh

I had the same problem, this looks unprofessional, please fix the bug.

cryptosunshine avatar Apr 06 '23 02:04 cryptosunshine

same here :(

waynechan-bw avatar Apr 06 '23 07:04 waynechan-bw

same here

pakwin9133 avatar Apr 06 '23 07:04 pakwin9133

same here 😡

elvis824 avatar Apr 06 '23 07:04 elvis824

same here, version 10.27.0 was working fine

MesProtocol avatar Apr 06 '23 07:04 MesProtocol

same here

hhh111 avatar Apr 06 '23 09:04 hhh111

Debugger our dapp for a long time and it turns out a bug of metamask. ToT

chendatony31 avatar Apr 06 '23 09:04 chendatony31

Great update guys, thank you so much

Piliponful avatar Apr 06 '23 12:04 Piliponful

same here

yulafezmesi avatar Apr 06 '23 12:04 yulafezmesi

thanks everyone

we have merged a fix for this and will include it in a patch release in the coming days

danjm avatar Apr 06 '23 15:04 danjm

@danjm Would really appreciate it if this gets released as soon as possible

MananTank avatar Apr 06 '23 19:04 MananTank

same here, but not everyone meets, i am confused about it

ghost avatar Apr 07 '23 11:04 ghost

wen

nautsimon avatar Apr 07 '23 16:04 nautsimon

Update dropped today and still no fix! the bug made it pretty much unusable if you have many chains added.

qFloppa avatar Apr 07 '23 20:04 qFloppa

I am also facing this issue, this started happening in the update on April 7th, for MetaMask extension on chrome v10.28.2.

sjunaiduk avatar Apr 08 '23 01:04 sjunaiduk

@mhm233 @sjunaiduk Can you give us more information about how you are experiencing this bug? Perhaps you could share some dapps you are using where this is happening? Or maybe you could open the chrome developer console and share any errors that you see?

danjm avatar Apr 08 '23 03:04 danjm

@mhm233 @sjunaiduk Can you give us more information about how you are experiencing this bug? Perhaps you could share some dapps you are using where this is happening? Or maybe you could open the chrome developer console and share any errors that you see?

Hey, I'm testing on a dapp on my local host, it isn't a public one but I imagine this would occur with any dapp when your wallet has been connected and you try to switch to a network other than Ethereum.

The error I see is what other users are sharing in this thread, when I get on my computer tomorrow I'll find a public dapp where you can reproduce the issue

sjunaiduk avatar Apr 08 '23 04:04 sjunaiduk