Author

Topic: JSONRPC Exception 200 OK from server (Read 155 times)

legendary
Activity: 3766
Merit: 1364
Armory Developer
December 01, 2017, 09:03:23 AM
#2
You're probably receiving an empty reply from the server.
newbie
Activity: 3
Merit: 0
December 01, 2017, 04:28:54 AM
#1
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
Jump to: