Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/pywsgi.py", line 508, in handle_one_response
self.run_application()
File "/usr/lib/python2.7/dist-packages/gevent/pywsgi.py", line 494, in run_application
self.result = self.application(self.environ, self.start_response)
File "/usr/local/lib/python2.7/dist-packages/Glastopf-3.1.3_dev-py2.7.egg/glastopf/wsgi_wrapper.py", line 49, in application
remote_addr, sensor_addr)
File "/usr/local/lib/python2.7/dist-packages/Glastopf-3.1.3_dev-py2.7.egg/glastopf/glastopf.py", line 274, in handle_request
self.profiler.handle_event(attack_event)
File "/usr/local/lib/python2.7/dist-packages/Glastopf-3.1.3_dev-py2.7.egg/glastopf/modules/processing/profiler.py", line 52, in handle_event
self.maindb.insert_profile(ip_profile)
File "/usr/local/lib/python2.7/dist-packages/Glastopf-3.1.3_dev-py2.7.egg/glastopf/modules/reporting/main/log_sql.py", line 53, in insert_profile
self.session.commit()
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 721, in commit
self.transaction.commit()
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 352, in commit
self._assert_active(prepared_ok=True)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 194, in _assert_active
% self._rollback_exception
InvalidRequestError: This Session's transaction has been rolled back due to a previous exception
during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original
exception was: (IntegrityError) UNIQUE constraint failed: ip_profiles.ip u'INSERT INTO ip_profiles
(ip, as_number, as_name, country_code, total_requests, total_scans, bgp_prefix,
requests_per_scan, avg_scan_duration, scan_time_period, last_event_time, comments) VALUES
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' ('xxx.xxx.xxx.xxx', '19318', 'NJIIX-AS-1 - NEW JERSEY
INTERNATIONAL INTERNET EXCHANGE LLC,US', 'US', 0, 0, '199.231.xxx.0/21', None, 1.0, 1.0,
None, None)
when you run nohup glastopf-runner &