Generally this happens if you don't have an internet connection, or if your internet/data connection is weak or intermittent.
Once or twice in the whole history of the game, our servers have actually gone down. When this happens unfortunately the only thing you can do is wait while the server techs fix the issue!