-
Notifications
You must be signed in to change notification settings - Fork 121
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
Wallet Peak Handler thinks time is wrong? #375
Comments
Thanks for the report! @Artanicus please take a look when you get a chance. @bradyjarvis meanwhile, to disable the faulty monitoring of the wallet, you can add this (new) section to your
and temporarily remove the |
There's something really weird there since no TZ mismatch can cause a diff of 2 days, and if it's only intermittent it could be a parsing error. I'll troubleshoot deeper later today. |
Here's some extra debugging:
So there's at least a few things here:
I'll see if I can hunt down the error miscalculating the size of the diff. Once that works, we could in theory only raise a WARNING about the clock being in the future by a bit but not consider it a broken wallet. If you can confirm if the root cause was clock drift that would be great. |
I quadruple checked and my timezone is correct and I am running NTP. I used the new config.yaml and put in my settings. Disabled the wallet handler in one farm, but let it run on the other. Will keep you posted. |
I am also experiencing this issue, I think I noticed it after upgrading the chia client from the one built from source over to the one from the apt repository. Here are the relevant logs from my machine. I also have confirmed that my time is set correctly and node is fully synced as well.
|
I merged the fix from @Artanicus. Let me know if that fixes it. |
I updated both farmers last night and it is working so far. Thank you both! Edit: I should note I am seeing warnings, but they seem reasonable as far as time difference and I assume normal: [2023-05-03 01:17:49] [WARNING] Wallet peak is in the future, diff: -3s (wallet_peak_handler.py:49) [2023-05-03 01:17:52] [WARNING] Wallet peak is in the future, diff: -1s (wallet_peak_handler.py:49) [2023-05-03 01:45:40] |
Mine appears to have gotten better with the fix as well, however I am still seeing a ton of these warnings continually. The time offset is smaller, but still non-negligible. What is this time difference being calculated off of? I'd like to give as much help as I can. I am using NTP and my timezone is correct, as well as running
|
I am getting this warning message about a dozen times a day on both my farms with the latest build (v0.7.5-11-g814fd32)
[2023-02-22 08:29:33] [ WARNING] --- Wallet peak is in the future, diff: -1 day, 23:59:49.473000 (Are you sure your timezone is set correctly?) (wallet_peak_handler.py:49)
In the debug.log I see three entries for 08:29
2023-02-22T08:29:16.010 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3285647 timestamp: 1677076183
2023-02-22T08:29:27.931 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3285648 timestamp: 1677076183
2023-02-22T08:29:32.487 wallet chia.wallet.wallet_blockchain: INFO Peak set to: 3285649 timestamp: 1677076183
chia wallet show
looks fine and both wallets are synced. I triple checked my time zones and I have them set manually to CST.Environment:
The text was updated successfully, but these errors were encountered: