Cannot access rpc after upgrading
dolgopolovwork opened this issue · 1 comments
dolgopolovwork commented
I cannot access rpc services after upgrade anymore. This is how I configured bitcoind:
d3-btc-node0:
image: kylemanna/bitcoind:latest
container_name: d3-btc-node0
ports:
- 8332:8332
- 8333:8333
- 18333:18333
- 18444:18444
entrypoint:
- bitcoind
- --rpcuser=test
- --rpcpassword=test
- --regtest=1
- --server=1
- --rpcallowip=::/0
- --rpcport=8332
Whenever I call bitcoin-cli --regtest generate 1
it answers with
error: couldn't connect to server: EOF reached (code 1)
(make sure server is running and you are connecting to the correct RPC port)
Before upgrade everything was ok. What is wrong?
kylemanna commented
This is a side-effect of the newer bitcoind release and not something I was aware of, but it is mentioned the change notes: https://bitcoin.org/en/release/v0.18.0#configuration-option-changes
Can also invoke with docker run --rm kylemanna/bitcoind --rpcbind=0.0.0.0