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

ERRO cannot compute the time passed #1404

Closed
Rugbertl opened this issue Dec 19, 2019 · 5 comments
Closed

ERRO cannot compute the time passed #1404

Rugbertl opened this issue Dec 19, 2019 · 5 comments

Comments

@Rugbertl
Copy link

Describe the bug
After several hours of running smoothly. Node just stopped synching. See logs below.

Mandatory Information

  1. jcli 0.8.3 (HEAD-8f276c0, release, linux [x86_64]) - [rustc 1.39.0 (4560ea788 2019-11-04)]
  2. jormungandr 0.8.3 (HEAD-8f276c0, release, linux [x86_64]) - [rustc 1.39.0 (4560ea788 2019-11-04)]

To Reproduce
Steps to reproduce the behavior:

  1. Start stake pool
  2. Wait x hours
  3. Check state of node

Expected behavior
Node keeps synching.

Additional context
Dec 19 17:30:19.883 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 19 17:34:20.712 WARN response canceled by the processing task, request: PushHeaders, sub_task: server, task: network
Dec 19 17:52:13.445 WARN response canceled by the processing task, request: PushHeaders, sub_task: server, task: network
Dec 19 17:52:13.445 WARN response canceled by the processing task, request: PushHeaders, sub_task: server, task: network
Dec 19 17:57:19.883 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 19 17:58:19.883 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier

@Rugbertl
Copy link
Author

Just found on v0.8.4

Dec 19 21:44:13.494 WARN response canceled by the processing task, request: PushHeaders, sub_task: server, task: network
Dec 19 21:48:15.166 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 19 21:49:15.165 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 19 21:50:15.165 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier

@rinor
Copy link
Contributor

rinor commented Dec 20, 2019

ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier

This one is funny and weird. As far as I can tell the reason for this notification is related to some blocks produced from some pools that have the date in the future (according to your node). I have identifies at least 1 pool that produces blocks with date 2-3 minutes in the future. Probably that pool has the time wrong (on purpose or not). When that block hits your node and becomes your tip, the stuck_notifier tries to check the tome diff between your node local time and that block time, but since that block has a date in the future you see the message that second time provided, which is the time if the block, was later than self, which is the time of your node.

Now the story does not end here. There may be at least one other side effect caused by this kind of blocks, that affects the scheduled leader events that may cause that leader to not produce a block and be one of the cause for a message in your leader logs like:

reason: Not computing this schedule because of invalid state against the network blockchain

Please note that there are also legitimate cases that cause that message.

Update 2020-01-06: Not computing this schedule because of invalid state against the network blockchain should be already fixed in v0.8.5

@keynobase
Copy link

keynobase commented Dec 29, 2019

I also has this error :

Dec 29 20:43:09.571 WARN blockchain is not moving up, the last block was 122660 seconds ago, task: stuck_notifier

But the big problem is that my node stops receiving more hashses and I has to restart it.

version: jormungandr 0.8.5-3db0680

@rinor
Copy link
Contributor

rinor commented Jan 6, 2020

@Rugbertl is this still the case for v0.8.5? There are some changes made that should prevent this for happening frequently. Thank you

@rinor
Copy link
Contributor

rinor commented Jan 6, 2020

Please check also #1379 (comment). Will close this one for now, but please feel free to reopen/comment in case you encounter it again. Thank you.

@rinor rinor closed this as completed Jan 6, 2020
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

3 participants