-
Notifications
You must be signed in to change notification settings - Fork 132
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
Failure on block creation (invalid state against the network blockchain) #1379
Comments
Mon 16 Dec 2019 10:47:44 PM UTC |
You also see failed block creations? |
root@frugalmaster:~/frugalpool# ntpstat |
|
yes, two failed blocks |
I have three different machines running on ITN1 and they each detect the most recent anomaly at the same time +/- 59 sec via cron. Tue 17 Dec 2019 02:14:01 AM UTC I have another machine that is configured identically but running 0.8.2 Nightly without the anomalous behavior. |
Saw a similar issue
|
This seems to remedy the situation... "max_connections": 50, |
well not long after I said the max_connections solved the problem the node stopped making progress so that's not the root cause |
55% of epoch 3 done and I have 21 successfully created blocks, 6 failed of whitch 5 failed beause of error reported in this issue and one due to race condition I assume. I wont fill this github issue with more error logs but since yesterday morning (GMT+1) at 20:52 node has logged 99 of these: I made some changes to ntp deamon but doesn't seem to change the situation. Adding current node-config.yaml to issue:
|
I've had some success mitigating this problem by assigning different ports to the listen address and public address. |
I had the same problem in epoch 3, lost 4-5 blocks due to invalid state against the network blockchain |
Just wanted to jump in with a me too. I have not seen this error before and have been testing versions since the 0.6's. I too see many stuck notifier msg's in the logs and of course they start just before it is my pools time to set the block. I am using Windows and the max_connections config setting has not effect on the OS where it is set to 200 and I am currently at 550. |
I had the same issue, I was scheduled to produce 5.31066, I checked my node before the time and that what I saw
My block is still pending because it was too early to produce it, however, 5.31079 was already in the explorer, so it is not a fork as far as I can tell. My block got rejected with the same message as everyone in this thread |
Same issue here from time to time on 0.8.3: In the leader log:
In the node log: Dec 19 13:29:11.001 INFO Leader event started, event_remaining_time: 1s 998ms 821us 819ns, event_end: 2019-12-19T12:29:13+00:00, event_start: 2019-12-19T12:29:11+00:00, event_date: 5.31067, leader_id: 1, task: leadership Dec 19 13:29:11.001 WARN It appears the node is running a bit behind schedule, system time might be off?, event_remaining_time: 1s 998ms 821us 819ns, event_end: 2019-12-19T12:29:13+00:00, event_start: 2019-12-19T12:29:11+00:00, event_date: 5.31067, leader_id: 1, task: leadership. Any recommendations? Thank you. |
is this still relevant/happening in v0.8.5? |
Haven't faced it with 0.8.5 |
To few blocks for my pool to tell if it's still a problem 😪
Den mån 6 jan. 2020 16:16Jonne33 <[email protected]> skrev:
… Haven't faced it with 0.8.5
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1379?email_source=notifications&email_token=ADZKXDPJTDUENJWKFSHFA5LQ4OUT7A5CNFSM4J3R6T3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIG7IDY#issuecomment-571339791>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADZKXDKXLC3CJSY56NGK3Q3Q4OUT7ANCNFSM4J3R6T3A>
.
|
Thank you for the feedback. Regarding The same applies to @Scitz0 sorry about your block amount. Will close this one for now, but please feel free to reopen/comment in case you encounter it again. Thank you. |
I get it in 0.8.9 version |
Let's reopen this rather than splitting the discussion with #1689 |
Describe the bug
Got elected to create some blocks but on two occations it failed with reason:
"Not computing this schedule because of invalid state against the network blockchain"
See below for full output of the failed blocks.
Mandatory Information
jcli --full-version
output;jcli 0.8.2 (HEAD-fe327f9, release, linux [x86_64]) - [rustc 1.39.0 (4560ea788 2019-11-04)]
jormungandr --full-version
output;jormungandr 0.8.2 (HEAD-fe327f9, release, linux [x86_64]) - [rustc 1.39.0 (4560ea788 2019-11-04)]
To Reproduce
Unknown
Expected behavior
Successful block creation
Additional context
server synced with ntp deamon so should be in sync
Logs indicate a time issue though:
Dec 16 21:58:29.000 INFO Leader event started, event_remaining_time: 1s 999ms 688us 267ns, event_end: 2019-12-16T20:58:31+00:00, event_start: 2019-12-16T20:58:29+00:00, event_date: 3.3146, leader_id: 1, task: leadership
Dec 16 21:58:29.000 WARN It appears the node is running a bit behind schedule, system time might be off?, event_remaining_time: 1s 999ms 688us 267ns, event_end: 2019-12-16T20:58:31+00:00, event_start: 2019-12-16T20:58:29+00:00, event_date: 3.3146, leader_id: 1, task: leadership
Dec 16 21:58:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 22:16:55.000 INFO Leader event started, event_remaining_time: 1s 999ms 402us 235ns, event_end: 2019-12-16T21:16:57+00:00, event_start: 2019-12-16T21:16:55+00:00, event_date: 3.3699, leader_id: 1, task: leadership
Dec 16 22:16:55.000 WARN It appears the node is running a bit behind schedule, system time might be off?, event_remaining_time: 1s 999ms 402us 235ns, event_end: 2019-12-16T21:16:57+00:00, event_start: 2019-12-16T21:16:55+00:00, event_date: 3.3699, leader_id: 1, task: leadership
Searching through todays logs I can see the ERROR a couple of times during a 1,5h period.
Dec 16 20:52:29.997 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 20:53:29.998 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 20:54:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 20:55:29.999 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 20:56:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 21:55:29.998 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 21:56:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 21:57:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 21:58:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 22:15:29.998 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 22:16:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 22:17:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
Dec 16 22:18:29.996 ERRO cannot compute the time passed since the last block: second time provided was later than self, task: stuck_notifier
created_at_time: "2019-12-16T19:13:47.169638924+00:00"
enclave_leader_id: 1
finished_at_time: "2019-12-16T20:58:29.000338233+00:00"
scheduled_at_date: "3.3146"
scheduled_at_time: "2019-12-16T20:58:29+00:00"
status:
Rejected:
reason: Not computing this schedule because of invalid state against the network blockchain
wake_at_time: "2019-12-16T20:58:29.000296094+00:00"
created_at_time: "2019-12-16T19:13:47.169643472+00:00"
enclave_leader_id: 1
finished_at_time: "2019-12-16T21:16:55.000620608+00:00"
scheduled_at_date: "3.3699"
scheduled_at_time: "2019-12-16T21:16:55+00:00"
status:
Rejected:
reason: Not computing this schedule because of invalid state against the network blockchain
wake_at_time: "2019-12-16T21:16:55.000581795+00:00"
The text was updated successfully, but these errors were encountered: