https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8215

            Bug ID: 8215
           Summary: Pyzor is crashing on DNS failure
           Product: Spamassassin
           Version: 3.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamassassin
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 5936
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5936&action=edit
Crash report

Pyzor crashes twice on startup most likely due to a start before network is
initialized as error reported is DNS related:

 File "/usr/lib/python3/dist-packages/pyzor/client.py", line 116, in check
     sock = self.send(msg, address)
   File "/usr/lib/python3/dist-packages/pyzor/client.py", line 138, in send
     return self._send(msg, address)
   File "/usr/lib/python3/dist-packages/pyzor/client.py", line 143, in _send
     for res in socket.getaddrinfo(addr[0], addr[1], 0, socket.SOCK_DGRAM,
   File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
 socket.gaierror: [Errno -3] Temporary failure in name resolution

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to