-
Notifications
You must be signed in to change notification settings - Fork 57
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
Origin not able to connect to blockchain network using Metamask extension #642
Comments
Hello @RohitGupta027! Thanks for asking! For me What happens often though is if you kill Ganache and then start another instance, MetaMask caches some values about the previous one, and MetaMask doesn't work correctly with the new Ganache instance. The solution for that problem is simple: switch to other network in MetaMask (for example to main net) and then switch back to Localhost 8545. In case you have a different problem, check
Please let me know if this works for you. Also, take a close look and search for errors in logs - please post them here so I can assist you further. |
Hello @kuzirashi Thanks for a quick response. I have actually tried your solution to switch it to other networks but didn't work for me, I guess Metamask cache is the problem. However, running separated commands as you suggested works like a charm 👍 |
Hey @RohitGupta027 we are currently working on extensive documentation but it is all still a work in progress. To get a better idea about the project you can already check out: https://energyweb.atlassian.net/wiki/spaces/OD/overview The page will grow a lot, so keep checking it for more content. |
I believe the original issue has been solved. Feel free to open another issues if you encounter them. Thanks! |
@kuzirashi I tried to run all 4 commands in different tabs as you suggested but again started getting the same issue like earlier |
Based on the documentation, I was trying to bootstrap origin application (backend, frontend, ganache) on my machine using
yarn run:origin
. Application boots up without any errors but as long as I access URL http://localhost:3000/devices/production, Metamask extension asks to connect to Blockchain network which is running on http://localhost:8545/ (as a part of yarn run command)I have imported all the accounts on Metamask by providing seed phrase from ganache-cli running locally. But UI shows
Please check your blockchain network and connect to correct
and web console throws below errorCan you let me know which step am I missing here?
The text was updated successfully, but these errors were encountered: