Sonar: Dockerized testrpc throws `Invalid JSON RPC response: ""`

Running the pre-deployed Sonar contract via the openmined/sonar-testrpc:edge docker image this error keeps showing up on several peoples machines. It works for some time but then suddenly the testrpc process does not respond anymore.

Things to help debug this problem:

  • curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":73}' localhost:8545
    • should return a JSON response e.g. {"id":73,"jsonrpc":"2.0","result":"0x4A817C800"}
    • returns curl: (52) Empty reply from server if the container is misbehaving

System:

  • macOS 10.12.6
  • docker 17.06.0-ce-mac18 (18433)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (12 by maintainers)

Most upvoted comments

One thing that could prove useful in figuring out the root cause of the issue would be to add the debug flag when running testrpc. I’m getting on that now.

yeah, since testRPC has been removed this is not an issue anymore.