[prod][traceback] Error: OperationalError: (2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0")

RESOLVED WORKSFORME

Status

Input Graveyard
Backend
--
critical
RESOLVED WORKSFORME
6 years ago
a year ago

People

(Reporter: mbrandt, Unassigned)

Tracking

Details

(Whiteboard: [prod][traceback], URL)

(Reporter)

Description

6 years ago
wsgi.loaded': datetime.datetime(2012, 1, 10, 9, 11, 38, 194190)

Traceback (most recent call last):

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/core/handlers/base.py", line 178, in get_response
   response = middleware_method(request, response)

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/contrib/sessions/middleware.py", line 36, in process_response
   request.session.save()

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/contrib/sessions/backends/db.py", line 63, in save
   obj.save(force_insert=must_create, using=using)

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/db/models/base.py", line 460, in save
   self.save_base(using=using, force_insert=force_insert, force_update=force_update)

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/db/models/base.py", line 522, in save_base
   manager.using(using).filter(pk=pk_val).exists())):

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/db/models/query.py", line 496, in exists
   return self.query.has_results(using=self.db)

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/db/models/sql/query.py", line 424, in has_results
   return bool(compiler.execute_sql(SINGLE))

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/db/models/sql/compiler.py", line 734, in execute_sql
   cursor = self.connection.cursor()

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/db/backends/__init__.py", line 252, in cursor
   cursor = util.CursorWrapper(self._cursor(), self)

 File "/data/www/django/input.mozilla.com/reporter/vendor/src/django/django/db/backends/mysql/base.py", line 322, in _cursor
   self.connection = Database.connect(**kwargs)

 File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, in Connect
   return Connection(*args, **kwargs)

 File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 188, in __init__
   super(Connection, self).__init__(*args, **kwargs2)

OperationalError: (2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0")

Comment 1

5 years ago
Closing old traceback bugs on input. Please reopen if they still need to be dealt with.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
(Assignee)

Updated

a year ago
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.