TypeError: argument of type 'ssl.SSLError' is not iterable
https://sentry.softwareheritage.org/organizations/swh/issues/105697/?referrer=phabricator_plugin
SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2488)
(4 additional frame(s) were not displayed)
...
File "http/client.py", line 595, in _readinto_chunked
n = self._safe_readinto(mvb)
File "http/client.py", line 640, in _safe_readinto
n = self.fp.readinto(mvb)
File "socket.py", line 589, in readinto
return self._sock.recv_into(b)
File "ssl.py", line 1052, in recv_into
return self.read(nbytes, buffer)
File "ssl.py", line 911, in read
return self._sslobj.read(len, buffer)
GitProtocolError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2488)
(2 additional frame(s) were not displayed)
...
File "dulwich/client.py", line 2120, in fetch_pack
progress,
File "dulwich/client.py", line 620, in _handle_upload_pack_tail
SIDE_BAND_CHANNEL_PROGRESS: progress,
File "dulwich/client.py", line 496, in _read_side_band64k_data
for pkt in pkt_seq:
File "dulwich/protocol.py", line 290, in read_pkt_seq
pkt = self.read_pkt_line()
File "dulwich/protocol.py", line 242, in read_pkt_line
raise GitProtocolError(e)
TypeError: argument of type 'ssl.SSLError' is not iterable
File "swh/loader/core/loader.py", line 406, in load
more_data_to_fetch = self.fetch_data()
File "swh/loader/git/loader.py", line 311, in fetch_data
if msg in e.args[0]:
Loading failure, updating to `failed` status
Migrated from T4744 (view on Phabricator)