Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Export: Celery export tries to access SMTP Configs #6158

Closed
kushthedude opened this issue Jul 8, 2019 · 2 comments · Fixed by #6228
Closed

Event Export: Celery export tries to access SMTP Configs #6158

kushthedude opened this issue Jul 8, 2019 · 2 comments · Fixed by #6228
Assignees
Labels

Comments

@kushthedude
Copy link
Member

Describe the bug

Event Export tries to access SMTP Configs

To Reproduce

Steps to reproduce the behavior:

  • Don't fill SMPT Configs.
  • Try Export Event, See Stack Trace

Expected behaviour

It should not access SMTP

Stacktrace

File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/smtplib.py", line 336, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/smtplib.py", line 1039, in _get_socket
    server_hostname=self._host)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 412, in wrap_socket
    session=session
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 846, in _create
    owner=self, session=self._session,
ValueError: server_hostname cannot be an empty string or start with a leading dot.

Additional details (please complete the following information):

  • OS: MacOS
  • Python Version 3.7
@kushthedude kushthedude added the bug label Jul 8, 2019
@mrsaicharan1 mrsaicharan1 self-assigned this Jul 10, 2019
@mrsaicharan1
Copy link
Member

Will work on this.

@mrsaicharan1
Copy link
Member

mrsaicharan1 commented Jul 18, 2019

@kushthedude I've taken a look at this and found out that the issue is corresponding to the export mail which is being sent out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants