'Failed to login: Invalid ip' when connecting to servers

For stuff like this, I always head over to the Mojang Portal. This way you know the information is authentic and current.

In this case, 18 minutes ago, in their twitter feed, they posted:

We’re working on fixing the issue people are currently experiencing with authentication - TM