ios icon indicating copy to clipboard operation
ios copied to clipboard

Browsing folder with large amount of files on external storage (Local) not working with latest iOS app version 4.1.0

Open mrtnd opened this issue 2 years ago • 4 comments

Steps to reproduce

  1. Update to latest Version. 4.1.0
  2. 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?

mrtnd avatar Dec 08 '21 15:12 mrtnd

Hi thanks for this report, I knows this bug from several years but I don't have a fix from server team.

marinofaggiana avatar Dec 10 '21 09:12 marinofaggiana

Hi marinofaggiana, thanks for the reply. I don't think it is a server related. When using a desktop browser, i can browse through folders without problems. It takes couple of seconds till files are shown but it works. It was also working with the previous iOS client version (4.0.6 i think).

mrtnd avatar Dec 10 '21 12:12 mrtnd

It's an issue of WebDAV, registered from me from several years. Ciao

marinofaggiana avatar Dec 10 '21 12:12 marinofaggiana

Could you share a link to server bug?

CapSel avatar Aug 12 '22 10:08 CapSel