after resolving my issue with the migration from 9.1.2 to 20.10. (After upgrade from 9.1.2 to 10.0/20.9/latest no events details) I’am facing another issue where I am stuck. Currently I am not able to send any email.
Log from the sentry-worker pod after sending an email invite:
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 412, in trace_task
R = retval = fun(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 704, in __protected_call__ │
return self.run(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/sentry_sdk/integrations/celery.py", line 186, in _inner
reraise(*exc_info)
File "/usr/local/lib/python3.6/site-packages/sentry_sdk/_compat.py", line 55, in reraise raise value File "/usr/local/lib/python3.6/site-packages/sentry_sdk/integrations/celery.py", line 181, in _inner
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/sentry/tasks/base.py", line 48, in _wrapped
result = func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/sentry/tasks/email.py", line 76, in send_email
send_messages([message])
File "/usr/local/lib/python3.6/site-packages/sentry/utils/email.py", line 408, in send_messages
sent = connection.send_messages(messages) File "/usr/local/lib/python3.6/site-packages/django/core/mail/backends/smtp.py", line 111, in send_messages
sent = self._send(message) File "/usr/local/lib/python3.6/site-packages/django/core/mail/backends/smtp.py", line 123, in _send │
from_email = sanitize_address(email_message.from_email, encoding)
File "/usr/local/lib/python3.6/site-packages/django/core/mail/message.py", line 161, in sanitize_address
address = Address(nm, addr_spec=addr)
File "/usr/local/lib/python3.6/email/headerregistry.py", line 42, in __init__ a_s, rest = parser.get_addr_spec(addr_spec) File "/usr/local/lib/python3.6/email/_header_value_parser.py", line 1585, in get_addr_spec
token, value = get_local_part(value)
File "/usr/local/lib/python3.6/email/_header_value_parser.py", line 1395, in get_local_part
if value[0] in CFWS_LEADER: IndexError: string index out of range
Any idea on this one?
Thanks in advance!