Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7897 closed defect (duplicate)

OperationalError: (2005, "Unknown MySQL server host 'db.dojotoolkit.com' (3)")

Reported by: dwrobertson Owned by: anonymous
Priority: high Milestone: tbd
Component: Operations Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

I am trying to report a bug related to 7801. I've been getting this for several days now.

How to Reproduce

While doing a GET operation on /newticket, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

System Information

Trac 0.11b2
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)
[GCC 4.2.1 (SUSE Linux)]
setuptools 0.6c3
MySQL server: "5.0.45-log", client: "5.0.45", thread-safe: 0
MySQLdb 1.2.1_p2
Genshi 0.6dev-r895
mod_python 3.3.1
Subversion 1.4.4 (r25188)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 419, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 196, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/ticket/web_ui.py", line 158, in process_request
    return self._process_newticket_request(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/ticket/web_ui.py", line 350, in _process_newticket_request
    get_reporter_id(req, 'author')
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/util/__init__.py", line 45, in get_reporter_id
    if req.authname != 'anonymous':
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/api.py", line 168, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 130, in authenticate
    authname = authenticator.authenticate(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/auth.py", line 70, in authenticate
    authname = self._get_name_for_cookie(req, req.incookie['trac_auth'])
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/auth.py", line 180, in _get_name_for_cookie
    db = self.env.get_db_cnx()
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/env.py", line 250, in get_db_cnx
    return DatabaseManager(self).get_connection()
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/api.py", line 76, in get_connection
    return self._cnx_pool.get_cnx(self.timeout or None)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/pool.py", line 101, in get_cnx
    cnx = self._connector.get_connection(**self._kwargs)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/mysql_backend.py", line 53, in get_connection
    cnx = MySQLConnection(path, user, password, host, port, params)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/mysql_backend.py", line 169, in __init__
    host=host, port=port, charset='utf8')
  File "/usr/lib/python2.5/site-packages/MySQLdb/__init__.py", line 75, in Connect
    return Connection(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/MySQLdb/connections.py", line 164, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (2005, "Unknown MySQL server host 'db.dojotoolkit.com' (3)")

Change History (2)

comment:1 Changed 11 years ago by Adam Peller

Component: GeneralOps
Resolution: duplicate
Status: newclosed

Dup of #7655, which does seem to be ongoing, but intermittent

comment:2 Changed 11 years ago by Adam Peller

heh, I got one of these as I filed that comment.

Note: See TracTickets for help on using tickets.