Browsing folder with large amount of files on external storage (Local) not working with latest iOS app version 4.1.0
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- Update to latest Version. 4.1.0
- Try to open folder on external storage (Local) with many files in it. In my case more then 4000.
Expected behaviour
Open folder and see all files.
Actual behaviour
Folder appears empty on iOS.
Browsing the folder in browser (Chrome, Firefox) works fine. it seems that the iOS client has a bug.
Logs
2021-12-08 15:57:26 Network response request: http://xxx.xxx.xxx.xxx/remote.php/dav/files/user/external storage/dir, result: failure(Alamofire.AFError.sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x283008e10 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <9D336D2C-1360-488E-AEF4-33F6F7D20F07>.<23>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <9D336D2C-1360-488E-AEF4-33F6F7D20F07>.<23>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=http://xxx.xxx.xxx.xxx/remote.php/dav/files/user/external storage/dir, NSErrorFailingURLKey=http://xxx.xxx.xxx.xxx/remote.php/dav/files/user/external storage/dir, _kCFStreamErrorDomainKey=4}))
Reasoning or why should it be changed/implemented?
It was working fine with the previous version.
Environment data
iOS version:
15.1
Nextcloud iOS app version:
4.1.0.17
Web server:
Apache, nginx -> same on both (tested)
Database:
postgres
PHP version:
7 and 8
Nextcloud version: see Nextcloud admin page
22 and 23
Question: Is there a way to install the previous version?
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 by reproducing folder browsing in the iOS app with more than 4,000 files on Local external storage, then inspect the DAV request shown in the logs and its timeout behavior. Done means the folder loads and displays its files in the affected iOS environment without the request timing out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100