What can I do when getting 'Invalid session' error in Minecraft? [duplicate]

Today, out of the blue, I got an error saying:

Invalid session (try restarting your game and launcher).

Usually, I can just restart the game and the error will go away, but today I've been getting the error multiple times, even after logging out of the launcher, signing out and back in, and even reinstalling Minecraft, but nothing works.

What is causing this? How can I fix it?


The Minecraft Session Servers are down right now. The only thing you can do now is wait...