-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
crash displying a pdf file #5245
Comments
Nextcloud server has no domain name, only ip address with snakeoil certificate. |
I have the same problem, not only PDF but other files as well (odt, doc for example). And sometimes it only happens the first time I try to download/open a file, when I restart the client and try to open the same file everything works OK. Here is my log: `************ CAUSE OF ERROR ************ javax.net.ssl.SSLPeerUnverifiedException: Hostname www.sever.lan not verified: ************ APP INFORMATION ************ ************ DEVICE INFORMATION ************ ************ FIRMWARE ************ I also noticed that this only happens when using the client with my local/internal NC server (signed with my own CA). Using the client with Disroot.org for example does not produce such errors. |
Just to add another observation. This problem only occurs if I tap on the file I want to open. If on the other hand I tap on the 3 dot menu and choose "Download", the file is downloaded without errors and I can than open it normally. |
Cc @tobiasKaminsky and @ezaquarii for okhttp topic |
Avalx. The behavior you mentioned has happened frequently, but the crashing and error report is new. Not just pdf, but videos. |
Also text files cause this error until they have time to download. |
Is this with self-signed certs? |
I am using self signed certs. It is a private storage without domain name. |
I have the same issue as otherwise reported on my own server https://sco.popho.be (TLS 1.3 only, Let's Encrypt certificate, nginx). Crash report below.
|
I have had this happen frequently since I first reported it. If I can download the file first then the error generally doesn't occur. Never had this problem with Dropbox. It streams anything streamable without complaint. |
Fixes nextcloud/android#5245 Fixes nextcloud/android#5305 Fixes nextcloud/android#5310 Fixes nextcloud/android#5331 Fixes nextcloud/android#5333 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Fixes #393 Fixes nextcloud/android#5245 Fixes nextcloud/android#5305 Fixes nextcloud/android#5310 Fixes nextcloud/android#5331 Fixes nextcloud/android#5333 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Fixes #393 Fixes nextcloud/android#5245 Fixes nextcloud/android#5305 Fixes nextcloud/android#5310 Fixes nextcloud/android#5331 Fixes nextcloud/android#5333 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Fixes #393 Fixes nextcloud/android#5245 Fixes nextcloud/android#5305 Fixes nextcloud/android#5310 Fixes nextcloud/android#5331 Fixes nextcloud/android#5333 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Fixes #393 Fixes nextcloud/android#5245 Fixes nextcloud/android#5305 Fixes nextcloud/android#5310 Fixes nextcloud/android#5331 Fixes nextcloud/android#5333 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Fixes #393 Fixes nextcloud/android#5245 Fixes nextcloud/android#5305 Fixes nextcloud/android#5310 Fixes nextcloud/android#5331 Fixes nextcloud/android#5333 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Fixes #393 Fixes nextcloud/android#5245 Fixes nextcloud/android#5305 Fixes nextcloud/android#5310 Fixes nextcloud/android#5331 Fixes nextcloud/android#5333 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Fixes #393 Fixes nextcloud/android#5245 Fixes nextcloud/android#5305 Fixes nextcloud/android#5310 Fixes nextcloud/android#5331 Fixes nextcloud/android#5333 Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
If this could stay open until the 3.10.2 client is published, it'd be better IMHO. BTW, the crash still happens on 3.10.1 (not surprising considering all the latest commits were done on 2020-02-07 when 3.10.1 was published on 2020-02-05). |
Can you try out our dev version (you can install it in parallel) and give us feedback: |
In my case the version 3.10.1 also works OK - pdf and other files as well. |
@tobiasKaminsky the 20200211 version of the dev app seems to behave correctly! |
Steps to reproduce
Expected behaviour
Pdf file should display
Actual behaviour
Flashes pdf as a text file then complains of internal error then crashes.
Environment data
Android version:
6.01
Device model:
SM-N916S
Stock or customized system:
STOCK
Nextcloud app version:
3.10.0
Nextcloud server version:
17
Logs
Web server error log
N/A```
Insert your webserver log here
The text was updated successfully, but these errors were encountered: