sometimes I have the problem(Debian):
bitcoin-cli listtransactions
error: couldn't connect to server: EOF reached (code 1) (make sure server is running and you are connecting to the correct RPC port)
How can I fix it ?
sometimes I have the problem(Debian):
error: couldn't connect to server: EOF reached (code 1) (make sure server is running and you are connecting to the correct RPC port)
How can I fix it ?
This error happens when bitcoin-cli is unable to connect to the RPC server. Make sure the rpc server is running (bitcoind runs it automatically, with bitcoin-qt, you need the server=1 option in your bitcoin.conf file.
I have the same issue here, while the option server=1 is confirmed in bitcoin.conf file
I have the same problem
How do you edit the bitcoin-cli file?
We have a test machine with Windows 10 and we can confirm that the bug is present in Bitcoin Core 0.19.1 and Bitcoin Core 0.20.0.
Additionally, we know:
Note: We had Bitcoin Core 0.19.1 running, found the bug, tried to upgrade to avoid the bug but to no avail.
Maybe you didn't kill all bitcoind process.
so you can't start bitcoind with same port number since another bitcoind daemon is already running state
You can check it below command
$ netstat -tnlp
Kill them all.
ex) 30375/bitcoind
$ kill -9 [PID-of-bitcoind]
bitcoind$ pkill bitcoind
$ bitcoind --datadir=[path-of-data]
Normally, it takes several weeks until the bug presents itself.
Re-closing this. Without any concrete steps to reproduce this issue, I'm not sure there's anything we can do here.