ERROR/ForkPoolWorke...
 
Notifications
Clear all

ERROR/ForkPoolWorker-8

11 Posts
2 Users
0 Reactions
38 Views
0
Topic starter

[2024-10-14 10:04:32,765: ERROR/ForkPoolWorker-8] Task dataentry.task.celery_test_task[d4d10d57-9246-4bb7-add5-f4d362f4992e] raised unexpected: SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)')
Traceback (most recent call last):
File "/Users/emissaries/Developer/DjangoML/Models1/myenv/lib/python3.9/site-packages/celery/app/trace.py", line 453, in trace_task
R = retval = fun(*args, **kwargs)
File "/Users/emissaries/Developer/DjangoML/Models1/myenv/lib/python3.9/site-packages/celery/app/trace.py", line 736, in __protected_call__
return self.run(*args, **kwargs)
File "/Users/emissaries/Developer/DjangoML/Models1/dataentry/task.py", line 17, in celery_test_task
mail.send()
File "/Users/emissaries/Developer/DjangoML/Models1/myenv/lib/python3.9/site-packages/django/core/mail/message.py", line 299, in send
return self.get_connection(fail_silently).send_messages([self])
File "/Users/emissaries/Developer/DjangoML/Models1/myenv/lib/python3.9/site-packages/django/core/mail/backends/smtp.py", line 127, in send_messages
new_conn_created = self.open()
File "/Users/emissaries/Developer/DjangoML/Models1/myenv/lib/python3.9/site-packages/django/core/mail/backends/smtp.py", line 92, in open
self.connection.starttls(context=self.ssl_context)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/smtplib.py", line 774, in starttls
self.sock = context.wrap_socket(self.sock,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)

IMG 1866 rathank.com Mohaiminul - Team Rathan 15/10/2024 12:20 pm

@alexladwong Could you share your updated GitHub repository with us so we can review the full code and help troubleshoot the issue?

DBIRE7196 rathank.com Kintu Alex Ladwong Topic starter 15/10/2024 1:28 pm
Share: