-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Celery accesses SMTP configs before exporting event #6833
Comments
How is this an issue? |
Why celery needs smtp config to export an event? Why is this not an issue ?
…On Mon, 10 Feb, 2020, 17:30 Areeb Jamal, ***@***.***> wrote:
Closed #6833 <#6833>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6833?email_source=notifications&email_token=AKQMTLXJYATGD6DEANKRPSDRCE6XNA5CNFSM4KSMTOD2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWQTI45Y#event-3022425719>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQMTLUZVEHS7PE3PLFM4H3RCE6XNANCNFSM4KSMTODQ>
.
|
This error is thrown when send_mail function is used |
Wasnt this case handled in the #6228 , So why celery again accesses SMTP while exporting ? |
@kushthedude What do you mean by before exporting an event? How do you exactly reproduce this? |
As soon as I click on export event, The loader appears and the celery throws this error. |
Well, in that case, this is not valid. An export event mail task is scheduled which accesses the send_mail function. Check |
Agreed the task is scheduled, But the export task should also be successful. The export fails, hence this should be a valid issue |
Ok, In that case, you need to be clear while mentioning the issue. Change the description to |
@iamareebjamal @mrsaicharan1 I digged deep into the issue and it is not happening due to the server rather the FE url being generated is |
Celery needs SMTP Configuration before exporting the event.
Actual Behaviour :
Without the SMTP configuration, the event export task fails and throws this error.
[2020-02-10 17:16:00,274: ERROR/ForkPoolWorker-2] SMTP & sendgrid have not been configured properly NoneType: None
Expected :
Event Export should work without the SMTP Configuration too.
The text was updated successfully, but these errors were encountered: