-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap30-feedbackbugfeature: object storage
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Nextcloud does not retry requests to S3, when there is a 5xx response. Also see https://repost.aws/en/knowledge-center/http-5xx-errors-s3
A 503 response could look like:
{"reqId":"...................","level":3,"time":"2025-03-25T13:51:52+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job OCA\\Files\\BackgroundJob\\TransferOwnership (id: ........., arguments: {\"id\":21})","userAgent":"--","version":"30.0.8.2","exception":{"Exception":"OCA\\DAV\\Connector\\Sabre\\Exception\\BadGateway"
...
AWS HTTP error: Server error: `PUT [https://.........................`](https://...............) resulted in a `503 Service Unavailable`
...
The operation (e.g. TransferOwnership) fails and there is no info about this to the user.
Steps to reproduce
Execute requests to S3 and try to trigger a 5xx response
(it happened for a TransferOwnership request to an S3 environment with objectstore_multibucket, so the data has to be downloaded to nextcloud and be uploaded to the other bucket.)
Expected behavior
If requests to S3 return 5xx, Nextcloud should retry the request.
Nextcloud Server version
30
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap30-feedbackbugfeature: object storage
Type
Projects
Status
☑️ Done