# Pavlovia study suddenly unable to download a js resource

**URL:** <https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770>\
**Category:** Online experiments\
**Created:** [May 8, 2025, 9:36am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770 "2025-05-08T09:36:54Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![gjd8009](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gjd8009](https://discourse.psychopy.org/u/gjd8009)\
**Post date:** [May 8, 2025, 9:36am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/1 "2025-05-08T09:36:54Z")

</div>

Hi, yesterday I started piloting a study on Pavlovia and I managed to run a few pilots successfully. Everything was working perfectly fine till yesterday evening.  
This morning, I created again a new link for piloting, and now I get the following error whenever I open the link:

- \*\*unable to download resource:
- [https://lib.pavlovia.org/vendors/jsQUEST.min.js](https://lib.pavlovia.org/vendors/jsQUEST.min.js) ([https://lib.pavlovia.org/vendors/jsQUEST.min.js](https://lib.pavlovia.org/vendors/jsQUEST.min.js))\*\*

I do have a QUEST staircase running within the study, but I never ever got this error before, even when I was piloting just the staircase alone. I wonder what this error is, why it is happening now and how I could possibly fix it, any help would be very much appreciated.

Many thanks for your time.

PS Forgot to add that now, whenever I am trying to just pilot on my browser locally from psychopy, I often get an “Psychopy encountered an internal error” and something that seem related to issues with connections to an SSL verification error (However, my account is correctly logged in pavlovia)

This is the full error just in case:

> Traceback (most recent call last):  
> File “urllib3/connectionpool.pyc”, line 466, in \_make\_request  
> File “urllib3/connectionpool.pyc”, line 1095, in _validate\_conn  
> File “urllib3/connection.pyc”, line 730, in connect  
> File “urllib3/connection.pyc”, line 909, in ssl\_wrap\_socket\_and\_match\_hostname  
> File “urllib3/util/ssl.pyc”, line 469, in ssl\_wrap\_socket  
> File “urllib3/util/ssl_.pyc”, line 513, in \_ssl\_wrap\_socket\_impl  
> File “ssl.pyc”, line 500, in wrap\_socket  
> File “ssl.pyc”, line 1040, in \_create  
> File “ssl.pyc”, line 1309, in do\_handshake  
> ssl.SSLCertVerificationError: [SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: certificate has expired (\_ssl.c:1131)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “urllib3/connectionpool.pyc”, line 789, in urlopen  
File “urllib3/connectionpool.pyc”, line 490, in \_make\_request  
urllib3.exceptions.SSLError: [SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: certificate has expired (\_ssl.c:1131)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/requests/adapters.py”, line 667, in send  
File “urllib3/connectionpool.pyc”, line 843, in urlopen  
File “urllib3/util/retry.pyc”, line 519, in increment  
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘[lib.pavlovia.org](http://lib.pavlovia.org)’, port=443): Max retries exceeded with url: /psychojs-2024.2.4.css (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: certificate has expired (\_ssl.c:1131)’)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 1637, in onPavloviaDebug  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/runner/runner.py”, line 695, in runOnlineDebug  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/runner/runner.py”, line 708, in startServer  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/runner/runner.py”, line 763, in getPsychoJS  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/requests/api.py”, line 73, in get  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/requests/api.py”, line 59, in request  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/requests/sessions.py”, line 589, in request  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/requests/sessions.py”, line 703, in send  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/requests/adapters.py”, line 698, in send  
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘[lib.pavlovia.org](http://lib.pavlovia.org)’, port=443): Max retries exceeded with url: /psychojs-2024.2.4.css (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: certificate has expired (\_ssl.c:1131)’)))

---

<div class="post-metadata">

**Author:** ![gjd8009](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gjd8009](https://discourse.psychopy.org/u/gjd8009)\
**Post date:** [May 8, 2025, 9:48am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/2 "2025-05-08T09:48:59Z")

</div>

Just to add, I’m trying to run older versions of the task with the QUEST staircase implemented and those give me the same exact error..so I’m quite sure it’s not something I changed as those were working perfectly fine as well and never gave me this error ☹ Not sure if anyone else is experiencing the same issue.

---

<div class="post-metadata">

**Author:** ![abraver](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/abraver/32/37935_2.png) [@abraver](https://discourse.psychopy.org/u/abraver)\
**Post date:** [May 9, 2025, 12:14am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/3 "2025-05-09T00:14:48Z")

</div>

> PS Forgot to add that now, whenever I am trying to just pilot on my browser locally from psychopy, I often get an “Psychopy encountered an internal error” and something that seem related to issues with connections to an SSL verification error (However, my account is correctly logged in pavlovia)  
> —@gjd8009

I’m having the same error. See thread here: [Unable to "pilot in browser" — SSL certificate error](https://discourse.psychopy.org/t/unable-to-pilot-in-browser-ssl-certificate-error/44780)

---

<div class="post-metadata">

**Author:** ![gjd8009](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gjd8009](https://discourse.psychopy.org/u/gjd8009)\
**Post date:** [May 9, 2025, 10:08am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/4 "2025-05-09T10:08:46Z")

</div>

Oh no! Yes it seems exactly the same issue, perhaps that’s what is causing the js resource error when piloting also from pavlovia, in addition to the SSL error when piloting online from psychopy. I now get this error with any kind of former version that was perfectly working online…was it also for you that everything was working fine and then it suddendly stopped yesterday? I wonder what this is, because I do not use proxy whatsoever, I did not change anything in my settings since this issue started…is the same for you?

---

<div class="post-metadata">

**Author:** ![abraver](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/abraver/32/37935_2.png) [@abraver](https://discourse.psychopy.org/u/abraver)\
**Post date:** [May 9, 2025, 12:30pm UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/5 "2025-05-09T12:30:18Z")

</div>

The last time I’d used psychopy I wasn’t having this issue, but that was a few months ago.

---

<div class="post-metadata">

**Author:** ![gjd8009](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gjd8009](https://discourse.psychopy.org/u/gjd8009)\
**Post date:** [May 12, 2025, 9:14am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/6 "2025-05-12T09:14:47Z")

</div>

I see, for me it really happened overnight, on Thursday. Until Wednesday night I was able to pilot without any issues.  
I’m still experiencing the issue today. I am not sure whether the SSL error and the " unable to download resource: [https://lib.pavlovia.org/vendors/jsQUEST.min.js(https://lib.pavlovia.org/vendors/jsQUEST.min.js)](https://lib.pavlovia.org/vendors/jsQUEST.min.js(https://lib.pavlovia.org/vendors/jsQUEST.min.js))" are related, but I suspect they are..

If anyone has any idea what this issue could be related to or how we could fix it, it would be immensely appreciated, as I don’t really know what to do ☹

---

<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:** [May 12, 2025, 9:21am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/7 "2025-05-12T09:21:45Z")

</div>

Is this piloting in the local browser? What happens if you pilot on Pavlovia? What version of PsychoPy are you using? Do you have a QUEST staircase?

---

<div class="post-metadata">

**Author:** ![gjd8009](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gjd8009](https://discourse.psychopy.org/u/gjd8009)\
**Post date:** [May 12, 2025, 9:30am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/8 "2025-05-12T09:30:42Z")

</div>

Hi, thank you so much for your reply.  
I’m using version2024.2.4.  
I was piloting both locally and via Pavlovia. I get the same error in both cases, “unable to download resource…” whether I pilot locally or on Pavlovia (in pilot mode).  
In addition to this, whenever I try to synch a study, I get the SSL error, so I cannot upload any new study/version on Pavlovia. I wonder if the two things are related.  
Also, yes, I do have a QUEST staircase implemented within the task. This was all working perfectly fine, both locally or on Pavlovia, until Wednesday evening.

---

<div class="post-metadata">

**Author:** ![apitiot](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@apitiot](https://discourse.psychopy.org/u/apitiot)\
**Post date:** [May 12, 2025, 10:37am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/9 "2025-05-12T10:37:28Z")

</div>

Dear all,

The issue had to do with our latest SSL certificate (for secure https connections) not correctly including the [lib.pavlovia.org](http://lib.pavlovia.org) domain, despite the use of a wild card.  
I have fixed that issue and the above-mentioned libraries are now correctly loading.  
With my apologies for the mishap!

Alain

---

<div class="post-metadata">

**Author:** ![gjd8009](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gjd8009](https://discourse.psychopy.org/u/gjd8009)\
**Post date:** [May 12, 2025, 10:52am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/10 "2025-05-12T10:52:09Z")

</div>

Hi, thank you so much: the pilot now works again on Pavlovia, however unfortunately I still get an error when synching from psychopy to pavlovia/gitlab, please see the error traceback:

> Traceback (most recent call last):  
> File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 1612, in onPavloviaSync  
> File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia\_ui/project.py”, line 854, in syncProject  
> File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 912, in sync  
> File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 1149, in firstPush  
> File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 1315, in commit  
> File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 986, in   
> File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 1598, in \_call\_process  
> File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 1388, in execute  
> git.exc.GitCommandError: Cmd(‘git’) failed due to: exit code(1)  
> cmdline: git commit -m Push initial project files  
> stdout: ‘On branch master  
> nothing to commit, working tree clean’

---

<div class="post-metadata">

**Author:** ![gjd8009](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gjd8009](https://discourse.psychopy.org/u/gjd8009)\
**Post date:** [May 12, 2025, 11:00am UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/11 "2025-05-12T11:00:03Z")

</div>

it seems that also the synch is back working now. I logged in and out of pavlovia/closed/reopened psychopy twice. Just leaving it here in case it might be useful to someone else 🙂

---

<div class="post-metadata">

**Author:** ![abraver](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/abraver/32/37935_2.png) [@abraver](https://discourse.psychopy.org/u/abraver)\
**Post date:** [May 12, 2025, 2:50pm UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/12 "2025-05-12T14:50:38Z")

</div>

@apitiot: Can confirm this now works for me. Thanks!

---

<div class="post-metadata">

**Author:** ![Jose\_Ruiz\_A](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jose_ruiz_a/32/45258_2.png) [@Jose\_Ruiz\_A](https://discourse.psychopy.org/u/Jose_Ruiz_A)\
**Post date:** [June 3, 2025, 9:35pm UTC](https://discourse.psychopy.org/t/pavlovia-study-suddenly-unable-to-download-a-js-resource/44770/13 "2025-06-03T21:35:11Z")

</div>

Hi! Could you verify the links to the libraries? They are not working for me
