[Pkg-clamav-devel] Bug#1115735: fangfrisch: could show WHICH URL failed to download

Thorsten Glaser tglaser at b1-systems.de
Fri Sep 19 17:35:45 BST 2025


Package: fangfrisch
Version: 1.9.0-3
Severity: minor
X-Debbugs-Cc: tglaser at b1-systems.de
Control: tags -1 + upstream

After passing the initdb (see the other bug), I still get a failure:

2025-09-19T18:29:46.303789+02:00 in1740 systemd[1]: Starting fangfrisch.service - Updater for unofficial ClamAV signatures...
2025-09-19T18:29:47.552775+02:00 in1740 fangfrisch[2941]: ERROR: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))
2025-09-19T18:29:47.553166+02:00 in1740 fangfrisch[2941]: Traceback (most recent call last):
2025-09-19T18:29:47.553381+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/urllib3/response.py", line 754, in _error_catcher
2025-09-19T18:29:47.553566+02:00 in1740 fangfrisch[2941]:     yield
2025-09-19T18:29:47.553748+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/urllib3/response.py", line 879, in _raw_read
2025-09-19T18:29:47.553947+02:00 in1740 fangfrisch[2941]:     data = self._fp_read(amt, read1=read1) if not fp_closed else b""
2025-09-19T18:29:47.554149+02:00 in1740 fangfrisch[2941]:            ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
2025-09-19T18:29:47.554316+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/urllib3/response.py", line 862, in _fp_read
2025-09-19T18:29:47.554450+02:00 in1740 fangfrisch[2941]:     return self._fp.read(amt) if amt is not None else self._fp.read()
2025-09-19T18:29:47.554647+02:00 in1740 fangfrisch[2941]:            ~~~~~~~~~~~~~^^^^^
2025-09-19T18:29:47.554813+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3.13/http/client.py", line 479, in read
2025-09-19T18:29:47.554994+02:00 in1740 fangfrisch[2941]:     s = self.fp.read(amt)
2025-09-19T18:29:47.555155+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3.13/socket.py", line 719, in readinto
2025-09-19T18:29:47.555390+02:00 in1740 fangfrisch[2941]:     return self._sock.recv_into(b)
2025-09-19T18:29:47.555632+02:00 in1740 fangfrisch[2941]:            ~~~~~~~~~~~~~~~~~~~~^^^
2025-09-19T18:29:47.555838+02:00 in1740 fangfrisch[2941]: ConnectionResetError: [Errno 104] Connection reset by peer
2025-09-19T18:29:47.556000+02:00 in1740 fangfrisch[2941]: The above exception was the direct cause of the following exception:
2025-09-19T18:29:47.556155+02:00 in1740 fangfrisch[2941]: Traceback (most recent call last):
2025-09-19T18:29:47.556329+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/requests/models.py", line 820, in generate
2025-09-19T18:29:47.556516+02:00 in1740 fangfrisch[2941]:     yield from self.raw.stream(chunk_size, decode_content=True)
2025-09-19T18:29:47.556675+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/urllib3/response.py", line 1066, in stream
2025-09-19T18:29:47.556818+02:00 in1740 fangfrisch[2941]:     data = self.read(amt=amt, decode_content=decode_content)
2025-09-19T18:29:47.557012+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/urllib3/response.py", line 955, in read
2025-09-19T18:29:47.557175+02:00 in1740 fangfrisch[2941]:     data = self._raw_read(amt)
2025-09-19T18:29:47.557361+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/urllib3/response.py", line 878, in _raw_read
2025-09-19T18:29:47.557533+02:00 in1740 fangfrisch[2941]:     with self._error_catcher():
2025-09-19T18:29:47.557689+02:00 in1740 fangfrisch[2941]:          ~~~~~~~~~~~~~~~~~~~^^
2025-09-19T18:29:47.557754+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3.13/contextlib.py", line 162, in __exit__
2025-09-19T18:29:47.557782+02:00 in1740 fangfrisch[2941]:     self.gen.throw(value)
2025-09-19T18:29:47.557812+02:00 in1740 fangfrisch[2941]:     ~~~~~~~~~~~~~~^^^^^^^
2025-09-19T18:29:47.557827+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/urllib3/response.py", line 781, in _error_catcher
2025-09-19T18:29:47.557850+02:00 in1740 fangfrisch[2941]:     raise ProtocolError(f"Connection broken: {e!r}", e) from e
2025-09-19T18:29:47.557872+02:00 in1740 fangfrisch[2941]: urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))
2025-09-19T18:29:47.557910+02:00 in1740 fangfrisch[2941]: During handling of the above exception, another exception occurred:
2025-09-19T18:29:47.557926+02:00 in1740 fangfrisch[2941]: Traceback (most recent call last):
2025-09-19T18:29:47.557938+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/fangfrisch/refresh.py", line 127, in refresh
2025-09-19T18:29:47.557956+02:00 in1740 fangfrisch[2941]:     payload = get_payload(ci)
2025-09-19T18:29:47.557970+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/fangfrisch/download.py", line 84, in get_payload
2025-09-19T18:29:47.557989+02:00 in1740 fangfrisch[2941]:     return StatusDataPair(True, download.data.content)
2025-09-19T18:29:47.558001+02:00 in1740 fangfrisch[2941]:                                 ^^^^^^^^^^^^^^^^^^^^^
2025-09-19T18:29:47.558016+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/requests/models.py", line 902, in content
2025-09-19T18:29:47.558034+02:00 in1740 fangfrisch[2941]:     self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
2025-09-19T18:29:47.558050+02:00 in1740 fangfrisch[2941]:                     ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-19T18:29:47.558063+02:00 in1740 fangfrisch[2941]:   File "/usr/lib/python3/dist-packages/requests/models.py", line 822, in generate
2025-09-19T18:29:47.558080+02:00 in1740 fangfrisch[2941]:     raise ChunkedEncodingError(e)
2025-09-19T18:29:47.558092+02:00 in1740 fangfrisch[2941]: requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))
2025-09-19T18:29:48.586270+02:00 in1740 systemd[1]: fangfrisch.service: Deactivated successfully.
2025-09-19T18:29:48.586923+02:00 in1740 systemd[1]: Finished fangfrisch.service - Updater for unofficial ClamAV signatures.

It notably doesn’t tell me *which* URL failed to download, though…



More information about the Pkg-clamav-devel mailing list