Persistent "connection failed" on only SOME autoupload files, retry does not hit the server
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
1. Enable autoupload for photos
2. Take some photos
3. Observe "connection failed" for approx 1/8 of photos.
### Expected behaviour
All photos should either upload or fail. Retry should make a visible HTTP request to the server.
### Actual behaviour
One photo will get stuck with "connection failed". Others taken before or after will upload successfully. Retrying the failed photo will always get the same "connection failed", but leaves no trace in nginx access.log or error.log.
### Android version
12
### Device brand and model
samsung galaxy s21
### Stock or custom OS?
Stock
### Nextcloud android app version
30.20.3
### Nextcloud server version
24.0.2
### Using a reverse proxy?
Yes
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
If I manually "share" the photo to the camera uploads directory, it works fine. Autoupload yhen correctly raises the conflict dialog. So it must be getting SOME information.
Sorry no logcat for now but i'll attach one the next time the issue appears.
Contributor guide
Assessment
This issue has not been assessed yet.