Report this

What is the reason for this report?

Wrong time for some seconds after reboot

Posted on December 9, 2020

We have a Ruby application that uses Time.now in order to get the current time (and sign some requests that are time-sensitive).

Every time that we reboot the droplet (Ubuntu 18.04 LTS) the time returned is completely wrong, but after some seconds (about 20 seconds) the time becomes correct again and then everything works as expected.

The problem is that for some seconds immediately after the reboot the time is wrong.

Why is this happening? How can we solve this? This seems a general issue on all droplets and not something specific to a single machine.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, collimarco

Could you please let me know if after a reboot only the ruby app is returning a wrong time or if you use date in the command line the returned time is also wrong?

Regards, Alex

Have you contacted the support team yet?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.