Bitcoin Forum
November 12, 2024, 12:18:45 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: JSONRPC Exception 200 OK from server  (Read 153 times)
nsaini (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
December 01, 2017, 09: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
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
December 01, 2017, 02:03:23 PM
 #2

You're probably receiving an empty reply from the server.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!