Open mrash2 opened 1 year ago
I just came across another course potentially with this same issue, but this one is within the current, active term. I'm not sure if this is a separate issue or if the one that I had originally suspected was linked to past enrollments is indeed something else. Are there any specific content items or issues I should consider looking at within the course that could be causing this error? This is a large course, so if there are any specific issues you can think of that I should check, that would be helpful. We're not noticing any issues with other users or courses, other than those mentioned previously in the original issue.
The first error that appears in the console is "Canvas front-end did not successfully start! (e is not iterable)."
The scan finally times out with HTML again being read as JSON.
Another possible clue: if I select the "VM47:1" link next to the JSON error in the console, I see the HTML content is an nginx error page that is trying to be read as JSON. I'm not sure what in the course is leading to this error page, but it doesn't appear UDOIT is handling properly.
I've gone through all of the content within modules to look for anything unusual and so far have not found anything. I similarly perused the course files and several external content embeds, but so far not seeing anything that should cause this. I'll continue looking, but wanted to update here.
Also, in my previous comment, I think the first error message about the Canvas front-end is occurring even on successful scans in other courses, so that may be an unrelated and/or non-issue.
Since the error appears to be nginx-related, is it possible that something like worker connections is insufficient to allow the scan to fully run? Here's what I've done since my last comment:
Could the issue simply be an app or server adjustment to allow more processing to prevent the timeout?
When a Canvas user with a designer or teacher role scans a course from a past enrollment term, the scan does not complete properly, the UDOIT UI elements are unclickable, and a JavaScript error is displayed in the console. We've only been able to replicate this with the designer and teacher roles in Canvas with a course that has either been manually concluded or for which the course availability date has passed because the enrollment term has ended. We tried manually updating the course conclusion date and unchecking the option to prevent student access after that date, with the same result.
The JavaScript error seems to be that UDOIT is trying to read an HTML response (which appears to be a 500 error) as JSON. We are enforcing scopes and all else seems to be fine. These users are able to scan courses in the current enrollment term and default term with no issues. We have not been able to determine if any relevant custom permissions have been adjusted for these roles. Account Admins are able to scan previous courses with no issue.