ios icon indicating copy to clipboard operation
ios copied to clipboard

Dowload File Connection Failed (v2.17.6)

Open jclgs opened this issue 9 years ago • 55 comments

I did the update to the latest version of 2.17.6. The app is able to connect to NextCloud and browse my server. As soon as I try to download a file, I'm getting a new window that ask for credential and I'm getting a connection failed.

Here is the info from the server when I try to download files.

Warning core Login failed: 'A0CF2E05-00C5-4F12-AFBA-6761B8032BA1' (Remote IP: '172.xx.xx.xx') 2017-08-31T20:55:59-0400

** Beta version I tested was working.

Thanks

jclgs avatar Sep 01 '17 12:09 jclgs

Hi @jclgs use LDAP for managed users or other system ?

marinofaggiana avatar Sep 01 '17 13:09 marinofaggiana

Sorry. Forgot to mention.

I use LDAP.

jclgs avatar Sep 01 '17 13:09 jclgs

I think that this is a non correct configuration of LDAP

marinofaggiana avatar Sep 01 '17 13:09 marinofaggiana

I'm able to connect well via any browser on any computer/laptop. The NextCloud IOS app is also connected. I'm able to navigate, see folder on the NextCloud server, but as soon as I'm trying to download a file, a new window appear and ask for user/pass.

How can I have a non correct LDAP config if it works perfectly except when trying to download a file?

** Android app works well.

Thanks

jclgs avatar Sep 01 '17 14:09 jclgs

ah sorry only download ? (upload) ?

marinofaggiana avatar Sep 01 '17 14:09 marinofaggiana

Upload too.

This is strange. Even if I'm typing my user/pass in that new window after trying a download/upload,, the authentication failed, but I'm still able to browse my folder on the nextcloud server.

jclgs avatar Sep 01 '17 14:09 jclgs

Hey, just found something.

The issue right now is only located on iPhone/iPad where we tested the beta version using TestFlight. On an iPhone who never download the beta version, it is working.

jclgs avatar Sep 01 '17 14:09 jclgs

with last version ?

marinofaggiana avatar Sep 01 '17 14:09 marinofaggiana

yes.

jclgs avatar Sep 01 '17 14:09 jclgs

with same user ? (username)

marinofaggiana avatar Sep 01 '17 14:09 marinofaggiana

Sorry, Same issue on an iphone who never got the beta version. Same or different user.

Also, if we try to upload a picutre, we are getting error 401.

Sorry for the mistake. Previously beta installed or not, same issue.

jclgs avatar Sep 01 '17 14:09 jclgs

Is this possible that the user pass on the authentication process when downloading the file or uploading is no longer the same.

In my Apache log, before the update, I was seeing the PROPFIND username. After the update to 2.17.6, I'm now seeing PROPFIND GUID of the user.

I'm not a pro and don't know how it works in background, but this is what I notice.

Before bgauthier [27/Aug/2017:12:35:40 -0400] "PROPFIND /remote.php/dav/files/ Now 6960C4B4-5E95-4BC3-85D9-6D2EFA0EAB46 [26/Aug/2017:20:58:24 -0400] "PROPFIND /remote.php/webdav

jclgs avatar Sep 01 '17 15:09 jclgs

read here @jclgs :

https://github.com/nextcloud/ios/issues/331

marinofaggiana avatar Sep 01 '17 15:09 marinofaggiana

This is unfortunately super strange, and something I guess we can also see on android cc @tobiasKaminsky @AndyScherzinger

The real issue is that it LOOKS like sometimes we need GUID (like favorite process) and sometimes we need "username" (whatever that is). But I'm certainly not an expert, so @MorrisJobke or @blizzz might be better suited to help with this.

mario avatar Sep 01 '17 15:09 mario

@jclgs can you please clarify is account-wide search or favoriting work for you?

mario avatar Sep 01 '17 15:09 mario

Can you explain?

What do you means by Account-Wide or favoriting ?

jclgs avatar Sep 01 '17 15:09 jclgs

If you use search does it works? Can you make a file favorite?

mario avatar Sep 01 '17 15:09 mario

Search works, but not favorite

jclgs avatar Sep 01 '17 15:09 jclgs

shrug @marinofaggiana, you use GUID for search right?

mario avatar Sep 01 '17 15:09 mario

How do we know when to use GUID or something else (also what?)? cc @blizzz and @MorrisJobke

mario avatar Sep 01 '17 15:09 mario