Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: datguys on March 12, 2014, 06:37:39 PM



Title: json rpc pass and username not working
Post by: datguys on March 12, 2014, 06:37:39 PM
I have the correct details for my bitcoind but when I put in the user/pass this comes up:


Quote
{"result":null,"error":{"code":-32700,"message":"Parse error"},"id":null}

But, I have my .conf like so:

Quote
rpcuser=rrjugju848ut8t4ng84hgkd
rpcpassword=48Q81fyIlB5895hr8n
server=1
rpcallowip=*

I'm using port 8332. I started bitcoin with: bitcoind -daemon


Title: Re: json rpc pass and username not working
Post by: datguys on March 13, 2014, 11:18:59 AM
bump


Title: Re: json rpc pass and username not working
Post by: Parliament on March 13, 2014, 11:58:30 AM
http://www.jsonrpc.org/specification#error_object (http://www.jsonrpc.org/specification#error_object)
Code:
Invalid JSON was received by the server.
An error occurred on the server while parsing the JSON text.

What command(s) are you running, exactly? After bitcoind -daemon.


Title: Re: json rpc pass and username not working
Post by: cp1 on March 15, 2014, 03:51:25 AM
What does this return:
bitcoind getinfo