Error 500 Pavlovia

URL of experiment: https://gitlab.pavlovia.org/TaliaRoman

Description of the problem:

I don’t know what happened, I was modifing my experiment and I tryed to run it again online, but the

Error 500 is happening It’s just at my lab connection when I try in another internet connection this doesn’t happen so I don’t know why I can’t connect with the server.

Sorry. It looks like there’s a problem on the server. We’re looking into what’s happened.

I believe we’re back. Could you check your experiment is running again? Sorry for that (a database had shutdown and failed to restart)

Hey Jon,

I am facing a similar issue. I am trying to push files and the experiment was working till last week but I am not able to push any changes now.

‘’
Pushing files to Pavlovia
Pushing to Pavlovia for the first time…Traceback (most recent call last):
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/app/pavlovia_ui/project.py”, line 497, in syncProject
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 822, in firstPush
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 549, in
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 1015, in _call_process
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 826, in execute
git.exc.GitCommandError: Cmd(’/Applications/PsychoPy3.app/Contents/Resources/git-core/git’) failed due to: exit code(1)
cmdline: /Applications/PsychoPy3.app/Contents/Resources/git-core/git push -u https://oauth2:71af38329ead562e5e842d638a4e1fafcaa12bf6c317cd2cf0300738b6c76c4c@gitlab.pavlovia.org/sparmar34/masters_test.git master
stderr: ‘error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date’
‘’

@Sweta_Parmar, some work took place on servers yesterday evening, but things should be back up and running now.

Hi @dvbridges, I don’t know why I am still facing the same issue. I am using Psychopy mac version 3.0.4. Do you have any suggestions for how can I try something else.

Thats odd, I am not having any problems, and I do not understand what is happening with the error. @jon or @apitiot may know if it related to the server, or something local to your machine.

I would start with trying to update a new version of PsychoPy. We’re constantly fixing things at the moment and there have definitely been some fixes around syncing in the last few releases

Hey Jon.

I am getting the same error with Psychopy 3.1.0. I am also getting this error from my windows desktop too. But the experiment is working perfectly fine on my mac laptop.

Pushing files to Pavlovia
Pushing to Pavlovia for the first time…Traceback (most recent call last):
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/app/pavlovia_ui/project.py”, line 497, in syncProject
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 822, in firstPush
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 549, in
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 1015, in _call_process
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 826, in execute
git.exc.GitCommandError: Cmd(’/Applications/PsychoPy3.app/Contents/Resources/git-core/git’) failed due to: exit code(1)
cmdline: /Applications/PsychoPy3.app/Contents/Resources/git-core/git push -u https://oauth2:71af38329ead562e5e842d638a4e1fafcaa12bf6c317cd2cf0300738b6c76c4c@gitlab.pavlovia.org/sparmar34/masters_test.git master
stderr: ‘error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date’

Hi, I tried from two other machines today. But nothing is working. All the repositories remain empty. I tried from terminal too.

Hi,

I am getting this in the coder view when I export html of my experiment.

“Failed to parse as JS by esprima”

Do you think this is something that is causing an upload issue?

@Sweta_Parmar could you tell us about your study? Does it have lots of images or some large files (e.g. movies)?

Hey Jon,

I have around 300 images. The experiment was working on this link: https://pavlovia.org/run/sparmar34/masters18_4/html/
when I had only 150 photos. Now I added one more trial loop with another 150 and it is not working with any version of psychopy and on any of the computer.

Hi Jon, since yesterday I’ve the same problem, in can’t acces my Dashboard, it asks to log in, but I can’t, I get this error on my phone and my two computer:

"500

Whoops, something went wrong on our end.

Try refreshing the page, or going back and attempting the action again.

Please contact your GitLab administrator if this problem persists."

When trying to run the experiment online via the link : https://pavlovia.org/run/Animph/liste-a-r/html/
I get this :
" Unfortunately we encountered an error:

  • when starting the experiment
  • when opening a session for experiment: Liste A R
  • unable to connect to the database: localhost:27017: [Errno 111] Connection refused

Try to run the experiment again. If the error persists, contact the experimenter."

The major problem is not that my participants can’t do it online. I just can’t get the already recorded data back.

My question, is that a problem with my account or everyone encounters it ?

Thansks !

David

David - your issue is unrelated I believe - that looks like a temporary glitch in the database going down. We’ll have that back up for you shortly.

Sweta, that helps, thanks. I do at least know how to replicate the root cause of this now and we’re looking into the fix.

David, your issue should be fixed now

Thank you Jon, everything is working !
Sorry for my previous unrelated reply.

Have a nice day, and thanks for PsychoPy !

David

1 Like

@Sweta_Parmar it looks like this is something that can be configured on the local machine (if so we’ll make sure that PsychoPy configures it for you in future).

Could you try going to a command line (terminal) and pasting in this:

/Applications/PsychoPy3.app/Contents/Resources/git-core/git config --global http.postBuffer 157286400

Then try syncing your project again?

thanks,
Jon

Hi @jon, @dvbridges,

It’s Vanessa here, from the workshop last week. I was wondering if there is any news on the 500 error? Will it be best if I try uploading the whole experiment with the animations in small parts this week and see if that allows it to run on Pavlovia?

Thanks a lot,
Vanessa

Hi Jon,

I am getting the same issue with the same study “failed to parse as JS by esprima” from my Windows desktop. I need to use Windows because mac doesn’t upload to gitlab from subfolders. I have to upload entire folders like “Documents”,“Desktop” etc.

I need 4 version of the experiment in 4 different links. That means I have to have 4 subfolders with different files.

I tried this on gitbash: git config --global http.postBuffer 157286400

Now I am able to push files but I get Esprima error and I see that my link is not working. https://pavlovia.org/run/sparmar34/high_accuracy/html/