Package: python3-defaults Version: 3.11.2-1 Severity: important Dear Maintainer, We are running salt-master on bookworm, using salt-api module. Occasionally it errors out with the following exception: ``` ENGINE socket.error 8 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/cheroot/server.py", line 1287, in communicate req.respond() File "/usr/lib/python3/dist-packages/cheroot/server.py", line 1077, in respond self.server.gateway(self).respond() File "/usr/lib/python3/dist-packages/cheroot/wsgi.py", line 139, in respond self.write(chunk) File "/usr/lib/python3/dist-packages/cheroot/wsgi.py", line 221, in write self.req.write(chunk) File "/usr/lib/python3/dist-packages/cheroot/server.py", line 1133, in write self.conn.wfile.write(chunk) File "/usr/lib/python3/dist-packages/cheroot/makefile.py", line 68, in write res = super().write(val, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/cheroot/makefile.py", line 24, in write self._flush_unlocked() File "/usr/lib/python3/dist-packages/cheroot/makefile.py", line 33, in _flush_unlocked n = self.raw.write(bytes(self._write_buf)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/socket.py", line 724, in write return self._sock.send(b) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/ssl.py", line 1210, in send return self._sslobj.write(data) ^^^^^^^^^^^^^^^^^^^^^^^^ ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2393) ```
There's a fix in cheroot repo, but it relies on having python >=3.11.3: * https://github.com/cherrypy/cheroot/pull/518 * https://github.com/python/cpython/pull/103006 Please consider updating python3 version in bookworm to >= 3.11.3 -- System Information: Debian Release: 12.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.15.49-linuxkit (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_RANDSTRUCT Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect