Re: bitcoind not responding to RPC

Occasionally bitcoind will not respond to RPC I’m calling it from php and I get this error:

Warning: fopen(http://127.0.0.1:8332) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error

It happens a lot locally on my windows machine and less frequently on my linux server.

Anyone else have this problem?

If I recall correctly, 500 is the prescribed status code for JSON-RPC error responses.  There is still a JSON response in the body of the reply telling the explanation of the error, which could be something like {“result”:””,”error”:”bitcoin address not found”,”id”:”1″}.

38,305 total views, 22 views today

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