Describe the issue
When setting up the gui to connect through tor, bitcoin-cli commands fail to work if accessed through the Windows command prompt with a message about failing to get rpc credentials. This problem does not occur for me once I revert those settings.
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:
- Start bitcoin-qt on Windows 7, using a custom data directory.
- In settings > network, set proxy and tor checkboxes and connect through 127.0.0.1:9150 for both.
- While tor is running and there are active connections to the bitcoin network, attempt any bitcoin-cli command from the command prompt, for example bitcoin-cli help
Expected behaviour
Normally this would result in the help text for bitcoin-cli being displayed.
Actual behaviour
Instead, I receive this text: error: Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (C:\Users\user\AppData\Roaming\Bitcoin\bitcoin.conf)
Setting an rpcpassword value in bitcoin.conf yields: error: couldn't connect to server: EOF reached (code 1) (make sure server is running and you are connecting to the correct RPC port)
Server is set to 1.
What version of bitcoin-core are you using?
0.14.0 official binary
Any extra information that might be useful in the debugging process.
If needed I can provide a debug.log; I'm not sure if that would be valuable in this instance. Happy to provide any other information..