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

ethstats broken #2004

Closed
MysticRyuujin opened this issue May 24, 2021 · 3 comments
Closed

ethstats broken #2004

MysticRyuujin opened this issue May 24, 2021 · 3 comments

Comments

@MysticRyuujin
Copy link
Contributor

MysticRyuujin commented May 24, 2021

I don't know what commit caused this but as of the latest (or previous?) relase, ethstats client is no longer working with tg/rpcdaemon.

I don't know why, there are no errors, ethstats just never gets updated?
image

In the screenshot above:
Archive01 is on commit 1770beaf9b43dec46ac59a094ec63bc3db93b244 and that's the "oldest" node I have, so it broke somewhere before there, I guess?

root@archive01:~# pm2 logs 0
[TAILING] Tailing last 15 lines for [0] process (change the value with --lines option)
/root/.pm2/logs/ethstats-error-0.log last 15 lines:
0|ethstats | 2021-05-17 15:58 +00:00: [eth] ==> Got same block: 12452859
0|ethstats | 2021-05-18 08:22 +00:00: [wsc] =✘= Network connection is offline
0|ethstats | 2021-05-18 08:22 +00:00: [wsc] =✘= Socket connection has been closed
0|ethstats | 2021-05-18 08:22 +00:00: [wsc] =!= Reconnecting in 500 ms
0|ethstats | 2021-05-18 08:22 +00:00: [wsc] =!= This is attempt 1 out of 10
0|ethstats | 2021-05-18 08:22 +00:00: [eth] ==> Got same block: 12457267
0|ethstats | 2021-05-19 19:07 +00:00: [wsc] =✘= Network connection is offline
0|ethstats | 2021-05-19 19:07 +00:00: [wsc] =✘= Socket connection has been closed
0|ethstats | 2021-05-19 19:07 +00:00: [wsc] =!= Reconnecting in 500 ms
0|ethstats | 2021-05-19 19:07 +00:00: [wsc] =!= This is attempt 1 out of 10
0|ethstats | 2021-05-19 19:07 +00:00: [eth] ==> Got same block: 12466595
0|ethstats | 2021-05-24 01:37 +00:00: [sys] xxx Received kill signal, shutting down gracefully.
0|ethstats | 2021-05-24 01:37 +00:00: [wsc] =✘= Socket connection has been closed
0|ethstats | 2021-05-24 01:37 +00:00: [wsc] =✘= Socket connection end received
0|ethstats | 2021-05-24 01:37 +00:00: [eth] ==> Got same block: 12494132

/root/.pm2/logs/ethstats-out-0.log last 15 lines:
0|ethstats | 2021-05-24 13:42 +00:00:     uptime: 100
0|ethstats | 2021-05-24 13:42 +00:00:   }
0|ethstats | 2021-05-24 13:42 +00:00: }
0|ethstats | 2021-05-24 13:42 +00:00: [eth] =i= {
0|ethstats | 2021-05-24 13:42 +00:00:   id: 'archivenodeIoNode01🇨🇦',
0|ethstats | 2021-05-24 13:42 +00:00:   stats: {
0|ethstats | 2021-05-24 13:42 +00:00:     active: true,
0|ethstats | 2021-05-24 13:42 +00:00:     syncing: false,
0|ethstats | 2021-05-24 13:42 +00:00:     mining: false,
0|ethstats | 2021-05-24 13:42 +00:00:     hashrate: 0,
0|ethstats | 2021-05-24 13:42 +00:00:     peers: 25,
0|ethstats | 2021-05-24 13:42 +00:00:     gasPrice: '66000000000',
0|ethstats | 2021-05-24 13:42 +00:00:     uptime: 100
0|ethstats | 2021-05-24 13:42 +00:00:   }
0|ethstats | 2021-05-24 13:42 +00:00: }root@archive01:~# pm2 logs 0
[TAILING] Tailing last 15 lines for [0] process (change the value with --lines option)
/root/.pm2/logs/ethstats-error-0.log last 15 lines:
0|ethstats | 2021-05-17 15:58 +00:00: [eth] ==> Got same block: 12452859
0|ethstats | 2021-05-18 08:22 +00:00: [wsc] =✘= Network connection is offline
0|ethstats | 2021-05-18 08:22 +00:00: [wsc] =✘= Socket connection has been closed
0|ethstats | 2021-05-18 08:22 +00:00: [wsc] =!= Reconnecting in 500 ms
0|ethstats | 2021-05-18 08:22 +00:00: [wsc] =!= This is attempt 1 out of 10
0|ethstats | 2021-05-18 08:22 +00:00: [eth] ==> Got same block: 12457267
0|ethstats | 2021-05-19 19:07 +00:00: [wsc] =✘= Network connection is offline
0|ethstats | 2021-05-19 19:07 +00:00: [wsc] =✘= Socket connection has been closed
0|ethstats | 2021-05-19 19:07 +00:00: [wsc] =!= Reconnecting in 500 ms
0|ethstats | 2021-05-19 19:07 +00:00: [wsc] =!= This is attempt 1 out of 10
0|ethstats | 2021-05-19 19:07 +00:00: [eth] ==> Got same block: 12466595
0|ethstats | 2021-05-24 01:37 +00:00: [sys] xxx Received kill signal, shutting down gracefully.
0|ethstats | 2021-05-24 01:37 +00:00: [wsc] =✘= Socket connection has been closed
0|ethstats | 2021-05-24 01:37 +00:00: [wsc] =✘= Socket connection end received
0|ethstats | 2021-05-24 01:37 +00:00: [eth] ==> Got same block: 12494132

/root/.pm2/logs/ethstats-out-0.log last 15 lines:
0|ethstats | 2021-05-24 13:42 +00:00:     uptime: 100
0|ethstats | 2021-05-24 13:42 +00:00:   }
0|ethstats | 2021-05-24 13:42 +00:00: }
0|ethstats | 2021-05-24 13:42 +00:00: [eth] =i= {
0|ethstats | 2021-05-24 13:42 +00:00:   id: 'archivenodeIoNode01🇨🇦',
0|ethstats | 2021-05-24 13:42 +00:00:   stats: {
0|ethstats | 2021-05-24 13:42 +00:00:     active: true,
0|ethstats | 2021-05-24 13:42 +00:00:     syncing: false,
0|ethstats | 2021-05-24 13:42 +00:00:     mining: false,
0|ethstats | 2021-05-24 13:42 +00:00:     hashrate: 0,
0|ethstats | 2021-05-24 13:42 +00:00:     peers: 25,
0|ethstats | 2021-05-24 13:42 +00:00:     gasPrice: '66000000000',
0|ethstats | 2021-05-24 13:42 +00:00:     uptime: 100
0|ethstats | 2021-05-24 13:42 +00:00:   }
0|ethstats | 2021-05-24 13:42 +00:00: }
@MysticRyuujin
Copy link
Contributor Author

For what it's worth this still doesn't work. The behavior reported is still the same for the most part.

I tried off latest stable and the goerli ethstats-client repo, still busted.
image

@MysticRyuujin
Copy link
Contributor Author

Here's pm2 logs during startup:

0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth]     
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth]     NET STATS CLIENT
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth]     v0.1.1
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth]     
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth]     
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth] =i= Starting web3 connection
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth] =✓= Web3 connection established
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth] ==> Getting info
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth] =i= {
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   name: 'archivenode.io - node04',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   contact: '@MysticRyuujin',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   coinbase: null,
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   node: 'erigon/2022.04.2/linux-amd64/go1.17.9',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   net: '1',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   protocol: 66,
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   api: '0.15.3',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   port: '30304',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   os: 'linux',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   os_v: '5.4.0-107-generic',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   client: '0.1.1',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   canUpdateHistory: true
0|rpcdaemon  | 2022-04-16 13:10 -05:00: }
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [wsc] =i= Starting socket connection
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth] =✓= Installed chain filter
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth] =✓= Installed pending filter
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [wsc] =i= The socket connection has been opened.
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth]     Trying to login
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [wsc] =✓= The socket connection has been established.
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth] ==> Got same block: 14597910
0|rpcdaemon  | 2022-04-16 13:10 -05:00: [eth] =i= {
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   id: 'archivenodeIoNode04',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   stats: {
0|rpcdaemon  | 2022-04-16 13:10 -05:00:     active: true,
0|rpcdaemon  | 2022-04-16 13:10 -05:00:     syncing: false,
0|rpcdaemon  | 2022-04-16 13:10 -05:00:     mining: false,
0|rpcdaemon  | 2022-04-16 13:10 -05:00:     hashrate: 0,
0|rpcdaemon  | 2022-04-16 13:10 -05:00:     peers: 39,
0|rpcdaemon  | 2022-04-16 13:10 -05:00:     gasPrice: '31591802788',
0|rpcdaemon  | 2022-04-16 13:10 -05:00:     uptime: 100
0|rpcdaemon  | 2022-04-16 13:10 -05:00:   }
0|rpcdaemon  | 2022-04-16 13:10 -05:00: }
0|rpcdaemon  | 2022-04-16 13:12 -05:00: [eth] =i= {
0|rpcdaemon  | 2022-04-16 13:12 -05:00:   id: 'archivenodeIoNode04',
0|rpcdaemon  | 2022-04-16 13:12 -05:00:   stats: {
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     active: true,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     syncing: false,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     mining: false,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     hashrate: 0,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     peers: 38,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     gasPrice: '34696560828',
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     uptime: 100
0|rpcdaemon  | 2022-04-16 13:12 -05:00:   }
0|rpcdaemon  | 2022-04-16 13:12 -05:00: }
0|rpcdaemon  | 2022-04-16 13:12 -05:00: [eth] =i= {
0|rpcdaemon  | 2022-04-16 13:12 -05:00:   id: 'archivenodeIoNode04',
0|rpcdaemon  | 2022-04-16 13:12 -05:00:   stats: {
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     active: true,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     syncing: false,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     mining: false,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     hashrate: 0,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     peers: 38,
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     gasPrice: '38905616641',
0|rpcdaemon  | 2022-04-16 13:12 -05:00:     uptime: 100
0|rpcdaemon  | 2022-04-16 13:12 -05:00:   }
0|rpcdaemon  | 2022-04-16 13:12 -05:00: }

@mandrigin
Copy link
Contributor

@MysticRyuujin is it still broken? If so, please reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants