Univention Bugzilla – Bug 38053
UMC-Webserver: socket.error unhandled when authenticating
Last modified: 2020-11-27 18:04:34 CET
After playing around with the UMC-server (to fix some other bug) the following bug occurs when the UMC-server closes the connection during authentication: ( ERROR ) : Traceback in check_queue((<class '__main__.UMCP_Dispatcher'>,), {}): Traceback (most recent call last): File "/usr/sbin/univention-management-console-web-server", line 78, in new_f return f(*args, **kwargs) File "/usr/sbin/univention-management-console-web-server", line 308, in check_queue client.authenticate_user(queuerequest.request, queuerequest.response_queue) File "/usr/sbin/univention-management-console-web-server", line 162, in authenticate_user self.client.authenticate(request.body['username'], request.body['password'], request.body['new_password'], request.body['locale']) File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/client.py", line 361, in authenticate self.request(authRequest) File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/client.py", line 267, in request if self._resend(sock): File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/client.py", line 232, in _resend self.__realsocket.shutdown(socket.SHUT_RDWR) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 107] Transport endpoint is not connected
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 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.
Fixed by: Bug #38402: enhance error handling in client git-svn-id: svn+ssh://billy.knut.univention.de/var/univention/svn/dev/branches/ucs-4.1/ucs-4.1-0@63375 1b283449-9f2f-0410-b571-8eb228e1a901 Bug #38402: fix recursion error in the umcp client which allowed DoS by causing 100% CPU load git-svn-id: svn+ssh://billy.knut.univention.de/var/univention/svn/dev/branches/ucs-4.1/ucs-4.1-0@63249 1b283449-9f2f-0410-b571-8eb228e1a901 *** This bug has been marked as a duplicate of bug 38402 ***