We got this error (using gmail from Firefox) when our Avast Pro license expired (actually, I had renewed it but somehow not reactivated the account). After getting the newly renewed activation code installed in Avast, the error message stopped popping up.