Bitcoin Forum
June 23, 2024, 09:43:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: JSONRPC Exception 200 OK from server  (Read 141 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: 3682
Merit: 1347

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!