Multichain web demo Error: HTTP 0

+2 votes
I am setting  multichain web demo with following enviornment

i am having two ubuntu servers

Server 1 :IP xxx.xxx.xxx. 110 (aws) (Status of sudo ufw status inactive)

 I also added rpcallowip= ip address of server 2  with /255.255.255.255 (xxx.xxx.xxx.xxx/255.255.255.255)  in multichain.conf

Server 2 xxxx.xxx.xxx. (azure) (Status of sudo ufw status inactive) - This has multichainWebdmo and phpinfo() indicates curl is enabled

both the server are on network which allows any to any traffic

I am setting multichain webdemo on server 2

config.txt file on server 2

default.name=holex                   # name to display in the web interface
default.rpchost= xxx.xxx.xxx.110              # IP address of MultiChain node
default.rpcport=4420                  # usually default-rpc-port from params.dat f server-1
default.rpcuser=multichainrpc          # username for RPC from multichain.conf from server 1
default.rpcpassword=

When i run the multichain demo it gives HTTP 0 error.  How do i resolve this error

Thanks you
asked Sep 5, 2019 by blocktech
edited Sep 5, 2019 by blocktech

1 Answer

0 votes

There could be a number of causes:

  • Maybe you need to restart the node on server 1 after adding the rpcallowip line to its configuration.
  • Maybe you have the wrong port number for the rpcport (don't confuse with the p2p port).
  • Maybe there is a software firewall on server 1 preventing incoming connections on the RPC port.
Note also that for an individual IP address in rpcallowip you can just include that IP address without the /255.255.255.255 suffix.
answered Sep 6, 2019 by MultiChain
...