Error: HTTP 0 in web demo

+4 votes
Hi All,

 

I have configured multichain in OEL6.5. and i am able to access the multichain from multichain-cli , and from java api. but when i try it in Web demo i am getting

Error: HTTP 0
http://X.X.X.X:9222/.

I have configured config.txt and multichain.conf as per the links.

> cat multichain.conf

rpcuser=multichainrpc
rpcpassword=3LxfkPPgyY8yoEHf9Pe56TnG1b3PWLUp6ZYSp2uWb3MJ
rpcport=9222
rpcallowip=127.0.0.1

 

  > cat config.txt
default.name=Default                   # name to display in the web interface
default.rpchost=127.0.0.1              #Â IP address of MultiChain node
default.rpcport=9222                  # see rpc-port from chain parameters
default.rpcuser=multichainrpc          #Â username for RPC from multichain.conf
default.rpcpassword=3LxfkPPgyY8yoEHf9Pe56TnG1b3PWLUp6ZYSp2uWb3MJ                   #Â password for RPC from multichain.conf

 

Thanks,

Srivatsa Kashyap
asked Sep 22, 2017 by skashyap007

2 Answers

0 votes

Perhaps there is some setting in your PHP installation preventing external web requests from being made. Please take a look at your web server error_log file (or equivalent) to see if there is anything reported when this error occurs.

answered Sep 22, 2017 by MultiChain
0 votes
I have seen this error. You have to make sure that you have PHP 5.x + and php-curl is installed.
answered Oct 20, 2017 by Neeraj
...