Open RoboticMind opened 6 years ago
Just came across this myself. This happens to me when I don't specify username/password.
The solution that worked for me was to create username/password with the rpcauth.py script as described here: https://bitcoin.stackexchange.com/questions/46782/rpc-cookie-authentication
The python code must then use that username/password as described here: https://github.com/jgarzik/python-bitcoinrpc#example
It should look somewhat like this:
bitcoinrpc.authproxy.AuthServiceProxy("http://USERNAME:PASSWORD@127.0.0.1:8332")
On python 3.6 When I try to open any connection I get the error in the title on line 100 in the AuthServiceProxy: authpair = user + b':' + passwd