The servers have been facing some difficulties lately.
If you're joining the correct server, and you fail to connect, type '/rec' a few times and you should be back to playing.
If that doesn't work, the majority of users is probably facing the same problem, and the best thing to do is to wait it out.