In my case, this is a matter of static DNS. Mikrotik router has a static IP for upgrade.mikrotik.com, and its IP has changed recently from 54.192.217.80 to 54.230.62.145.
Just change this static address (IP > DNS > Static) and everything will be working again.