Bug 55978 - "zlib.error: Error -3 while decompressing data: invalid code lengths set" during logout with keycloak as IDP
"zlib.error: Error -3 while decompressing data: invalid code lengths set" dur...
Status: VERIFIED DUPLICATE of bug 43633
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-17 13:39 CEST by Felix Botner
Modified: 2023-06-22 16:02 CEST (History)
2 users (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:
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 Felix Botner univentionstaff 2023-04-17 13:39:03 CEST
If keycloak is used as umc/saml/idp-server, we get this error during logout in management-console-web-server.log.

Traceback (most recent call last):
  File "/usr/sbin/univention-management-console-web-server", line 1305, in slo
    is_logout_request = b'LogoutRequest' in data or b'LogoutRequest' in zlib.decompress(data, -15).split(b'>', 1)[0]
zlib.error: Error -3 while decompressing data: invalid code lengths set

data = b'<samlp:LogoutResponse xmlns...
binding = urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST

Logout seems to work though (logout from portal/UMC ok and keycloak).
Comment 1 Felix Botner univentionstaff 2023-04-17 13:49:01 CEST
Added traceback to ignore list (99_end/grep_traceback.py::COMMON_EXCEPTIONS - 90bb41cd4ed60425273865590d0500370287e3ef)

Please revert if bug is fixed.
Comment 2 Florian Best univentionstaff 2023-06-22 15:42:56 CEST
This was fixed along with Bug #43633.

*** This bug has been marked as a duplicate of bug 43633 ***
Comment 3 Felix Botner univentionstaff 2023-06-22 16:02:28 CEST
OK, works (no traceback in management-console-server.log), i removed the "workaround" in "99_end/grep_traceback.py"