Explorer often no response

+2 votes
I installed & run explorer following README:

* python -m Mce.abe --config chain1.conf --commit-bytes 100000 --no-serve
* nohup python -m Mce.abe --config chain1.conf &

The explorer run very well. but often no response over a period of time. so I have to kill explorer process and remove sql file and rerun the explorer.

I check the nohup.out and find some error like:

* error: [Errno 104] Connection reset by peer

* error: [Errno 32] Broken pipe

* Exception happened during processing of request from ('61.151.178.170', 38796)

I check the node, it's ok for my application, and only explorer no response.

I find some solution in internet, someone suggest to use try ...except to avoid it, but I don't know where can I add the code. I guess this should be done in explorer source code.

I don't know whether there's bugs in explorer or some other reason.

Help me pls.

I check 2750 port : netstat -apn |grep 2750, and found too lots of CLOSE_WAIT, hope useful for the issue.

tcp        0      0 0.0.0.0:2750            0.0.0.0:*               LISTEN      23772/python    
tcp      209      0 172.16.249.12:2750      141.8.144.17:35012      CLOSE_WAIT  -               
tcp      209      0 172.16.249.12:2750      100.43.85.160:56202     CLOSE_WAIT  -               
..................................

tcp        0      0 172.16.249.12:2750      117.136.86.44:25351     ESTABLISHED 23772/python    
tcp      605      0 172.16.249.12:2750      202.100.35.27:9575      CLOSE_WAIT  -               
................................

tcp      209      0 172.16.249.12:2750      100.43.91.105:41016     CLOSE_WAIT  -               
tcp      258      0 172.16.249.12:2750      5.255.250.97:64988      CLOSE_WAIT  -               
tcp      209      0 172.16.249.12:2750      100.43.91.105:46932     CLOSE_WAIT  -
asked Apr 4, 2018 by ssls18years

1 Answer

0 votes
The most likely explanation is that it is taking the Explorer too long to load a certain page, and that is causing the client requesting the page to give up and close the connection.

Is there some consistent pattern in the types of pages requested from the Explorer that are causing this probkem?
answered Apr 5, 2018 by MultiChain
...