I run into this issue quite frequently. I'll try to connect to Realms and it won't connect. Tried restarting the client. Eventually, it will connect after dozens of attempts.
Comments 2
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
What are the exact messages that appear when it fails to connect?