I had a similar issue twice with two different droplets. Rebooting the server helped in both cases.
Login to your DigitalOcean dashboard and access the droplet via the Console Access. If you’re able to login there, just enter the following command to reboot
If you cannot login, then use the Power Cycle button instead.
Hope this helps someone :)