This one is not immediately obvious. Suddenly a connection that was working fine just stops and all that you get is a generic error message.
The fix however is simple. Just remove the following file from your home directory
That’s all there is to it. Thanks to the Ubuntu forums for the answer: