These errors are caused by unstable internet connection or absence of any connections at all. Please, reconnect to the Internet.
If you use a router, please restart it.
Connection stability also depends on the load of your internet provider's bandwidth.
Please also check if your antivirus or firewal are blocking the game's launcher. Add the game to the exception list of your antivirus or firewall.