jfm-so / piWallet

piWallet is an open source program developed by Johnathan Martin that allows almost anyone to setup an online web wallet for a cryptocurrency.
260 stars 310 forks source link

Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error in /var/www/html/test/jsonRPCClient.php on line 133 #97

Open jaimenurbina opened 4 years ago

jaimenurbina commented 4 years ago

hi i have this problem installing piwallet with btc

Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error in /var/www/html/test/jsonRPCClient.php on line 133

Fatal error: Uncaught Exception: Unable to connect to http://bitcoinrpc:Cp68nBkCAADKkskaKSskaDKdmSYLtLJ2020@127.0.0.1:8332/ in /var/www/html/test/jsonRPCClient.php:141 Stack trace: #0 /var/www/html/test/classes/Client.php(17): jsonRPCClient->__call('getbalance', Array) #1 /var/www/html/test/index.php(27): Client->getBalance('jaimen') #2 {main} thrown in /var/www/html/test/jsonRPCClient.php on line 141 My configuration in the bitcoin.conf is: rpcuser=bitcoinrpc rpcpassword=Cp68nBkCAADKkskaKSskaDKdmSYLtLJ listen=1 server=1 txindex=1 daemon=1 rpcallowip=127.0.0.1 enableaccounts=1 addresstype=legacy staking=0

working from the root console all the commands work perfectly for me

xcelr commented 3 years ago

Have the same problem with my altcoin,

Running 14.04 with PHP5

Config works and coin-cli getbalance command works. Any fix for this?