Fail to load two component study 'due to MIME type (“text/html”) mismatch//labJS//OSWeb
Hey,
We are currently trying to conduct an online study using Jatos. The experiment consists of two components: 1x LabJS questionnaire and 1x OS-experiment. As we want to present different participants with different groups of stimuli, we created 10 different studies with different stimuli lists. We successfully uploaded the studies on our server and everything seemed to work just fine. However, participants struggled to open studies (2-10), they got the notification:
‘Loading Experiment
The experiment is loading and should start in a few seconds’
and nothing happened.
While checking for ERRORs in our studies we observed a weird pattern. Whenever we cleared our browser history, we were no longer able to open studies 2-10. Opening study 1 was not a problem and as soon as we opened study 1 once, we were again able to open all the other studies.
These is the ERROR messages that occured when the study fails to load:
‘The resource from “https://onlineexperiment.yy.xxx.de/study_assets/study/lib/lab.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).’ (using Firefox)
‘Get “https://onlineexperiment.yy.xxx.de/study_assets/study/lib/lab.js” net:: ERR_ABORTED 403 (forbidden)’ (using Chrome)
‘Refused to apply from https://onlineexperiment.yy.xxx.de/study_assets/study/lib/lab.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME type checking is enabled’ (using Chrome)
We already tried uploading the different studies on cortex.Jatos and the same pattern emerges. As soon as we started study 1 we were able to load all the other studies.