Photos tab empty after iOS app update – SEARCH WebDAV request cancelled (NSURLErrorDomain -999)
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Description:
After updating the Nextcloud iOS app to version 7.2.x, the Photos tab is completely empty.
Before the update, all images loaded correctly.
The logs show repeated errors indicating that the WebDAV SEARCH request is cancelled:
[ERROR] Media search failed: cancelled
Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-999 "cancelled")
The affected request is always:
SEARCH https:///remote.php/dav
As a result, the Photos tab does not load thumbnails or lists.
⸻
App version:
• Nextcloud iOS 7.2.1 → 7.2.2 (issue occurs in both)
Server version:
• Nextcloud (user does not have admin access; no server logs available)
⸻
Steps to reproduce:
1. Open Nextcloud iOS app
2. Navigate to Photos
3. App sends SEARCH request to /remote.php/dav
4. Request fails immediately with error NSURLErrorDomain -999
5. Photos tab remains empty
Expected behavior:
Photos tab should display all images as in previous versions.
Actual behavior:
SEARCH request fails instantly with “cancelled” error and Photos tab stays empty.
⸻
Additional technical info / logs:
2025-11-23 10:15:12.345 Nextcloud[12345:678901] [ERROR] Media search failed: cancelled
Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-999 "cancelled")
2025-11-23 10:15:12.346 Nextcloud[12345:678901] SEARCH https:///remote.php/dav
2025-11-23 10:15:12.347 Nextcloud[12345:678901] NSURLErrorDomain Code=-999 "cancelled"
⸻
Notes / Observations:
• The issue started after updating the app.
• Before the update, Photos loaded correctly.
• User does not have admin access on server.
• Problem seems related to iOS app cancelling the WebDAV SEARCH request.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Photos tab and trace the media search entry point that sends the WebDAV SEARCH request to /remote.php/dav. Reproduce on iOS 7.2.1 or 7.2.2, inspect the cancellation path associated with NSURLErrorDomain -999, and verify that Photos loads image lists and thumbnails without the request being cancelled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100