Experiment stuck on initialising - Pavlovia Pilot

URL of experiment: https://gitlab.pavlovia.org/juneliu/subliminal-reward-pre-test/blob/master/html

Hi all,

My experiment is stuck on “initializing the experiment” but it runs well offline. I have uploaded my .js and legacy-brewers.js file (and to make sure, I created a NoModule.js file and copies codes of legacy-brewers.js to that file). I think there are problems with my js codes. Are there ways to check what exact problems in those codes?

Thank you so much!

Was there ever a solution to this? I’m having the same issue and can’t figure it out.

There are many many solutions to this – but the starting point is to identify the error.

I could take some guesses (are you importing any Python libraries) but ideally please could you look for the error in the developer tools.

Thanks for your suggestion, Carter. I am not importing any Python libraries. I have had an almost identical experiment piloting just fine right now (it was pushed to Pavlovia in 2024).

Upon opening the Developer Tools, I have identified a few errors, though they don’t appear to be particularly informative:

task2_0B_X.js:1 
Failed to load resource: the server responded with a status of 404 ()

and then multiple attempts of the following:

debug.js:92
(3)(+0000114): Error: HTTP request to http://127.0.0.1:23119/connector/ping rejected with status 0

This error message is very informative. Go to Experiment Settings and change the experiment name to task2_0B_X. Then save and re-sync.

I’m not sure about the second error message – are you using a local browser test rather than on Pavlovia.