-
Notifications
You must be signed in to change notification settings - Fork 674
Open
Description
Description of the problem, including code/CLI snippet
Traceback (most recent call last):
File "~/p/.venv/lib/python3.12/site-packages/gitlab/exceptions.py", line 346, in wrapped_f
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "~/p/.venv/lib/python3.12/site-packages/gitlab/mixins.py", line 99, in get
server_data = self.gitlab.http_get(path, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/p/.venv/lib/python3.12/site-packages/gitlab/client.py", line 803, in http_get
result = self.http_request(
^^^^^^^^^^^^^^^^^^
File "~/p/.venv/lib/python3.12/site-packages/gitlab/client.py", line 769, in http_request
raise gitlab.exceptions.GitlabHttpError(
gitlab.exceptions.GitlabHttpError: 500: <!DOCTYPE html>
...
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "~/p/.venv/bin/e", line 10, in <module>
sys.exit(main())
^^^^^^
File "~/p/src/e/__main__.py", line 96, in real_main
project = gl.projects.get(project.id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/p/.venv/lib/python3.12/site-packages/gitlab/exceptions.py", line 348, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabGetError: 500: <!DOCTYPE html>
...Project DOES exist - it's just that Gitlab (v17.11) throws intermittent 500s
Expected Behavior
Actual Behavior
Specifications
- python-gitlab version:
- Gitlab server version (or gitlab.com):
Some issues containing the error: https://github.com/python-gitlab/python-gitlab/issues?q=sort%3Aupdated-desc%20is%3Aissue%20%22%3A%20%3C!DOCTYPE%20html%3E%22
They don't look very helpful ... except the max_retries maybe?
But I would guess this would be part of the reported error(`max_retries` exceeded (x), last error was: {ex})
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels