Modify ↓
      
#11897 closed defect (cantfix)
TimeoutError: Konnte nicht innerhalb von 0 Sekunden mit der Datenbank verbinden. (OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?)
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /wiki/help/howtos/common/newbie., Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'page': u'help/howtos/common/newbie'}
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
System Information
System information not available
Enabled Plugins
Plugin information not available
Python Traceback
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/wiki/web_ui.py", line 123, in process_request
    page = WikiPage(self.env, pagename)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/wiki/model.py", line 46, in __init__
    self._fetch(name, version, db)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/wiki/model.py", line 65, in _fetch
    self.env.db_query(sql, args):
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/db/api.py", line 121, in execute
    with self as db:
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/db/api.py", line 174, in __enter__
    db = self.dbmgr.get_connection(readonly=True)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/db/api.py", line 262, in get_connection
    db = self._cnx_pool.get_cnx(self.timeout or None)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/db/pool.py", line 213, in get_cnx
    return _backend.get_cnx(self._connector, self._kwargs, timeout)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.2dev_r0-py2.7.egg/trac/db/pool.py", line 134, in get_cnx
    raise TimeoutError(errmsg)
TimeoutError: Konnte nicht innerhalb von 0 Sekunden mit der Datenbank verbinden. (OperationalError: could not connect to server: Connection refused
	Is the server running on host "127.0.0.1" and accepting
	TCP/IP connections on port 5432?
)
      Attachments (0)
  Note:
 See   TracTickets
 for help on using tickets.
    


  
InstallationIssue. Your
[trac]database URI is probably incorrect. There are many duplicates:TimeoutError. More info on the TracEnvironment#DatabaseConnectionStrings page.