bitcoin core – “bitcoinrpc.authproxy.JSONRPCException: -342: non-JSON HTTP response with ‘401 Unauthorized’ from server”

0
103


I used the next code to connect with the bitcoin core consumer and encountered this error:
bitcoinrpc.authproxy.JSONRPCException: -342: non-JSON HTTP response with ‘401 Unauthorized’ from server

My configuration file: bitcoin.conf is written as follows:

server=1
rpcbind=”127.0.0.1″
rpcport=8332
rpcuser=”bitcoin”
rpcpassword=”J9JkYnPiXWqgRzg3vAA”

Could I ask what precipitated my code to report an error, and the way ought to I remedy this drawback?



Supply hyperlink

Leave a reply