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
Error: Header Rejected, too far in the future #15
Comments
If after the purge issue still persists it might be an issue with system time. Is their time synced and up to date? If it slides significantly in either direction it might result in this. |
Gotcha, I will test with user and verify clock is properly synced |
I have seen this error about some blocks from a specific user yesterday. I guess it is inevitable in production network, we just need to make sure it is caused by time de-sync and not bug in our code. |
Would it maybe be worth it to have the desktop farmer, and the CLI do a time sync check and just prompt the user if they are out of sync? Obviously, it's kind of out of scope to have the core protocol do this check, but we could integrate it with some supporting applications to make it easy for users to self resolve this issue, let me know your thoughts. |
I'm not aware of anyone else doing that, but I guess it might be useful 🤷♂️ Do you think we can close this for now? |
Error Code
Description
The user contacted me regarding their node crashing due to a power outage, when they reconnected there were no peers connected and their chain was behind the longest known chain.
As time progressed, in some cases the node would catch up; connect to 4 peers and work for about 1 min then fall back behind and drop all the peers again.
Expected Behavior
The node should catch up to the chain, and keep caught up.
furthermore, the node should not lose the peer connection.
Actual Behavior
The node would try to sync with other nodes and catch up for a moment, then fall far behind again.
Attempted Troubleshooting
We rebooted the machine, attempted to reconnect the node, and the issue persisted.
From here we purged the chain and attempted sync from Genysis. initially, it was syncing very effectively, but once it got to the longest chain the issue arose again.
General farmer usage
Steps to Reproduce
*This may be hard to replicate.
Your Environment
The text was updated successfully, but these errors were encountered: