1

when going on to the remix IDE, i get the error

No injected Web3 provider found. Make sure your provider (e.g. MetaMask) is active and running (when recently activated you may have to reload the page).

after trying to switch the environment on Remix IDE from JavaScript VM to injected web3. I tried using a http connection as well and it didnt work. I am trying to inject web3 into remix IDE using MetaMask and I cannot switch my environment to injected web3 because of the error I mentioned above. All help is appreacited, thank you.

ANSWER:

Once I switched to FireFox the web3 was injected. The web3 only worked on firefox

6
  • Are you logged into Metamask? Did you reload the page as indicated? In Metamask's settings/Connections check if remix.ethereum.org is authorized, if not try "Remove all sites" to clear previously authorized/unauthorized sites.
    – Ismael
    May 25 '20 at 5:20
  • yes logged into MetaMask, reloaded the page, and also added remix.ethereum.org as authorized, and removed all sites and added it back and it still didn't work.
    – Taner
    May 26 '20 at 18:37
  • It is a strange behavior, try another browser. For me it works without issues on latest firefox (76). If problem persist you should report to Metamask's developers in their github repo.
    – Ismael
    May 27 '20 at 13:19
  • thank you, once I switched to FireFox the web3 was injected. I'll make a comment on MetaMask's repo.
    – Taner
    Jun 1 '20 at 21:05
  • Sometimes it is enough to change https into http in Remix's URL.
    – Badr Bellaj
    Feb 1 '21 at 11:42
0

I have faced a similar issue. Using HTTP instead of https solved. hape this might help.

0

I am also facing a similar kind of problem when I am injected web3 on remix ide. if you want to solve this problem you must be active on your metamask account before injecting web3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.