Bitcoin Forum
September 23, 2024, 08:53:33 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Uncaight exception "exception" ERROR, cant do getinfo  (Read 804 times)
williamj2543 (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

Get ready for PrimeDice Sig Campaign!


View Profile WWW
September 18, 2014, 02:15:21 AM
 #1

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

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
williamj2543 (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

Get ready for PrimeDice Sig Campaign!


View Profile WWW
September 18, 2014, 12:26:52 PM
 #2

Bump, 0.001 reward has been added to the fix for this

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
Miitch
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
September 18, 2014, 01:05:55 PM
 #3

Happy to help, I'll message you on Skype Smiley

The PHP RPC Client is a dog!

▇ ▇ ▇ ▇ ▇ ▇ ▇ ▇ ▇   COIN-SWEEPER
▇ ▇ ▇ ▇ ▇ ▇ ▇ ▇    Avoid Bombs Win BIG
▇ ▇ ▇ ▇ ▇ ▇ ▇ ▇   1% House Edge   ▇ ▇ ▇ ▇ ▇ ▇ ▇
Miitch
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
September 18, 2014, 01:09:37 PM
 #4

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?

▇ ▇ ▇ ▇ ▇ ▇ ▇ ▇ ▇   COIN-SWEEPER
▇ ▇ ▇ ▇ ▇ ▇ ▇ ▇    Avoid Bombs Win BIG
▇ ▇ ▇ ▇ ▇ ▇ ▇ ▇   1% House Edge   ▇ ▇ ▇ ▇ ▇ ▇ ▇
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!