-
Notifications
You must be signed in to change notification settings - Fork 65
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
Unhandled error when Canvas designer/teacher roles scan a past enrollment course #884
Comments
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.
The text was updated successfully, but these errors were encountered: