Bitcoin Forum

Bitcoin => Armory => Topic started by: nsaini on December 01, 2017, 09:28:54 AM



Title: JSONRPC Exception 200 OK from server
Post by: nsaini on December 01, 2017, 09:28:54 AM
Hi,

I'm trying to connect to armoryd.py via bitcoinrpc. Here's my code:

from bitcoinrpc.authproxy import AuthServiceProxy
armory = AuthServiceProxy('http://username:password@localhost:8225')
print(armory.jsonrpc_help())

but I get an exception stating
'code': -342, 'message': 'non-JSON HTTP response with '200 OK' from server

I'm going nuts debugging it, what's the problem???

Thanks


Title: Re: JSONRPC Exception 200 OK from server
Post by: goatpig on December 01, 2017, 02:03:23 PM
You're probably receiving an empty reply from the server.