This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
Closed
Description
Expected Behavior
When sending an RPC call to ganache I should get a valid response:
- Request:
curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' localhost:8545
- Expected Reply:
{"id":67,"jsonrpc":"2.0","result":"EthereumJS TestRPC/v2.1.5/ethereum-js"}
Current Behavior
curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' localhost:8545
returns:curl: (52) Empty reply from server
- I invoked a shell inside the docker container and the above curl command successfully returns:
{"id":67,"jsonrpc":"2.0","result":"EthereumJS TestRPC/v2.1.5/ethereum-js"}
Steps to Reproduce (for bugs)
- Tried on MacOs and Ubuntu
docker run --rm -it -p 8545:8545 trufflesuite/ganache-cli:latest
curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' localhost:8545
Context
Your Environment
- Version used: Ganache CLI v6.1.6 (ganache-core: 2.1.5)
- Version of Truffle/Remix/Other tools used: N/A
- NodeJS Version: [ ] 6.x, [ ] 7.x (unsupported), [ ] 8.x, [ ] 9.x: N/A
- Operating System and version (include distro if Linux): Fails on Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-116-generic x86_64) and MacOS 10.13.5
- Docker: Docker version 17.12.1-ce, build 7390fc6 (Ubuntu) and 18.03.1-ce-mac65 (24312)
Metadata
Assignees
Labels
No labels