Make sure your internet is stable and no VPN or proxy is blocking the connection. In the launcher, open Settings → Verify Client Cache to repair any missing or corrupted game files. If that still doesn't help, reinstall the launcher from the website.