Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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)

Change History (2)

comment:1 by Ryan J Ollos, 9 years ago

Resolution: cantfix
Status: newclosed

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

Last edited 9 years ago by Ryan J Ollos (previous) (diff)

comment:2 by anonymous, 9 years ago

This issue has been solved.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.