Force NTP when starting bot #13
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The bot gives weird errors if the system time is very wrong. I only discovered this while trying to clone the repo again and it said the certificate expired.
It could print the current timestamp on startup so it is clear something is wrong.
I assume this is because the certificate of api.telegram.org is not valid when the system time is wrong. There is no way to force NTP especially without root permissions and i believe it's out of the scope. This said, reporting it at startup could be interesting.