Skip to content

Pyzor crashes on Ubuntu 22 server restart #167

Description

@erlandl4g

Version information

Spamassassin 3.4.6
pyzor 1.0.0

Steps to replicate

  1. Restart the whole email server

Actual result

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

crash_report.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions