Bug 53303 - TypeError: type object got multiple values for keyword argument 'Cookie'
TypeError: type object got multiple values for keyword argument 'Cookie'
Status: NEW
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-21 08:50 CEST by Florian Best
Modified: 2021-05-21 08:50 CEST (History)
0 users

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:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-05-21 08:50:22 CEST
In our own environment we have this traceback in the logs:

4 times in /var/log/univention/management-console-module-passwordreset.log:
Traceback (most recent call last):
  File "/usr/lib/univention-self-service-master/univention-self-service-invitation", line 127, in <module>
    inv = Invitation()
  File "/usr/lib/univention-self-service-master/univention-self-service-invitation", line 84, in __init__
    self.umc_client.authenticate_with_machine_account()
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 429, in authenticate_with_machine_account
    self.authenticate(username, password)
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 384, in authenticate                                                                                                                                                    
    return self.umc_auth(username, password)
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 494, in umc_auth
    return self.request('POST', 'auth', data)
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 528, in request
    self.reauthenticate()
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 391, in reauthenticate
    return self.authenticate(self.username, self.password)
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 384, in authenticate
    return self.umc_auth(username, password)
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 494, in umc_auth
    return self.request('POST', 'auth', data)
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 529, in request
    return self.send(request)
  File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 543, in send
    request.headers = dict(self._headers, Cookie=cookie, **request.headers)
TypeError: type object got multiple values for keyword argument 'Cookie'