autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
757 stars 215 forks source link

500 error when making a submission and addJob call fails #2121

Open 20wildmanj opened 6 months ago

20wildmanj commented 6 months ago

When making a submission to an autograded assignment, if tango_add_job receives a failed response from Tango (such as if docker is not running), then it will cause the user to receive a 500 error, instead of being properly handled. The error should be caught by handin and properly redirect the user / display the error if they are priveleged.

Screenshot 2024-03-16 at 3 46 38 PM

damianhxy commented 5 months ago

So I was initially able to reproduce this, but after investigating for a while it seemed to fix itself ...?

Screenshot 2024-04-06 at 13 16 52