Proctored Exams Not Created: listen_for_course_publish Function Not Triggered Due to course_published Signals

Hello,

We encountered an issue where, after setting the exam time for a subsection, the exam is not being created after that time. Upon debugging, I discovered that the SignalHandler.course_published signals are not working, which is preventing the listen_for_course_publish function from being triggered and causing the exam not to be created.

We attempted to update the update_special_exams_and_publish function in the shell using the delay method, but this still didn’t resolve the issue. However, it works when we manually call the register_exams_handler function in the CMS shell by passing the course ID.

Has anyone encountered a similar issue or know where the problem might be?