Hello, Captain! There was an issue with our server. Fortunately, we've fixed it fast enough, and now the game should work correctly.
FYI: if you get a 502 error, that means something goes wrong on our server side. It's better to contact Support in such cases.