When I try to connect to my bitcoind server with the username and password in my bitcoin.conf I get a 401 error.
When I set an username and password in the bitcoind parameters(bitcoind -rpcuser=... -rpcpassword=... -daemon
) it does work.
I also have prune in my config file. For some reason this does work. Also the rpcallow works fine. So it does read my config file?
When I add the -conf parameter with my config file I get this error:
Error reading configuration file: the options configuration file contains an invalid line '��
(I also can't read those last 2 characters)
I even get this error when the file is empty
Does someone know how I can fix this?
bitcoind -conf someconffile.conf | & hd
to see what those characters are in hex?export LC_ALL=en_US.UTF-8
.