Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Error: Invalid JSON RPC response: "" #492

Closed
stiv-yakovenko opened this issue Jul 11, 2017 · 9 comments
Closed

Error: Invalid JSON RPC response: "" #492

stiv-yakovenko opened this issue Jul 11, 2017 · 9 comments

Comments

@stiv-yakovenko
Copy link

My config:

module.exports = {   networks: {
    development: {
      host: "localhost",
      port: 8545,
      network_id: "*" // Match any network id
    }   } };

My geth running on the same port:

C:\Users\steve\AppData\Roaming\Mist\binaries\Geth\unpacked\geth.exe --testnet --fast --ipcpath \\.\pipe\geth.ipc --rpccorsdomain * --rpcport 8545

I use Geth/v1.6.6-stable-10a45cb5/windows-amd64/go1.8.3

What's wrong?

@tcoulter
Copy link
Contributor

Hi there. This error message means Truffle cannot connect to your Ethereum client. There are many reasons for this. For yours, it looks like you need the --rpc option for geth as well as your other options.

We have a ticket currently being worked on that will make this error message better. Please see #489.

Cheers!

@stiv-yakovenko
Copy link
Author

dear tcoulter, your recipe was correct, --rpc was missing. thanx you!

@pascalfossouo
Copy link

Please where I should put the --rpc option ?I have the same problem

@pascalfossouo
Copy link

@stiv-yakovenko Please where I should put the --rpc option ?I have the same problem

@stiv-yakovenko
Copy link
Author

after geth.exe

@pascalfossouo
Copy link

@stiv-yakovenko I use ganache-cli on windows it's possible to do that ?

@stiv-yakovenko
Copy link
Author

I don't know what it is, ask its authors.

@prameshbajra
Copy link

I have this error in ganache. Did anyone experience similar error? How do I get it fixed?

@Pascal1990 did you get it resolved? If yes, how?

@pascalfossouo
Copy link

Hi, @prameshbajra do you have metamask on your browser and which app you tru to run, ganache is a node module

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

No branches or pull requests

4 participants