'SASL authentication failed. Disconnect and shutdown.'

def _handle_fail(self, stanza):

    self.attempted_mechs.add(self.mech.name)
    log.info('Authentication    failed:    %s', stanza['condition'])
    self.xmpp.event('failed_auth', stanza, direct=True)
    self._send_auth()
    return True
