In order to fix that, please open the Windows Defender Firewall in your PC's settings, click Advanced Settings on the left panel, and add an Outbound rule for the game.
Additionally, this could also be caused due to temporary server incidents. If that is the case, try again after a short time.
If none of the above helped, please contact our support via this form.