dodona-edu/dolos

Could not connect to the API

pdawyndt opened this issue · 2 comments

Here's a sequence of steps that consistently leads to Could not connect to the API on my Windows 10 machine (Google Chrome):

  • click the field "Upload a file (*.zip) before the file you want to upload has been created (file explorer window stays open)
  • export submissions from Dodona in another browser tab/window and save on local disk
  • select exported submissions in file explorer
  • select the option "I accept the above conditions"
  • click "Analyze"

image

More generally, upon selecting a file, Dolos shows a warning as long as the file explorer is open and no file is selected

image

rien commented

I cannot reproduce this locally (not in development nor using the production webserver). Since it requires local file actions with the file explorer open, I think this might be a bug in Windows or Chrome.

Are any errors printed to the browser console? What can you see in the network requests tab?

I consistently got this issue when I posted it on GitHub, but can't reproduce it neither this evening. Will close the issue, but in general got some hiccups with the server version of Dolos lately (always worked after retrying once or twice).