Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Warning: fopen(http://[email protected]: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 this issue Jul 25, 2020 · 1 comment

Comments

@jaimenurbina
Copy link

hi i have this problem installing piwallet with btc

Warning: fopen(http://[email protected]: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:[email protected]: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
Copy link

xcelr commented Feb 21, 2021

Have the same problem with my altcoin,

Running 14.04 with PHP5

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants