Author

Topic: Uncaight exception "exception" ERROR, cant do getinfo (Read 810 times)

full member
Activity: 126
Merit: 100
Essentially, assuming you're still in a dev environment, you want to open up the RPC Client:
/home/crypsizy/public_html/jsonRPCClient.php

Find line 152 (it should be something like "throw new Exception(blah blah)") and comment it out with // at the front. Assuming you have PHP Errors on you will get a more usable error message out of the RPC Client Smiley

If getinfo is failing it sounds like your connection isn't working properly, or maybe bitcoind isn't running. Do you have terminal access to the server by any chance?
full member
Activity: 126
Merit: 100
Happy to help, I'll message you on Skype Smiley

The PHP RPC Client is a dog!
hero member
Activity: 588
Merit: 500
Get ready for PrimeDice Sig Campaign!
Bump, 0.001 reward has been added to the fix for this
hero member
Activity: 588
Merit: 500
Get ready for PrimeDice Sig Campaign!
I am trying to connect to a Bitcoindark linux server, which is port forwarded, running, all ips allowed, I checked if the port was open on a site, and everything, but still I can't connect. Actually, it doesnt give an error on the connect line, and when I change the information on the connect line to wrong information, nothing changes. The error is given on the getinfo() line.
This is the error I get
Code:
Fatal error: Uncaught exception 'Exception' with message 'Incorrect response id (request id: 1, response id: )' in /home/crypsizy/public_html/jsonRPCClient.php:152 Stack trace: #0 /home/crypsizy/public_html/bitcoind.php(4): jsonRPCClient->__call('getinfo', Array) #1 /home/crypsizy/public_html/bitcoind.php(4): jsonRPCClient->getinfo() #2 {main} thrown in /home/crypsizy/public_html/jsonRPCClient.php on line 152
I can't tell if it connects or not, because it doesn't give an error if the connection line is wrong, and it doesnt show any error information.
Please help
Jump to: