Re: bitcoind not responding to RPC

Weird I guess fopen() in php dies if the response is 500?

It seems like errors such as invalid address should just be normal replies just not “sent” so we can just check the reply string. I think of 500 errors as the server itself having an error.

Can anyone confirm if JSON-RPC over HTTP is supposed to use status 500 if the reply is an error reply?  I can’t remember where I picked that up, maybe it’s wrong.  It seems like 200 would make more sense unless there’s something wrong with the mechanics of the HTTP request itself.  (and maybe that’s what it said and I forgot and spread 500 to all error responses)

22,462 total views, 5 views today

https://bitcointalk.org/index.php?topic=548.msg5419#msg5419