Hi there folks. I need a bit of help. What happens if you try this in your tutor dev environment (nightly):
-
Turn on the bulk email flags for all courses:
-
Ensure
CELERY_ALWAYS_EAGER = True
-
Now, try sending an email to All learners. Ensure there’s more than one learner enrolled in the course
This is what we’ve been experiencing:
With and without the MFE. These are some useful logs:
2023-09-04 14:25:34,972 WARNING 1047 [openedx.core.djangoapps.safe_sessions.middleware] [user None] [ip None] middleware.py:615 - SafeCookieData user at initial request '6' does not match user at response time: '10' for request path '/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/send_email'.
Session did not change.
Hash of session ID from various sources: parsed_cookie=67c5f60d; at_request=67c5f60d; at_response=67c5f60d
2023-09-04 14:25:34,974 WARNING 1047 [openedx.core.djangoapps.safe_sessions.middleware] [user None] [ip None] middleware.py:840 - SafeCookieData deleted session cookie for session None
Is that supposed to happen? This is sending me into a rabbit hole, not sure what’s wrong .