# Pavlovia experiment stuck on loading html page

**URL:** <https://discourse.psychopy.org/t/pavlovia-experiment-stuck-on-loading-html-page/27529>\
**Category:** Online experiments\
**Tags:** pavlovia\
**Created:** [February 19, 2022, 1:40pm UTC](https://discourse.psychopy.org/t/pavlovia-experiment-stuck-on-loading-html-page/27529 "2022-02-19T13:40:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gately](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@gately](https://discourse.psychopy.org/u/gately)\
**Post date:** [February 19, 2022, 1:40pm UTC](https://discourse.psychopy.org/t/pavlovia-experiment-stuck-on-loading-html-page/27529/1 "2022-02-19T13:40:50Z")

</div>

URL of experiment: [Feb22FYP [PsychoPy]](https://run.pavlovia.org/orlagately/feb22fyp/html/)

Description of the problem:

Hi I am new to PsychoPy and Pavlovia and would really appreciate if anyone could help me with the following issue.

I’ve uploaded my experiment on Pavlovia and participants are recruited via SONA. The link for my experiment is above and the gitlab link is [Sign in · GitLab](https://gitlab.pavlovia.org/orlagately/feb22fyp) .

Participants are able to sign up and complete the initial participant page and consent page, but when they move to the next page (Demographics- based on the PsychoPy online demos)they get a ‘404 nginx’ Error message.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/d/3/d31f12f50e57a760aad175474743757ec15de3a3.png)

I ran the experiment myself yesterday and I was able to complete it and I have not amended the code since it was working.

Is there any suggestion to amend this?

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [February 19, 2022, 3:05pm UTC](https://discourse.psychopy.org/t/pavlovia-experiment-stuck-on-loading-html-page/27529/2 "2022-02-19T15:05:34Z")

</div>

Where is the html file you are embedding.

[https://run.pavlovia.org/orlagately/feb22fyp/html/Demographics.html](https://run.pavlovia.org/orlagately/feb22fyp/html/Demographics.html)

is a real file that is claiming a file not found error.

---

<div class="post-metadata">

**Author:** ![gately](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@gately](https://discourse.psychopy.org/u/gately)\
**Post date:** [February 19, 2022, 3:48pm UTC](https://discourse.psychopy.org/t/pavlovia-experiment-stuck-on-loading-html-page/27529/3 "2022-02-19T15:48:50Z")

</div>

Hi thank you for your response - I’m sorry I don’t fully understand your question I have the html file saved in the same folder as my builder experiment

![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/1/1/115c61a61d1aebc8975a36453532005e96f70442.png)

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [February 19, 2022, 4:24pm UTC](https://discourse.psychopy.org/t/pavlovia-experiment-stuck-on-loading-html-page/27529/4 "2022-02-19T16:24:11Z")

</div>

Sorry – I misdiagnosed the issue.

Your index.html file is in your html folder, which means that PsychoPy is looking for Demographics.html there. You could copy the html file to the html folder or you could address it in PsychoPy as …/Demographics.html to tell PsychoPy to look in the next folder up.

However, if you upgrade to PsychoPy 2021 then you may run into other issues with using the html folder and need to rebuild your experiment without it. Here’s a link about that.

> [@"Unknown Resource" online, but works fine offline?](https://discourse.psychopy.org/t/unknown-resource-online-but-works-fine-offline/25793/10):
>
> I have a few minutes to write a reply now. I have one experiment still using the html folder where I have set “Use PsychoPy Version” to 2020.2.3 in Experiment Settings. For another experiment what I did was: Close the experiment in Builder. Download any existing data from Pavlovia. Delete the repository from Pavlovia. Delete the local .git folder. Delete the local html folder (after removing any files than only exist in it). Delete other unnecessary local files. Open the experiment in Builde…

---

<div class="post-metadata">

**Author:** ![gately](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@gately](https://discourse.psychopy.org/u/gately)\
**Post date:** [February 19, 2022, 7:35pm UTC](https://discourse.psychopy.org/t/pavlovia-experiment-stuck-on-loading-html-page/27529/5 "2022-02-19T19:35:28Z")

</div>

Thank you so much for your help - I followed the steps in the links you provided and deleted the experiment and set it up again with the latest version of PsychoPy and it seems to be working now. 😀
