Closed C8opmBM closed 4 months ago
Hi @C8opmBM , thanks for reporting this!
We are not able to reproduce this.
Let us know the android app version and the server version.
It would be great if you can send us more extended logs to android-app@owncloud.com
Also, we are close to releasing the first beta to support spaces, stay tuned!
Hello @abelgardep
Phone is a Pixel 6
running Android 13
.
Android app version is: 3.0.3
ownCloud is Infinite Scale (Community Edition) Version 2.0.0+8bd4c3a9a Web client version 7.0.0-rc.16 Desktop client version: 3.2.0.10193
Will try to capture more logs and will get back to you, or maybe I will wait for the release of the next android version to test it there. Thank you!
something in the middle of the app and the server (proxies or similar)?
You mean VPN or something, or reverse proxy? If reverse proxy, yes I use caddy v2 with my domain, and auth is done via Authelia oidc. But all other clients work normally (web, desktop), even the android works, the issue, as said is with some files only, which is weird.
Just tested now with some other file types, even .yaml or .log cannot be downloaded, yet their preview appear (as in a thumbnail with text). If there was an issue with the proxy, I assume all files would have had issues, which is not the case.
Tested download ok so far for:
images (jpg, jpeg, png, ico
)
archives (zip, 7z)
pdfs
Not working:
.txt .yaml .log opml
I've sent the logs to the email you provided, the file I tested with is feeds.opml
(to seach against the log)
I've also browsed Owncloud folder in the phone with the file explorer and tried to open the files there, same error, file cannot be downloaded.
I will link you the log here as well, just in case: https://privatebin.net/?89f8e469afc2f0f8#QCiUFzR4EvMdZEP6P6jv85daAws6B1TxRAzW53mRNjn
LE: just to mention, there's no issues with uploading these files or similar files. Problem only with the download.
I see, thanks for the logs.
We try to recover the Content-Length
header from the response and it's missing. You can check the download with this request id: 577b51d5-5071-4e05-9f18-0c2be50f89cd
That header is missing.
In the logs for the downloads of images check if the Content-Length
header is there.
Could be related to the reverse proxy, as this issue -> https://github.com/owncloud/android/issues/3800
Thanks, yes I see it's missing. I've searched the logs, and Content-Length appear for other files pdf zip jpg
but not for the ones I described txt opml yaml log
The issue is, I have no additional headers added in the caddyfile (as opposed to issue #3800 which added the gzip
header).
Still unsure where the problem is, why some get the header while others don't. Will look more into it, thank you!
Coming back to this, running the latest android version 4.0 (2d8ded605) still exhibits the same behaviour. Some files won't download.
Hi @C8opmBM! After your report in March, we created this issue to try to solve it: https://github.com/owncloud/android/issues/3967. It's pending and we'll work on that ASAP! Thanks for your feedback! We'll keep you updated 😃
@JuancaG05 I understand this takes time and you have a lot on your plates, but the title above reads [FEATURE REQUEST],
whereas this is a bug which makes the android app unreliable and thus unusable.
I’d more interested in fixing the root cause. Content length still missing with latest oCIS version? Can it reproduced? Issue open in the oCIS repository?
Hello, android version 4.2.0, same behaviour, missing content lenght. Some filetypes work, some don't.
Server info:
ownCloud 6.0.0.12867-alpha.1 7aea4b Libraries Qt 6.6.0, OpenSSL 3.1.4 24 Oct 2023 Using virtual files plugin: wincfapi OS: windows-10.0.19045 (build arch: x86_64, CPU arch: x86_64) QPA: windows
I see, thanks for the logs.
We try to recover the
Content-Length
header from the response and it's missing. You can check the download with this request id:577b51d5-5071-4e05-9f18-0c2be50f89cd
That header is missing.In the logs for the downloads of images check if the
Content-Length
header is there.Could be related to the reverse proxy, as this issue -> #3800
I feel pretty dumb, as my caddy config have been importing all this time a longish snippet which also contains encode zstd gzip
therefore the issue was related indeed to #3800
All this time :)
Removed it, and all is fine. I really am sorry, this can be closed. Have a great day!
Thanks for your engagement @C8opmBM !. Happy that the issue is not there anymore.
Closing.
I'm running ocis web, desktop and android without issues (oidc is Authelia).
Today I noticed a weird behaviour, where the android client won't download some file types (e.g. .txt and .opml). Other file types I tested, images (png, jpg) and documents in pdf, they download normally.
I made a screen grab and post some logs with a 404 response for the files I mention above.
Any insights?