Univention Bugzilla – Bug 40496
AppCenter makes pkgdb crash with pg.OperationalError: SSL error: tlsv1 alert protocol version
Last modified: 2019-01-03 07:21:28 CET
Doesn't happen with apt-get, aptitude or univention-install, but with univention-app {install, remove}: # univention-app remove self-service [..] Traceback (most recent call last): File "/usr/sbin/univention-pkgdb-scan", line 37, in <module> univention.pkgdb.main() File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 577, in main return action_scan(connection, cursor, config_registry) File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 482, in action_scan scan_and_store_packages(cursor, sysname, fake_null) File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 417, in scan_and_store_packages cursor.execute(delete_packages, {'sysname': sysname, }) File "/usr/lib/python2.7/dist-packages/pgdb.py", line 259, in execute self.executemany(operation, (params,)) File "/usr/lib/python2.7/dist-packages/pgdb.py", line 291, in executemany raise OperationalError("internal error in '%s': %s" % (sql, err)) pg.OperationalError: internal error in ' DELETE FROM packages_on_systems WHERE sysname = 'Test35' ': SSL error: tlsv1 alert protocol version close failed in file object destructor: sys.excepthook is missing lost sys.stderr [..] The App gets installed/removed, but the pkgdb does not get updated.
Happened again: https://help.univention.com/t/6118/3
Happened again
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.