Open SylencerWebdesign opened 2 months ago
Now it's working again, mail is sent without any changes.
11:45:05 [Q] INFO Enqueued [DjangORM] 5033
11:45:05 [Q] INFO Process-ca7356cc7b0144e9841f39e504a253af created task florida-mockingbird-nebraska-freddie from schedule [Link slack users]
11:45:05 [Q] INFO Enqueued [DjangORM] 5034
11:45:05 [Q] INFO Process-ca7356cc7b0144e9841f39e504a253af created task november-violet-crazy-montana from schedule [Timed sequence triggers]
11:45:05 [Q] INFO Process-bfec03d415d444998a5db3cf8311c390 processing florida-mockingbird-nebraska-freddie 'slack_bot.tasks.link_slack_users' [Link slack users]
11:45:05 [Q] INFO Process-bfec03d415d444998a5db3cf8311c390 stopped doing work
11:45:05 [Q] INFO Processed 'slack_bot.tasks.link_slack_users' (florida-mockingbird-nebraska-freddie)
11:45:05 [Q] INFO recycled worker Process-bfec03d415d444998a5db3cf8311c390
11:45:05 [Q] INFO Process-ec3164a816234e9fbf6ea5b1eb597541 ready for work at 26
11:45:05 [Q] INFO Process-ec3164a816234e9fbf6ea5b1eb597541 processing november-violet-crazy-montana 'admin.sequences.tasks.timed_triggers' [Timed sequence triggers]
11:45:05 [Q] INFO Processed 'admin.sequences.tasks.timed_triggers' (november-violet-crazy-montana)
11:50:01 [Q] INFO Enqueued [DjangORM] 5035
11:50:01 [Q] INFO Process-ca7356cc7b0144e9841f39e504a253af created task batman-beryllium-stream-mississippi from schedule [Timed sequence triggers]
11:50:02 [Q] INFO Process-ec3164a816234e9fbf6ea5b1eb597541 processing batman-beryllium-stream-mississippi 'admin.sequences.tasks.timed_triggers' [Timed sequence triggers]
11:50:02 [Q] INFO Processed 'admin.sequences.tasks.timed_triggers' (batman-beryllium-stream-mississippi)
11:55:32 [Q] INFO Enqueued [DjangORM] 5036
11:55:32 [Q] INFO Process-ca7356cc7b0144e9841f39e504a253af created task maine-eighteen-quiet-two from schedule [Timed sequence triggers]
11:55:32 [Q] INFO Process-ec3164a816234e9fbf6ea5b1eb597541 processing maine-eighteen-quiet-two 'admin.sequences.tasks.timed_triggers' [Timed sequence triggers]
11:55:32 [Q] INFO Processed 'admin.sequences.tasks.timed_triggers' (maine-eighteen-quiet-two)
192.168.178.29 - - [14/Aug/2024:11:59:50 +0000] "POST /admin/people/new_hire/6/send_preboarding_notification/ HTTP/1.1" 302 0 "https://onboarding.domain.tld/admin/people/new_hire/6/send_preboarding_notification/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
192.168.178.29 - - [14/Aug/2024:11:59:51 +0000] "GET /admin/people/new_hire/6/overview/ HTTP/1.1" 200 67971 "https://onboarding.domain.tld/admin/people/new_hire/6/send_preboarding_notification/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
192.168.178.29 - - [14/Aug/2024:11:59:51 +0000] "GET /static/js/tabler.js HTTP/1.1" 200 0 "https://onboarding.domain.tld/admin/people/new_hire/6/overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
192.168.178.29 - - [14/Aug/2024:11:59:51 +0000] "GET /static/js/jquery-3.5.1.min.js HTTP/1.1" 200 0 "https://onboarding.domain.tld/admin/people/new_hire/6/overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
192.168.178.29 - - [14/Aug/2024:11:59:51 +0000] "GET /static/js/selectize-0.13.3.min.js HTTP/1.1" 200 0 "https://onboarding.domain.tld/admin/people/new_hire/6/overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
192.168.178.29 - - [14/Aug/2024:11:59:51 +0000] "GET /static/js/htmx-1.7.0.min.js HTTP/1.1" 200 0 "https://onboarding.domain.tld/admin/people/new_hire/6/overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
192.168.178.29 - - [14/Aug/2024:11:59:51 +0000] "GET /static/js/editor-2.22.2.min.js HTTP/1.1" 200 0 "https://onboarding.domain.tld/admin/people/new_hire/6/overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
192.168.178.29 - - [14/Aug/2024:11:59:51 +0000] "GET /static/js/editor-form.js HTTP/1.1" 200 0 "https://onboarding.domain.tld/admin/people/new_hire/6/overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
192.168.178.29 - - [14/Aug/2024:11:59:51 +0000] "GET /static/favicon.png HTTP/1.1" 200 0 "https://onboarding.domain.tld/admin/people/new_hire/6/overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0"
12:00:30 [Q] INFO Enqueued [DjangORM] 5037
12:00:30 [Q] INFO Process-ca7356cc7b0144e9841f39e504a253af created task kilo-island-table-beryllium from schedule [Link slack users]
12:00:30 [Q] INFO Enqueued [DjangORM] 5038
12:00:30 [Q] INFO Process-ca7356cc7b0144e9841f39e504a253af created task two-bluebird-chicken-india from schedule [Timed sequence triggers]
12:00:30 [Q] INFO Enqueued [DjangORM] 5039
12:00:30 [Q] INFO Process-ca7356cc7b0144e9841f39e504a253af created task blossom-five-green-foxtrot from schedule [4]
12:00:30 [Q] INFO Enqueued [DjangORM] 5040
12:00:30 [Q] INFO Process-ca7356cc7b0144e9841f39e504a253af created task snake-sierra-william-bluebird from schedule [First day reminder]
12:00:30 [Q] INFO Process-ec3164a816234e9fbf6ea5b1eb597541 processing kilo-island-table-beryllium 'slack_bot.tasks.link_slack_users' [Link slack users]
12:00:30 [Q] INFO Process-ec3164a816234e9fbf6ea5b1eb597541 processing two-bluebird-chicken-india 'admin.sequences.tasks.timed_triggers' [Timed sequence triggers]
12:00:30 [Q] INFO Process-ec3164a816234e9fbf6ea5b1eb597541 processing blossom-five-green-foxtrot 'slack_bot.tasks.introduce_new_people' [4]
12:00:30 [Q] INFO Processed 'slack_bot.tasks.link_slack_users' (kilo-island-table-beryllium)
12:00:30 [Q] INFO Process-ec3164a816234e9fbf6ea5b1eb597541 processing snake-sierra-william-bluebird 'slack_bot.tasks.first_day_reminder' [First day reminder]
12:00:30 [Q] INFO Processed 'admin.sequences.tasks.timed_triggers' (two-bluebird-chicken-india)
12:00:30 [Q] INFO Processed 'slack_bot.tasks.introduce_new_people' (blossom-five-green-foxtrot)
12:00:30 [Q] INFO Processed 'slack_bot.tasks.first_day_reminder' (snake-sierra-william-bluebird)
This is generally an issue with the email provider.
You have two options here to find out what's wrong:
Thank you. I have to check that. In the meantime, does this give you a hint?
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/local/lib/python3.11/site-packages/django/core/mail/__init__.py", line 87, in send_mail
return mail.send()
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/django/core/mail/message.py", line 298, in send
return self.get_connection(fail_silently).send_messages([self])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/django/core/mail/backends/smtp.py", line 127, in send_messages
new_conn_created = self.open()
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/django/core/mail/backends/smtp.py", line 85, in open
self.connection = self.connection_class(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/smtplib.py", line 1050, in __init__
SMTP.__init__(self, host, port, local_hostname, timeout,
File "/usr/local/lib/python3.11/smtplib.py", line 255, in __init__
(code, msg) = self.connect(host, port)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/smtplib.py", line 341, in connect
self.sock = self._get_socket(host, port, self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/smtplib.py", line 1056, in _get_socket
new_socket = super()._get_socket(host, port, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/smtplib.py", line 312, in _get_socket
return socket.create_connection((host, port), timeout,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/socket.py", line 851, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.11/socket.py", line 836, in create_connection
sock.connect(sa)
OSError: [Errno 99] Cannot assign requested address
Thanks. Yeah, this is definitely a problem outside of ChiefOnboarding.
A similar error here, with answer: https://github.com/getsentry/sentry/issues/7475#issuecomment-429581157
Tl;dr: check that the docker environment can reach the mail server.
Are you on the latest version of ChiefOnboarding? We only give support for version 2.x. Yes, v2.2.2
What browser are you using? Mozilla Firefox and Chrome
What did you do? Test Welcome Message, Password Recovery, Pre-Onboarding-Mail
What did you expect to see? Mail is sent
What did you see instead? Mail is not sent, 500 Error
This problem occurs from time to time. There is no restart or anything else. The container runs continuously. After some times it seems to be working.
my docker-compose.yml
App Log
DB log
Can you help me? Thanks in advance.