Bug 47249 - Internal server error during "passwordreset/get_reset_methods".
Internal server error during "passwordreset/get_reset_methods".
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Password changes
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-26 17:14 CEST by Nico Gulden
Modified: 2021-05-14 16:34 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.051
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017111421000294, 2018051721000431, 2018062121000163
Bug group (optional): 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 Nico Gulden univentionstaff 2018-06-26 17:14:45 CEST
UCS Version: undefined

Internal server error during "passwordreset/get_reset_methods".
FATAL:  password authentication failed for user "selfservice"
OperationalError: FATAL:  password authentication failed for user "selfservice"
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164, in connect
    db_name=DB_NAME, db_user=DB_USER, db_pw=password))
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/passwordreset/tokendb.py", line 120, in open_db

    self.conn = self.open_db()
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/passwordreset/tokendb.py", line 53, in __init__

    self.db = TokenDB(MODULE)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/passwordreset/__init__.py", line 214, in init

    self.__handler.init()
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 292, in handle
    self.handle(msg)
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 182, in _recv
Traceback (most recent call last):

Request: passwordreset/get_reset_methods
Internal server error during "passwordreset/get_reset_methods".
Comment 1 Johannes Keiser univentionstaff 2018-07-31 17:29:35 CEST
External feedback:
UCS Version: undefined

Internal server error during "passwordreset/get_reset_methods".

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 182, in _recv
    self.handle(msg)
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 292, in handle
    self.__handler.init()
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/passwordreset/__init__.py", line 214, in init
    self.db = TokenDB(MODULE)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/passwordreset/tokendb.py", line 53, in __init__
    self.conn = self.open_db()
  File "/usr/lib/pymodules/python2.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 "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: FATAL:  password authentication failed for user "selfservice"
FATAL:  password authentication failed for user "selfservice"
Comment 2 Johannes Keiser univentionstaff 2018-08-01 12:01:41 CEST
External feedback:
UCS Version: undefined

Remark: Ich habe versucht mich über https://**** anzumelden und dann das Passwort zu setzen. 
Leider scheint das ganze System aber überlastet zu sein.


Die Ausführung des Kommandos passwordreset/get_reset_methods ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 182, in _recv
    self.handle(msg)
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 292, in handle
    self.__handler.init()
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/passwordreset/__init__.py", line 212, in init
    self.db = TokenDB(MODULE)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/passwordreset/tokendb.py", line 53, in __init__
    self.conn = self.open_db()
  File "/usr/lib/pymodules/python2.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 "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: FATAL:  die verbleibenden Verbindungen sind für Superuser auf Nicht-Replikationsverbindungen reserviert
Comment 3 Ingo Steuwer univentionstaff 2021-05-14 15:42:18 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.