It's not when I connect to realms it's more of I can't access them at all. When I click play it says loading realms for a few seconds and then says something like "unable to connect to realms, we'll try again later." This hasn't happened to me before. Because of my PC and wifi, this is highly unlikely to be on my end.
That is the correct version