V0.5.3ppc-beta internal server error


#21

Thank you. problem solved.


#22

I hate to dig up old posts, but in the age of Google, there are times where those posts rank high and future readers need to be set straight…

[quote=“hrobeers, post:7, topic:3871”]“500 Internal Server Error” is an http error code […link board will not let me quote…].
So that is not coming from the RPC server.

It seems that you are using some kind of http proxy.
Are you sure that one connects to the correct rpc port?
What happens if you telnet the rpc port?[/quote]
Wrong…
github.com/ppcoin/ppcoin/blob/master/src/bitcoinrpc.cpp#L3227

const char *cStatus; if (nStatus == 200) cStatus = "OK"; else if (nStatus == 400) cStatus = "Bad Request"; else if (nStatus == 403) cStatus = "Forbidden"; else if (nStatus == 404) cStatus = "Not Found"; else if (nStatus == 500) cStatus = "Internal Server Error"; else cStatus = ""; return strprintf( "HTTP/1.1 %d %s\r\n" "Date: %s\r\n" "Connection: close\r\n" "Content-Length: %d\r\n" "Content-Type: application/json\r\n" "Server: ppcoin-json-rpc/%s\r\n" "\r\n" "%s", nStatus, cStatus, rfc1123Time().c_str(), strMsg.size(), FormatFullVersion().c_str(), strMsg.c_str());