Multichain Explorer shutting down automatically

+2 votes

Hi Multichain,

We have set up the Multichain Explorer for our multichains so as to view the list of transactions happening on the nodes.

So actually we have two chains i.e. Chain1 and Chain2 so Multichain Explorer is running for both the chains on different ports i.e.

Chain1 running on Port 2750 and Chain2 running on Port 2751.

But My point of Concern or the issue which I am facing here is : 

I Launched the Explorer but am seeing that Explorer is shutting down automatically for both the chains.

So It is like for the first time both the ports are up and I am able to see the Explorer for both the chains but after some time when Page again loads or refreshes, Multichain explorer is not Loading instead I am getting the error message : "TCP_Error o timeout" and Explorer window will not Load.

And when I am switching to the Command prompt , command for running the multichain i.e.

nohup python -m Mce.abe --config chain1.conf &  
---- This command is aborting and exiting that means it is not launching the Multichain Explorer on the browser.

Can you please suggest on the above mentioned Issue ?

Just wanted to Add, that When I am changing the Port of the Multichain Explorer , it works for sometime but again the explorer dies.

P.S The setup is on AWS Cloud Linux Machine and We have two chains Chain1 and Chain2 for which the explorer is setup and every chain has three nodes and every node is running on its Admin node for both the Chain1 and Chain2.

Appreciate your help on this issue !

Thanks in Advance.

asked May 10, 2018 by ss_developer

1 Answer

0 votes
 
Best answer

Try looking in the nohup.out file that is generated by nohup, to see what is being output to the command line when the Explorer quits. Or run it outside of nohup for a while and see what message it shows.

answered May 13, 2018 by MultiChain
selected May 15, 2018 by ss_developer
As you have mentioned I ran the explorer outside nohup and I am getting the error : "Address already in use".

So I tried to reset the explorer by:

1. Deleting the sqllite file.
2. running the below commands:
python -m Mce.abe --config testChain.conf --commit-bytes 100000 --no-serve
and
nohup python -m Mce.abe --config testChain.conf &

also I changed the port to 2751 in testChain.conf file.

After all this when I did --
ps -eaf | grep testChain

I am able to see that the explorer is running ...
But when I open the browser, it is not opening and giving me this error message :

"Network Error (tcp_error)

A communication error occurred: "Connection refused"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time."

Can you please suggest on the above issue?

Thanks in Advance!!
...