Firefox browser is able to connect with ganache and I am able to execute DAPP using browser. However, I am not able to connect with local geth client using web browser. Geth node is all ready up same as ganache. I am getting following error message on firefox -

Error: Invalid JSON RPC response: ""
  • 1
    are you using --rpccorsdomain flag when running Geth? – kherwa May 22 '18 at 7:18

I was missing --rpccorsdomain "*" flag while starting geth node. See This answer to understand importance of --rpccorsdomain flag

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.