Hi!
I am using webgazer for my experiment and it has been working just fine for the past couple of weeks but today, I got the following error:
Access to fetch at 'https://tfhub.dev/tensorflow/tfjs-model/blazeface/1/default/1/model.json?tfjs-format=file' from origin 'https://my-labs-server-name.edu' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://saas.haut.ai' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
At first, I thought this was because I was working locally (JATOS) to make some small changes to my current experiment. But when I tried to run the experiment that has been working fine for weeks, I got the same error. I am using JATOS and the jsPsych version of webgazer so if this is the wrong place to ask this question and it is jsPsych specific, please let me know!
Hi! I am using webgazer for my experiment and it has been working just fine for the past couple of weeks but today, I got the following error:
Access to fetch at 'https://tfhub.dev/tensorflow/tfjs-model/blazeface/1/default/1/model.json?tfjs-format=file' from origin 'https://my-labs-server-name.edu' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://saas.haut.ai' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
At first, I thought this was because I was working locally (JATOS) to make some small changes to my current experiment. But when I tried to run the experiment that has been working fine for weeks, I got the same error. I am using JATOS and the jsPsych version of webgazer so if this is the wrong place to ask this question and it is jsPsych specific, please let me know!
Thanks for the help! Ilaria