You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See message "Looks like you are on the wrong network...", CTA "Switch network"
4. Press "Switch network"
5. Extension popup opens
6. Leave it, don't close
7. Go back to https://app.arablefi.com/
8. Press CTA "Switch network" again
9. See code -32002 error
`{"code":-32002,"message":"Request of type 'wallet_addEthereumChain' already pending for origin https://app.arablefi.com. Please wait.","stack":"{\n \"code\": -32002,\n \"message\": \"Request of type 'wallet_addEthereumChain' already pending for origin https://app.arablefi.com. Please wait.\",\n \"stack\": \"Error: Request of type 'wallet_addEthereumChain' already pending for origin https://app.arablefi.com. Please wait.\\n at new i (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:148782)\\n at s (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:146325)\\n at Object.resourceUnavailable (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:147393)\\n at c._add (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-1.js:1:200253)\\n at c.addAndShowApprovalRequest (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-1.js:1:198515)\\n at implementation (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-2.js:7:320204)\"\n}\n at new i (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:148782)\n at s (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:146325)\n at Object.resourceUnavailable (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:147393)\n at c._add (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-1.js:1:200253)\n at c.addAndShowApprovalRequest (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-1.js:1:198515)\n at implementation (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-2.js:7:320204)"}`
Expected:
Either switch to the extension popup that's already open
Or give a human friendly message in the website interface instead of the still opened popup "Looks like you are on the wrong network...", CTA "Switch network"
The text was updated successfully, but these errors were encountered:
I think Avalance Fuji testnet wasn't added to my Metamask when I reported the issue. After that I added it from the chainlist.org, and the metamask stopped showing warnings and the issue doesn't occur anymore.
If you want to reproduce the issue, I'd try with a new browser/metamask extension (but maybe the issue is not that high in priority).
Steps to reproduce:
4. Press "Switch network" 5. Extension popup opens 6. Leave it, don't close 7. Go back to https://app.arablefi.com/ 8. Press CTA "Switch network" again 9. See code -32002 error `{"code":-32002,"message":"Request of type 'wallet_addEthereumChain' already pending for origin https://app.arablefi.com. Please wait.","stack":"{\n \"code\": -32002,\n \"message\": \"Request of type 'wallet_addEthereumChain' already pending for origin https://app.arablefi.com. Please wait.\",\n \"stack\": \"Error: Request of type 'wallet_addEthereumChain' already pending for origin https://app.arablefi.com. Please wait.\\n at new i (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:148782)\\n at s (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:146325)\\n at Object.resourceUnavailable (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:147393)\\n at c._add (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-1.js:1:200253)\\n at c.addAndShowApprovalRequest (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-1.js:1:198515)\\n at implementation (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-2.js:7:320204)\"\n}\n at new i (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:148782)\n at s (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:146325)\n at Object.resourceUnavailable (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/common-0.js:18:147393)\n at c._add (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-1.js:1:200253)\n at c.addAndShowApprovalRequest (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-1.js:1:198515)\n at implementation (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background-2.js:7:320204)"}`
Expected:
The text was updated successfully, but these errors were encountered: