You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "censored", line 197, in _get_response
raise JSONRPCException({
bitcoinrpc.authproxy.JSONRPCException: -342: non-JSON HTTP response with '401 Unauthorized' from server
The text was updated successfully, but these errors were encountered:
File "censored", line 197, in _get_response raise JSONRPCException({ bitcoinrpc.authproxy.JSONRPCException: -342: non-JSON HTTP response with '401 Unauthorized' from server
it looks like the daemon or wallet you are trying to connect to is not recognizing you.
please check the "~/.bitcoin/bitcoin.conf " and confirm you are using the correct values for "rpcuser", "rpcpassword", "rpcport"
also if you are attempting to connect to a wallet that is not on your localhost, make sure that the value for "rpcallowip" in your"~/.bitcoin/bitcoin.conf " is the same as the ip address that you are making the call from
rpcuser="YOURUSERNAME"
rpcpassword="YOURPASSWORD"
server=1
daemon=1
listen=1
rpcallowip=127.0.0.1 (if the daemon is on the same computer that you are making the call from, leave this as "127.0.0.1")
rpcallowip="IP OF_THE_PC_USING_THE_SCRIPT" (if the daemon is on a different computer that you are making the call from, change to the ip of the computer making the call.)
rpcport="RPCPORT"
File "censored", line 197, in _get_response
raise JSONRPCException({
bitcoinrpc.authproxy.JSONRPCException: -342: non-JSON HTTP response with '401 Unauthorized' from server
The text was updated successfully, but these errors were encountered: