Bug 52166 - passwordreset/get_reset_methods: OperationalError: could not connect to server: Connection refused
passwordreset/get_reset_methods: OperationalError: could not connect to serve...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Password changes
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-09-30 16:12 CEST by Christian Castens
Modified: 2023-06-20 15:15 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020091221000091, 2023051221001037
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Castens univentionstaff 2020-09-30 16:12:56 CEST
Version: 4.4-5 errata725 (Blumenthal)

Error:
Internal server error during "passwordreset/get_reset_methods".
Request: passwordreset/get_reset_methods

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/protocol/modserver.py", line 198, in _recv
    self.handle(msg)
  File "%PY2.7%/univention/management/console/protocol/modserver.py", line 268, in handle
    six.reraise(self.__init_etype, self.__init_exc, self.__init_etraceback)
  File "%PY2.7%/univention/management/console/protocol/modserver.py", line 309, in handle
    self.__handler.init()
  File "%PY2.7%/univention/management/console/modules/passwordreset/__init__.py", line 231, in init
    self.db = TokenDB(MODULE)
  File "%PY2.7%/univention/management/console/modules/passwordreset/tokendb.py", line 53, in __init__
    self.conn = self.open_db()
  File "%PY2.7%/univention/management/console/modules/passwordreset/tokendb.py", line 120, in open_db
    db_name=DB_NAME, db_user=DB_USER, db_pw=password))
  File "%PY2.7%/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?

Role: domaincontroller_master
Comment 1 Maximilian Janßen univentionstaff 2023-06-20 15:15:03 CEST
Version: 4.4-9 errata1216 (Blumenthal)

Request: passwordreset/get_user_attributes_descriptions