Univention Bugzilla – Bug 53670
univention-self-service-invitation: ConnectionError: ('Could not send request.', error(111, 'Connection refused'))
Last modified: 2022-03-08 09:46:28 CET
During upgrade from UCS@school 4.4 to UCS(@school) 5.0 the following traceback is logged. 11 times in /var/log/univention/management-console-module-passwordreset.log: https://jenkins.knut.univention.de:8181/job/UCSschool-5.0/job/Upgrade%20Singleserver/Config=s4,TestGroup=import3/ws/test/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 437, in authenticate_with_machine_account self.authenticate(username, password) File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 392, in authenticate return self.umc_auth(username, password) File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 502, in umc_auth return self.request('POST', 'auth', data) File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 532, in request return self.send(request) File "/usr/lib/python2.7/dist-packages/univention/lib/umc.py", line 557, in send raise ConnectionError('Could not send request.', reason=exc) univention.lib.umc.ConnectionError: ('Could not send request.', error(111, 'Connection refused'))
ucs-test (10.0.6-28) 31774e04f858 | Bug #53670: ignore traceback
Also during inital join/installation: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 555, in send response = self.__request(request) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 587, in __request con.request(request.method, uri, request.get_body(), headers=request.headers) File "/usr/lib/python3.7/http/client.py", line 1260, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1306, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1255, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1030, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 970, in send self.connect() File "/usr/lib/python3.7/http/client.py", line 1423, in connect server_hostname=server_hostname) File "/usr/lib/python3.7/ssl.py", line 412, in wrap_socket session=session File "/usr/lib/python3.7/ssl.py", line 853, in _create self.do_handshake() File "/usr/lib/python3.7/ssl.py", line 1117, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056) During handling of the above exception, another exception occurred: 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/python3/dist-packages/univention/lib/umc.py", line 437, in authenticate_with_machine_account self.authenticate(username, password) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 392, in authenticate return self.umc_auth(username, password) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 502, in umc_auth return self.request('POST', 'auth', data) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 532, in request return self.send(request) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 557, in send raise ConnectionError('Could not send request.', reason=exc) univention.lib.umc.ConnectionError: ('Could not send request.', SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)')) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 555, in send response = self.__request(request) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 587, in __request con.request(request.method, uri, request.get_body(), headers=request.headers) File "/usr/lib/python3.7/http/client.py", line 1260, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1306, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1255, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1030, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 970, in send self.connect() File "/usr/lib/python3.7/http/client.py", line 1415, in connect super().connect() File "/usr/lib/python3.7/http/client.py", line 942, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.7/socket.py", line 727, in create_connection raise err File "/usr/lib/python3.7/socket.py", line 716, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: 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/python3/dist-packages/univention/lib/umc.py", line 437, in authenticate_with_machine_account self.authenticate(username, password) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 392, in authenticate return self.umc_auth(username, password) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 502, in umc_auth return self.request('POST', 'auth', data) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 532, in request return self.send(request) File "/usr/lib/python3/dist-packages/univention/lib/umc.py", line 557, in send raise ConnectionError('Could not send request.', reason=exc) univention.lib.umc.ConnectionError: ('Could not send request.', ConnectionRefusedError(111, 'Connection refused'))
4ca067cde2 Bug #53670: [grep_traceback]: ignore traceback