Error 101-0502 and the constant "Disconnected from Nintendo Network" screen when trying to go online in minecraft

No clue why this is happening but it is frequent (at least once daily) and is very frustrating when hosting my smp.

This page should help: