Closed CyMule closed 1 year ago
Perhaps there's something you can add somewhere in the build process for docker (Sorry -- I don't know docker well enough to even know if this makes sense).
If there is a valid RPC endpoint available at 8545, it might return something like this:
{"jsonrpc":"2.0","id":1,"result":"1"}
Note: the "result" may be different than "1", so only check for error
when given this command:
curl -s -H "Content-Type: application/json" -d '{"method":"net_version","params":[],"id":1,"jsonrpc":"2.0"}' http://localhost:8545
A fix for this has been posted to the next release which will be pushed shortly.
There are no error messages indicating a failure to connect to your RPC.
With the example
.env
, without an RPC running onlocalhost:8545
, I did not receive any errors when starting the container.There should be an error message indicating the failure before the container exits.
.env