trufflesuite / drizzle-legacy

Reactive Ethereum datastore for dapp UIs.
http://truffleframework.com/docs/drizzle/getting-started
MIT License
502 stars 129 forks source link

Trouble connecting to localhost through metamask #119

Closed MarkGeeRomano closed 6 years ago

MarkGeeRomano commented 6 years ago

I have a blockchain instance running at 8545. When I switch MM to use "Private Network", RPC calls from my dapp are throwing. MetaMask - RPC Error: Internal JSON-RPC error.

I loaded an account generated from ganache-cli into mm, and the correct balance is rendering, so I know mm is properly connecting, but for some reason, the drizzle => mm => localhost communication is failing.

Temp fix is just removing mm. Drizzle falls back to 8545 and passes that value as the provider into web3.

MarkGeeRomano commented 6 years ago

After resetting and redeploying a few times, got it working.