-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Wrap S3 multipart upload exception #31195
Conversation
Signed-off-by: Louis Chemineau <louis@chmn.me>
5472494
to
1335a54
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks fine
I'm not 100% sure about "502 bad gateway" even though technically Nextcloud is like a proxy here. Let's see what the second reviewer thinks
Me neither, I would prefer the timeout code (408) but I didn't find a way to check if the error was from a timeout or something else. But even the timeout error code would not reflect the error correctly. |
Signed-off-by: Louis Chemineau <louis@chmn.me>
1335a54
to
bc2c02f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 🐘
CI failure unrelated |
/backport to stable23 |
/backport to stable22 |
The backport to stable22 failed. Please do this backport manually. |
The returned HTTP code is now 502 instead of 500 in case of timeout during S3 bucket upload.
Hopefully, this would help unofficial clients to deal with this kind of error in a better way.