Sync fails on to-be-continuous/spectral
Since today, sync fails on our self-managed instance. Several projects like bruno, sphinx,... succeed, but it always fails on to-be-continuous/spectral.
- 🏠 Project to-be-continuous/spectral (52371414) => to-be-continuous/spectral...
- properties: up-to-date (16571)
- avatar image: up-to-date (https://gitlab.com/uploads/-/system/project/avatar/52371414/logo.png / https://gitlab.kuleuven.be/uploads/-/system/project/avatar/16571/logo.png) size: 23751
- git repository: up-to-date (1 branches and 15 tags)
- default branch: up-to-date (main)
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/requests/models.py", line 820, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "/usr/local/lib/python3.13/site-packages/urllib3/response.py", line 1063, in stream
yield from self.read_chunked(amt, decode_content=decode_content)
File "/usr/local/lib/python3.13/site-packages/urllib3/response.py", line 1219, in read_chunked
self._update_chunk_length()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/urllib3/response.py", line 1149, in _update_chunk_length
raise ProtocolError("Response ended prematurely") from None
urllib3.exceptions.ProtocolError: Response ended prematurely
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/gitlab-cp", line 8, in <module>
sys.exit(run())
~~~^^
File "/usr/local/lib/python3.13/site-packages/gitlab_cp/sync.py", line 1325, in run
client.sync_group(src_group, dest_parent_group)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/gitlab_cp/sync.py", line 865, in sync_group
self.sync_project(
~~~~~~~~~~~~~~~~~^
self.src_client.projects.get(src_project.get_id()), dest_group
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/gitlab_cp/sync.py", line 721, in sync_project
self.sync_releases(src_project, dest_project)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/gitlab_cp/sync.py", line 195, in sync_releases
src_releases = src_project.releases.list(all=True)
File "/usr/local/lib/python3.13/site-packages/gitlab/exceptions.py", line 344, in wrapped_f
return f(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/gitlab/mixins.py", line 247, in list
obj = self.gitlab.http_list(path, **data)
File "/usr/local/lib/python3.13/site-packages/gitlab/client.py", line 905, in http_list
return list(GitlabList(self, url, query_data, **kwargs))
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/gitlab/client.py", line 1177, in __init__
self._query(url, query_data, **self._kwargs)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/gitlab/client.py", line 1187, in _query
result = self._gl.http_request("get", url, query_data=query_data, **kwargs)
File "/usr/local/lib/python3.13/site-packages/gitlab/client.py", line 731, in http_request
result = self._backend.http_request(
method=verb,
...<7 lines>...
**opts,
)
File "/usr/local/lib/python3.13/site-packages/gitlab/_backends/requests_backend.py", line 157, in http_request
response: requests.Response = self._client.request(
~~~~~~~~~~~~~~~~~~~~^
method=method,
^^^^^^^^^^^^^^
...<7 lines>...
**kwargs,
^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.13/site-packages/requests/sessions.py", line 746, in send
r.content
File "/usr/local/lib/python3.13/site-packages/requests/models.py", line 902, in content
self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/requests/models.py", line 822, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: Response ended prematurely