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

Connected accounts are not listed. #5432

Open
mooorex opened this issue Nov 27, 2024 · 6 comments
Open

Connected accounts are not listed. #5432

mooorex opened this issue Nov 27, 2024 · 6 comments

Comments

@mooorex
Copy link

mooorex commented Nov 27, 2024

Describe the bug
On the tab of Deploy & run transactions, when the environment is switched from others (e.g. Remix VM(Cancun), the default environment) to injected provider-metamask, if the injected provider is already connected, the account will not be listed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the tab of Deploy & run transactions
  2. Click on the Environment drop-down box and select Injected Provider - Metamask
  3. Connect Remix to the Injected provider - Metamask and see the account drop-down box is filled with connected accounts
  4. Click on the Environment drop-down box and select Remix VM(Cancun)
  5. Click on the Environment drop-down box and select Injected Provider - Metamask
  6. See error, the account drop-down box is blank

Expected behavior
the account drop-down box is filled with connected accounts.

Screenshots
problem-screenshot

Desktop (please complete the following information):

  • OS: MacOS 15.1
  • Browser: Chrome 131.0.6778.86 (Official Build) (arm64)
  • Metamask 12.7.2

Additional context
The problem does not exist on my Arch Linux operating system (kernel 6.12.1-arch1-1) equipped with chromium-131.0.6778.85-1.

@Aniket-Engg
Copy link
Collaborator

@mooorex I cannot reproduce the issue with shared 'steps to reproduce'.

Do you see it each time and every network? I mean is it a consistent issue?

@mooorex
Copy link
Author

mooorex commented Nov 29, 2024

@Aniket-Engg Yes, I can reproduce it every time no matter which network I use and I have serval Chrome profiles no matter which profiles I use. It seems that the Chrome DevTools didn't give much useful information.

But after you said this, I started a new Chrome profile, the Remix behaves normally with this new profile.

The difference between my existing Chrome profiles and the new one is that in addition to metamask, I also installed other extensions (including other wallets). Maybe that's the reason. I will check if this is the cause of the problem when I have time. Thanks very much.

@Aniket-Engg
Copy link
Collaborator

Sure. Thanks for the info 👍

@mooorex
Copy link
Author

mooorex commented Nov 29, 2024

Besides metamask, I installed another extension wallet, then the account list is empty.

If I turn off this "another extension wallet" in the page chrome://extensions/, the Remix works very well.

Then, the second extension wallet causes the trouble. @Aniket-Engg

@LianaHus
Copy link
Collaborator

LianaHus commented Dec 2, 2024

are you you you are allowing connection from wallet side?

@mooorex
Copy link
Author

mooorex commented Dec 4, 2024

Yes, as you see in the screenshot, Metamask already shows connected. @LianaHus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants