-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitLab API call resulting in RemoteDisconnected Exception #492
Comments
Hey, @rossbeehler! We already have retries. Aren’t they covering this kind of error? Perhaps if you increase app verbosity level you will see that. |
I have dug deeper into this. The retry mechanism is not applied in all cases by One case are the POST requests which will not be retried as they are not idempotent. To be precise, if the request was a POST but it was not yet sent, f.e. a connection timeout occurred while making the connection ( But in the case of your The only reasonable way to handle such error then would be retrying processing of the whole section for a given entity. I have tried to do that in #497. |
I merged the PR mentioned above and released v3.4.2 with the improvement. Let me know if you still observe errors with this version, @rossbeehler! |
Have a really large GitLab.com (SaaS) project structure (3500+ projects), and when running gitlabform over the entire structure, we get a small handful of these errors:
Aside from adding some sort of retry mechanism in
gitlabform/gitlab/core.py
, any ideas of what might help us prevent this issue?The text was updated successfully, but these errors were encountered: