# HTTP 500 curl 56 Error Message when synchronizing

**URL:** <https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456>\
**Category:** Online experiments\
**Tags:** online, pavlovia\
**Created:** [December 15, 2022, 4:13pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456 "2022-12-15T16:13:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohanH](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@JohanH](https://discourse.psychopy.org/u/JohanH)\
**Post date:** [December 15, 2022, 4:13pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/1 "2022-12-15T16:13:02Z")

</div>

Dear all,

URL of experiment: no url yet, because experiment fails to synchronize.

Description of the problem:  
When I try to synchronize my experiment, I get the following error message. (This message even occurs when I attempt to synchronize a brand new, almost empty experiment)

Any suggestions?

Best wishes,  
Johan  
Traceback (most recent call last):  
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\exceptions.py”, line 304, in wrapped\_f  
return f(\*args, \*\*kwargs)  
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\mixins.py”, line 112, in get  
server\_data = self.gitlab.http\_get(path, \*\*kwargs)  
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\client.py”, line 662, in http\_get  
result = self.http\_request(  
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\client.py”, line 628, in http\_request  
raise gitlab.exceptions.GitlabHttpError(  
gitlab.exceptions.GitlabHttpError: 404: 404 Project Not Found

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

Traceback (most recent call last):  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 663, in project  
self.\_project = self.session.gitlab.projects.get(self.id)  
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\v4\objects\projects.py”, line 782, in get  
return cast(Project, super().get(id=id, lazy=lazy, \*\*kwargs))  
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\exceptions.py”, line 306, in wrapped\_f  
raise error(e.error\_message, e.response\_code, e.response\_body) from e  
gitlab.exceptions.GitlabGetError: 404: 404 Project Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1374, in onPavloviaSync  
pavlovia\_ui.syncProject(parent=self, file=self.filename, project=self.project)  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia\_ui\project.py”, line 743, in syncProject  
if not project.localRoot or not Path(project.localRoot).is\_dir():  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 746, in localRoot  
if self.project.path\_with\_namespace in knownProjects:  
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 666, in project  
raise KeyError(f"Could not find GitLab project with id {self.id}.")  
KeyError: ‘Could not find GitLab project with id 268402.’

---

<div class="post-metadata">

**Author:** ![hkim174](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@hkim174](https://discourse.psychopy.org/u/hkim174)\
**Post date:** [July 5, 2023, 8:06pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/2 "2023-07-05T20:06:32Z")

</div>

Having the same issue here. Did you resolve the problem?

---

<div class="post-metadata">

**Author:** ![JohanH](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@JohanH](https://discourse.psychopy.org/u/JohanH)\
**Post date:** [July 6, 2023, 12:44pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/3 "2023-07-06T12:44:50Z")

</div>

Hi,

it some time ago now, but I think I solved it by directly uploading to [gitlab.pavlovia.org](http://gitlab.pavlovia.org).

There is a plus sign at the top of the project page that lets you upload files to your project.

Best wishes,  
Johan

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [July 7, 2023, 3:08pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/4 "2023-07-07T15:08:18Z")

</div>

I think this was fixed in psychopy release 2023.1. It was an issue where the name no longer pointed to the expected project ID (e.g. if you’d removed the project then recreated with the same name) but PsychoPy is handling this and a number of similar cases much better now

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 20, 2025, 12:48pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/5 "2025-02-20T12:48:01Z")

</div>

I am having same problem. What is the solution to fix it? I am using v2023.2.3  
URL of experiment:

Description of the problem:Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 1452, 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/app/pavlovia\_ui/sync.py”, line 47, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 847, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 925, in push  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 915, in push  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 542, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 1005, in \_call\_process  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 822, in execute  
git.exc.GitCommandError: Cmd(‘/Applications/PsychoPy.app/Contents/Resources/git-core/git’) failed due to: exit code(1)  
cmdline: /Applications/PsychoPy.app/Contents/Resources/git-core/git push [Sign in · GitLab](https://oauth2:4c51e6635c276d74801f60627514323b394225ab03b70ffb1a8f168335da45db@gitlab.pavlovia.org/kaykee/lexdecisionb) master  
stderr: ‘warning: redirecting to [Sign in · GitLab](https://gitlab.pavlovia.org/kaykee/lexdecisionb.git/)  
error: RPC failed; HTTP 500 curl 56 The requested URL returned error: 500  
fatal: the remote end hung up unexpectedly  
fatal: the remote end hung up unexpectedly  
Everything up-to-date’

---

<div class="post-metadata">

**Author:** ![JohanH](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@JohanH](https://discourse.psychopy.org/u/JohanH)\
**Post date:** [February 20, 2025, 8:24pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/6 "2025-02-20T20:24:29Z")

</div>

Hi,

it some time ago now, but I think I solved it by directly uploading to [gitlab.pavlovia.org](http://gitlab.pavlovia.org).

There is a plus sign at the top of the project page that lets you upload files to your project.

Best wishes,  
Johan

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 23, 2025, 12:39pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/7 "2025-02-23T12:39:58Z")

</div>

Hi, when I signed into gitlab and tried to upload the file there, it says it already exists. Does anyone have another idea why this isn’t syncing the uploaded file?

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 23, 2025, 12:42pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/8 "2025-02-23T12:42:08Z")

</div>

Hi, I am using psychopy version 2023.2.3. When I try to sync the file which has a small change, to the existing project on pavlovia, I get the error message pasted below and it doesn’t sync. I tried someone else’s solution to upload the file to gitlab, but when I tried that, it says the file already exists. Any idea how to sync this change?

---

<div class="post-metadata">

**Author:** ![JohanH](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@JohanH](https://discourse.psychopy.org/u/JohanH)\
**Post date:** [February 24, 2025, 5:06am UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/9 "2025-02-24T05:06:40Z")

</div>

Hi,

I think that you need to delete the old file from github before you can upload the new file.

Best wishes,  
Johan

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 24, 2025, 11:26am UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/10 "2025-02-24T11:26:27Z")

</div>

Hi again, thanks for your reply. Deleted the old file, uploaded the new file. I still get the same error message that the file is not syncing.

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 24, 2025, 11:29am UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/11 "2025-02-24T11:29:38Z")

</div>

URL of experiment:

Description of the problem: I have two experiments on Pavlovia. I was able to sync an update to the one experiment. The other experiment will not sync. I keep getting an error message. Based on other suggestions, I deleted the original file and uploaded the new file to gitlab. But the update will still not sync. This is Psychopy version 2023.2.3. Any ideas?

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 24, 2025, 11:36am UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/12 "2025-02-24T11:36:09Z")

</div>

I forgot to add the error message:  
Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 1452, 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/app/pavlovia\_ui/sync.py”, line 47, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 847, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 925, in push  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 915, in push  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 542, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 1005, in \_call\_process  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 822, in execute  
git.exc.GitCommandError: Cmd(‘/Applications/PsychoPy.app/Contents/Resources/git-core/git’) failed due to: exit code(1)  
cmdline: /Applications/PsychoPy.app/Contents/Resources/git-core/git push [Sign in · GitLab](https://oauth2:4c51e6635c276d74801f60627514323b394225ab03b70ffb1a8f168335da45db@gitlab.pavlovia.org/kaykee/lexdecisionb) master  
stderr: ‘warning: redirecting to [Sign in · GitLab](https://gitlab.pavlovia.org/kaykee/lexdecisionb.git/)  
error: RPC failed; HTTP 500 curl 56 The requested URL returned error: 500  
fatal: the remote end hung up unexpectedly  
fatal: the remote end hung up unexpectedly  
Everything up-to-date’

---

<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 24, 2025, 11:41am UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/13 "2025-02-24T11:41:55Z")

</div>

Try the solution here:

> [@Internal error when synchronizing Psychopy to Pavlovia](https://discourse.psychopy.org/t/internal-error-when-synchronizing-psychopy-to-pavlovia/43761):
>
> Description of the problem: My experiment runs perfectly offline, but when I tried to synchronize it to Pavlovia, the internal error occurs. I’ve tried several methods, including turning my Mac into safe mode, uninstalling the app and downloading it again, neither of them work frowning The following is the report of my error: version of Psychopy: v2023.2.3 Traceback (most recent call last): File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia\_ui/menu.py”…

---

<div class="post-metadata">

**Author:** ![JohanH](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@JohanH](https://discourse.psychopy.org/u/JohanH)\
**Post date:** [February 24, 2025, 11:43am UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/14 "2025-02-24T11:43:27Z")

</div>

Syncing takes place between Psychopy Builder and Pavlovia. Uploading a different file will not solve that.  
But when you run online, the file that is on github is the one that is used. So if you put your new file there, you should be able to run the correct version.

Best wishes,  
Johan

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 24, 2025, 12:09pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/15 "2025-02-24T12:09:02Z")

</div>

I found a lib folder in the experiment folder that will not sync. Can I delete that folder?

---

<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 24, 2025, 12:19pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/16 "2025-02-24T12:19:07Z")

</div>

lib folders are created locally when you pilot an experiment in a local browser. They should not be uploaded to GitLab. This should be automatic, since they should be specified in the .gitignore file.

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 24, 2025, 1:09pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/17 "2025-02-24T13:09:33Z")

</div>

I am not explaining this problem very well. I made a few additions to the info dialogue that I want to collect at the start of the experiment. I was able to sync these changes with one experiment but for the second one, I continue to get error messages when I try snycing to Pavlovia from Builder. I have tried:

1. removing and adding the same (not new) Builder file to Gitlab.
2. removing files so that there are not large files in the experiment folder.  
I keep getting the same error message.

---

<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 24, 2025, 1:19pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/18 "2025-02-24T13:19:01Z")

</div>

> [@kaykee](#):
>
> I continue to get error messages

This is too vague to be helpful. Is your error message identical to the below?

```auto
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 1452, 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/app/pavlovia_ui/sync.py”, line 47, in sync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 847, in sync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 925, in push
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 915, in push
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 542, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 1005, in _call_process
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 822, in execute
git.exc.GitCommandError: Cmd(‘/Applications/PsychoPy.app/Contents/Resources/git-core/git’) failed due to: exit code(1)
cmdline: /Applications/PsychoPy.app/Contents/Resources/git-core/git push Sign in · GitLab master
stderr: ‘warning: redirecting to Sign in · GitLab
error: RPC failed; HTTP 500 curl 56 The requested URL returned error: 500
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date’

```

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 24, 2025, 1:22pm UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/19 "2025-02-24T13:22:28Z")

</div>

Yes, I thought I had pasted it above.  
Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 1452, 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/app/pavlovia\_ui/sync.py”, line 47, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 847, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 925, in push  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 915, in push  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 542, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 1005, in \_call\_process  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 822, in execute  
git.exc.GitCommandError: Cmd(‘/Applications/PsychoPy.app/Contents/Resources/git-core/git’) failed due to: exit code(1)  
cmdline: /Applications/PsychoPy.app/Contents/Resources/git-core/git push [Sign in · GitLab](https://oauth2:4c51e6635c276d74801f60627514323b394225ab03b70ffb1a8f168335da45db@gitlab.pavlovia.org/kaykee/lexdecisionb) master  
stderr: ‘warning: redirecting to [Sign in · GitLab](https://gitlab.pavlovia.org/kaykee/lexdecisionb.git/)  
error: RPC failed; HTTP 500 curl 56 The requested URL returned error: 500  
fatal: the remote end hung up unexpectedly  
fatal: the remote end hung up unexpectedly  
Everything up-to-date’

---

<div class="post-metadata">

**Author:** ![kaykee](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@kaykee](https://discourse.psychopy.org/u/kaykee)\
**Post date:** [February 25, 2025, 8:10am UTC](https://discourse.psychopy.org/t/http-500-curl-56-error-message-when-synchronizing/32456/20 "2025-02-25T08:10:09Z")

</div>

If others are having this problem: downloading the latest version of PsychoPy solved the issue. Thanks for everyone’s time.
