Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container crashes on Ubuntu 18.04 #16

Open
jbroudou opened this issue Jun 21, 2019 · 2 comments
Open

Docker container crashes on Ubuntu 18.04 #16

jbroudou opened this issue Jun 21, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jbroudou
Copy link

Describe the bug

The ethstats-cli docker container crashes with an exit code of 1 after about 10 minutes of running the container.

Output from the last few lines of the log are as follows

2019-06-21 09:43:45.269 - INFO: Sending message on topic: "usage"
2019-06-21 09:43:45.270 - DEBUG: Sent message on "usage" with payload: {"hostCpuLoad":59.217877094972074,"hostMemTotal":16818675712,"hostMemUsed":16663748608,"hostNetRxSec":3429638.6336396323,"hostNetTxSec":74000.19976028765,"hostFsRxSec":0,"hostFsWxSec":0,"hostDiskRIOSec":0,"hostDiskWIOSec":0,"nodeCpuLoad":0,"nodeMemLoad":0,"clientCpuLoad":1.37,"clientMemLoad":0.2}
2019-06-21 09:43:45.282 - DEBUG: Data received for topic: "usageResponse"
2019-06-21 09:43:45.666 - DEBUG: Check connection
2019-06-21 09:43:48.410 - DEBUG: Check if receiving new blocks => last checked block: null, last received block: null
2019-06-21 09:43:48.410 - DEBUG: Check if receiving new sync blocks => last checked sync block: 0, last received block: 0
2019-06-21 09:43:48.410 - INFO: No new blocks received for more than 300 seconds.
2019-06-21 09:43:48.411 - INFO: Reinitializing app...
2019-06-21 09:43:48.411 - DEBUG: Stop client
2019-06-21 09:43:48.412 - WARNING: Connection closed with ethstats server
2019-06-21 09:43:48.412 - ERROR: Connection ended with ethstats server
2019-06-21 09:43:48.413 - INFO: Exited with code: 1, signal: undefined

The container was started with the command docker run -it --restart always --net host -v /opt/ethstats-cli/:/root/.config/configstore/ alethio/ethstats-cli --register --account-email system-support@OBSCURED --node-name eth1-node-inspectablock

Environment (please complete the following information):

  • Ubuntu 18.04
  • Parity 2.5.2-beta
@baxy
Copy link
Contributor

baxy commented Jun 21, 2019

Hi,

Based on your logs the app didn't received any new blocks from Parity. Because we had issues with the web3js package not receiving new blocks for various reasons we added a workaround to reinstatiate the connection to the node to fix the problem. But indeed it should not exit with the code error 1. Seems to be a bug. Will investigate more and fix it.

Thanks for your feedback.

@baxy baxy self-assigned this Jun 21, 2019
@baxy baxy added the bug Something isn't working label Jun 21, 2019
@hamid0785
Copy link

Thank you to all this community, you are very unique

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants