This error can often be caused by a problem with the network connection. In this case, you can use VPN to just log in to your Riot Client account to play games.