Issue with SMTP ERPNext 15

Hello everyone,

i have a issue with ERPNext and sending E-Mails via SMTP.

It has work for 1 Year. But since a week i doesn´t work.
I have implement a firewall but the rules are fine. I see that ERPNext Server has outbound connection with Port 587.

Does everyone know how to fix this issue?

I get these error:

File “/usr/lib/python3.10/”, line 416, in select
fd_event_list = self._selector.poll(timeout)
self = <selectors.PollSelector object at 0x7fcc5dff1600>
timeout = None
ready = []
File “env/lib/python3.10/site-packages/rq/”, line 63, in handle_death_penalty
raise self._exception(‘Task exceeded maximum timeout value ({0} seconds)’.format(self._timeout))
self = <rq.timeouts.UnixSignalDeathPenalty object at 0x7fcc658abaf0>
signum = 14
frame = <frame at 0x7fcc5dbac240, file ‘/usr/lib/python3.10/’, line 417, code select>
rq.timeouts.JobTimeoutException: Task exceeded maximum timeout value (300 seconds)

I have found the issue. In the file /etc/hosts was the ip from the old network stored. I have change them to the new one and now it works…

1 Like