Univention Bugzilla – Bug 57345
Exam mode failes - ConnectionResetError: [Errno 104] - Connection to Veyon WebAPI Server (UCS@school Veyon Proxy) failed
Last modified: 2024-06-14 17:26:34 CEST
UCS: 5.0-6 errata904 Installed: cups=2.2.1 dhcp-server=12.0 prometheus-node-exporter=2.0.1 radius=5.0 samba4=4.16 self-service=5.0 squid=3.5 ucsschool=5.0 v4 4.4/ucsschool-veyon-proxy=4.7.4.14-0 Upgradable: In this case, Exam Mode is simply terminated or canceled due to a connection problem with the Veyon. This does not help in this case, as it is not clear to teachers in the UMC why it was canceled. Instead of throwing a traceback, I would like to see, for example, a pop-up in which the user decides whether to "try again", whereby this button only becomes clickable after x seconds. clickable or whether to continue without monitoring or whether to cancel. I also think that it should be left to the user to decide whether they want to continue without monitoring or whether the teacher wants to cancel. In this case, the module decides whether to cancel. 17.05.24 16:05:14.979 MODULE ( PROCESS ) : component:72 Vorbereiten der Raumeinstellungen 17.05.24 16:05:14.979 MODULE ( PROCESS ) : _thread:763 Acquire room: cn=XX-Testraum2,cn=raeume,cn=groups,ou=XX,dc=unterricht,dc=univention,dc=de 17.05.24 16:05:14.985 MODULE ( ERROR ) : Connection to Veyon WebAPI Server (UCS@school Veyon Proxy) failed. 17.05.24 16:05:14.987 MODULE ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 385, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 381, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.7/http/client.py", line 1356, in getresponse response.begin() File "/usr/lib/python3.7/http/client.py", line 319, in begin version, status, reason = self._read_status() File "/usr/lib/python3.7/http/client.py", line 280, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/lib/python3.7/socket.py", line 589, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 104] Die Verbindung wurde vom Kommunikationspartner zurückgesetzt During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 368, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3/dist-packages/six.py", line 692, in reraise raise value.with_traceback(tb) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 385, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 381, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.7/http/client.py", line 1356, in getresponse response.begin() File "/usr/lib/python3.7/http/client.py", line 319, in begin version, status, reason = self._read_status() File "/usr/lib/python3.7/http/client.py", line 280, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/lib/python3.7/socket.py", line 589, in readinto return self._sock.recv_into(b) urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Die Verbindung wurde vom Kommunikationspartner zurückgesetzt'))