-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Error when downloading files on my personal server #3800
Comments
Works on iOS device |
Hi @nuxlight! Thanks for opening a issue! 🍻 Within this and the next week, we plan to release the big 3.0 version of the app, in which we replaced the operations (for example, Check it and let us know please! Any more feedback is always welcome of course! 👍 |
Hi @JuancaG05 😃 |
Sorry @JuancaG05, but I already have an error with the 3.0-beta3 logs here :
Unfortley, I don't have time now to launch the app in debug mod, maybe this evening |
Ok @nuxlight, thanks a lot for the logs! These are more useful since they use the new code. We'll take a look and will let you know! 👍 |
@nuxlight i can not reproduce the problem with Android |
Okay I've configured the project in Android Studio to have the LogCat, here are the logs :
I try to add a breakpoint on line 164 (on DownloadFileOperation class) and with the function Here is the value of parents variable 👇 |
You have a mail @jesmrec to test on my server instance 👍 |
@nuxlight You sent the credentials , but the URL |
@jesmrec Sorry... I re-send you a mail with thiat 👍 |
Thanks a lot @nuxlight! I was able to reproduce the problem, and i got the stacktrace posted above. So, i checked the network dialog to scope some differences with the expected behaviour. Both servers (nuxlight's and mine's) have the same status:
so, we are running same stuff. Next step. Perform download of same file in same location in both servers, checking the network dialog. Both return Headers in nuxlight's server: Headers in my server: There are some differences but the main difference, attending the known info is
Why both servers, under the same version, sent different responses to the same action? don't have an answer for that yet. Any special server setup on your side @nuxlight? Are you reproducing the problem with After these checks your server seems to be down now |
Yes I have a reverse proxy Traefik in front of my ocis server. |
Okay I think we found the problem !!! 😄 @jesmrec I have added this middleware on my Traefik configuration : gzip
I Just remove this middleware, and now I can download files, so I think this is why you don't see the content-lenght information on the headers. |
Ok! so, we can close this one. Thanks anyway for reporting, and please reopen if any other related issue arises. |
Actual behaviour
Expected behaviour
Steps to reproduce
Can this problem be reproduced with the official owncloud server? No
(url: https://demo.owncloud.org, user: test, password: test)
Environment data
Android version: 12
Device model: A21s
Stock or customized system: Stock
ownCloud app version:
ownCloud server version: OCIS v2.0
Logs
ownCloud android log
The text was updated successfully, but these errors were encountered: