Re: MySQL server has gone away 104 Error
The full error I see on the program side is
2020/02/14 - 12:45:03,867 ERROR [SQLAudit] [log] error writing log message: OperationalError('(pymysql.err.OperationalError) (2006, "MySQL server has gone away (error(104, \'Connection reset by peer\'))")',)
raise err.OperationalError(2006, "MySQL server has gone away (%r)" % (e,))
OperationalError: (pymysql.err.OperationalError) (2006, "MySQL server has gone away (error(104, 'Connection reset by peer'))") [SQL: u'INSERT INTO audit (timestamp, signature, action, success, serial, tokentype, user, realm, administrator, action_detail, info, server, client, log_level, clearance_level) VALUES (%(timestamp)s, %(signature)s, %(action)s, %(success)s, %(serial)s, %(tokentype)s, %(user)s, %(realm)s, %(administrator)s, %(action_detail)s, %(info)s, %(server)s, %(client)s, %(log_level)s, %(clearance_level)s)'] [parameters: {'info': u'', 'administrator': u'', 'realm': u'domain', 'tokentype': u'SHA', 'success': u'1', 'timestamp': u'2020-02-14 12:45:03.866268', 'server': u'servername', 'client': u'1.1.19.28', 'user': u'username', 'clearance_level': 0, 'signature': u'', 'action': u'validate/simplecheck', 'log_level': u'INFO', 'serial': u'SNSLSFFSFSFSF', 'action_detail': u"user u'username'@u'domain' successfully authenticated."}]