Univention Bugzilla – Bug 46376
DCMaster down: Loading UMC takes longer than 5, up to 35 seconds
Last modified: 2018-03-14 14:38:19 CET
When the DC Master in a domain is not reachable, logging into the UMC or even the portal on a DC Backup takes a very long time. Only an empty page is shown. As a user i would think that the UMC is broken. When analyzing the requests sent by the browser, the univention/get/session-info request is the culprit for the long wait. Only after it has been finished, the page content will load. Maybe the new attribute about user_groups is causing this issue?
It makes no difference if single sign-on is used or not
Note: session-info is mapped to session_info in the backend by cherrypy
getMachineConnection() connects by default to the ldap master. If no write connection is needed it can be called with ldap_master=False ''' getMachineConnection(ldap_master=False) ''' That might fix the problem
(In reply to Jürn Brodersen from comment #3) > getMachineConnection() connects by default to the ldap master. If no write > connection is needed it can be called with ldap_master=False > ''' > getMachineConnection(ldap_master=False) > ''' > > That might fix the problem Yes, good catch. Fixed: 86022fb2 https://git.knut.univention.de/univention/ucs/commit/86022fb2136a3a32c6577ce205cb6bbe99e2d1e4 univention-management-console (10.0.4-1) unstable; urgency=medium * By default, getMachineConnection connects to the DC master. This leads to timeouts if the DC master is not available (Bug #46376) Changelog: 02c334b5 https://git.knut.univention.de/univention/ucs/commit/02c334b59d04ef83ac5ec9a711b4b23ff96aefba
Works great.
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".