abrt / gnome-abrt

ABRT oopses list designed according to https://live.gnome.org/Design/Apps/Oops
GNU General Public License v3.0
18 stars 21 forks source link

gnome-abrt: read(): ssl.py:1099:read:ConnectionResetError #297

Closed msrb closed 3 years ago

msrb commented 3 years ago

From https://bugzilla.redhat.com/show_bug.cgi?id=1928452:

Truncated backtrace:
ssl.py:1099:read:ConnectionResetError: [Errno 104] 连接被对方重设

Traceback (most recent call last):
  File "/usr/lib64/python3.9/site-packages/gnome_abrt/problems.py", line 128, in update_title_task_func
    html = urllib.request.urlopen(self._data).read().decode("UTF-8")
  File "/usr/lib64/python3.9/http/client.py", line 471, in read
    s = self._safe_read(self.length)
  File "/usr/lib64/python3.9/http/client.py", line 612, in _safe_read
    data = self.fp.read(amt)
  File "/usr/lib64/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib64/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib64/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 104] 连接被对方重设

Local variables in innermost frame:
self: <ssl.SSLSocket [closed] fd=22, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>
len: 8192
buffer: <memory at 0x7f9483499580>

It looks like some connection issue. It's likely that it goes away when people retry. But it is annoying and we should either retry automatically or don't crash.