Chrome/Brave: Metamask stopped connecting to websites

I use MetaMask on Brave (aka Chrome), and it used to work just fine. I left browser opened for the night (as usually), tried to connect to few websites that used to work. Some websites connects but some doesn’t: Aave, KyberSwap to name a few.

On “connect a wallet” popup, after clicking Browser wallet I get Error connecting. Try refreshing the page.

And in Javascript console there is plenty of:

Uncatched error:  Error: Invariant failed
    at i (_app-fc8f73d6f47154b5.js:124:65519)
    at b (_app-fc8f73d6f47154b5.js:124:67511)
    at _app-fc8f73d6f47154b5.js:124:68179

and

This method is deprecated and will be remove soon, implement `request` method instead
deprecated @ inpage.bb889182.js:1
(anonymous) @ inpage.bb889182.js:1
(anonymous) @ inpage.bb889182.js:1
m @ inpage.bb889182.js:1
enable @ inpage.bb889182.js:1
(anonymous) @ _app-fc8f73d6f47154b5.js:124
f @ _app-fc8f73d6f47154b5.js:124
(anonymous) @ _app-fc8f73d6f47154b5.js:124
t @ _app-fc8f73d6f47154b5.js:124
Promise.then (async)
n.getAccount @ _app-fc8f73d6f47154b5.js:124
n @ _app-fc8f73d6f47154b5.js:124
w @ _app-fc8f73d6f47154b5.js:124
(anonymous) @ _app-fc8f73d6f47154b5.js:124
Promise.then (async)
(anonymous) @ _app-fc8f73d6f47154b5.js:124
y @ _app-fc8f73d6f47154b5.js:124
(anonymous) @ _app-fc8f73d6f47154b5.js:124
(anonymous) @ _app-fc8f73d6f47154b5.js:124
s @ main-37e08f82b0681cde.js:1
(anonymous) @ main-37e08f82b0681cde.js:1
forEach.e.<computed> @ main-37e08f82b0681cde.js:1
r @ _app-fc8f73d6f47154b5.js:124
s @ _app-fc8f73d6f47154b5.js:124
(anonymous) @ _app-fc8f73d6f47154b5.js:124
(anonymous) @ _app-fc8f73d6f47154b5.js:124
(anonymous) @ _app-fc8f73d6f47154b5.js:124
onClick @ _app-fc8f73d6f47154b5.js:124
$e @ framework-79bce4a3a540b080.js:1
Ye @ framework-79bce4a3a540b080.js:1
(anonymous) @ framework-79bce4a3a540b080.js:1
Nr @ framework-79bce4a3a540b080.js:1
Tr @ framework-79bce4a3a540b080.js:1
(anonymous) @ framework-79bce4a3a540b080.js:1
Ie @ framework-79bce4a3a540b080.js:1
(anonymous) @ framework-79bce4a3a540b080.js:1
Fr @ framework-79bce4a3a540b080.js:1
Jt @ framework-79bce4a3a540b080.js:1
Zt @ framework-79bce4a3a540b080.js:1
t.unstable_runWithPriority @ framework-79bce4a3a540b080.js:1
Ql @ framework-79bce4a3a540b080.js:1
Me @ framework-79bce4a3a540b080.js:1
Xt @ framework-79bce4a3a540b080.js:1
inpage.bb889182.js:1 response from request id null
inpage.bb889182.js:1 response from request id null

I reinstalled it, imported my wallet, but the problem persists.

edit: When switched to Incognito window, I can connect with these websites but outside incognito still no go.


edit:
I think I sorted it.
There was a conflict between wallets. Fin wallet somehow got prioretized by daaps even though it couldn’t handle networks. I had to disable it so MetaMask can connect.
Is there a way to set MetaMask as priority wallet on Brave/Chrome?

3 Likes

Other wallet extensions can interfere with MetaMask connecting to a dapp, so the best way is to disable other extensions if you are having troubles connecting. There is no way to set it as priority but there was a recent EIP implemented for this issue that hopefully more dapps will start to implement https://support.metamask.io/hc/en-us/articles/20220399729435-Connecting-to-dapps-with-EIP-6963-multi-wallet-discovery

2 Likes

Thanks a lot for update, I couldn’t connect MetaMask to any site also, but now I disabled Fin and everything is fine

This topic was automatically closed after 30 days. New replies are no longer allowed.