Skip to content
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

Nextcloud App crashes on android #5305

Closed
rainer042 opened this issue Jan 25, 2020 · 3 comments · Fixed by nextcloud/android-library#394
Closed

Nextcloud App crashes on android #5305

rainer042 opened this issue Jan 25, 2020 · 3 comments · Fixed by nextcloud/android-library#394

Comments

@rainer042
Copy link

Steps to reproduce

  1. Start downloding a file from your nextcloud. App crashes.
  2. Possibly an invalid cert could cause this problem. Browsing the directory hierarchies does work but downloading a file does not.

Environment data

Android version:9

Device model: S8

Stock or customized system:

Nextcloud app version:
3.10

************ CAUSE OF ERROR ************

javax.net.ssl.SSLPeerUnverifiedException: Hostname owncloud.fritz.box not verified:
certificate: sha256/aMkcz+3MsJPJhiMiYOf1199DcZNSj9Ava/m3JRoqVmQ=
DN: CN=.......
subjectAltNames:
at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:334)
at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:284)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:169)
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:258)
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:127)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:257)
at okhttp3.RealCall.execute(RealCall.java:93)
at com.nextcloud.common.OkHttpMethodBase.execute(OkHttpMethodBase.kt:126)
at com.nextcloud.common.NextcloudClient.execute(NextcloudClient.kt:67)
at com.owncloud.android.lib.resources.activities.GetActivitiesRemoteOperation.run(GetActivitiesRemoteOperation.java:131)
at com.nextcloud.common.NextcloudClient.execute(NextcloudClient.kt:63)
at com.owncloud.android.ui.fragment.FileDetailActivitiesFragment.lambda$fetchAndSetData$5$FileDetailActivitiesFragment(FileDetailActivitiesFragment.java:331)
at com.owncloud.android.ui.fragment.-$$Lambda$FileDetailActivitiesFragment$N7POe6TZvoGcuV2qP-niPxY_7t4.run(Unknown Source:12)
at java.lang.Thread.run(Thread.java:764)

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30100090
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: samsung
Device: dreamlte
Model: SM-G950F
Id: PPR1.180610.011
Product: dreamltexx

************ FIRMWARE ************
SDK: 28
Release: 9
Incremental: G950FXXS6DSL2

@rainer042 rainer042 added the bug label Jan 25, 2020
@DragonQ
Copy link

DragonQ commented Jan 26, 2020

I have also had this error when trying to view directory details.

ezaquarii added a commit to nextcloud/android-library that referenced this issue Feb 3, 2020
ezaquarii added a commit to nextcloud/android-library that referenced this issue Feb 3, 2020
ezaquarii added a commit to nextcloud/android-library that referenced this issue Feb 3, 2020
ezaquarii added a commit to nextcloud/android-library that referenced this issue Feb 4, 2020
ezaquarii added a commit to nextcloud/android-library that referenced this issue Feb 5, 2020
ezaquarii added a commit to nextcloud/android-library that referenced this issue Feb 6, 2020
ezaquarii added a commit to nextcloud/android-library that referenced this issue Feb 6, 2020
tobiasKaminsky pushed a commit to nextcloud/android-library that referenced this issue Feb 7, 2020
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.10.2 milestone Feb 10, 2020
@tobiasKaminsky
Copy link
Member

Can you try out our dev version (you can install it in parallel) and give us feedback:
https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#developement-release

@rainer042
Copy link
Author

I tried the dev version: I tried to to download the same file that did not work with current stable android version which however now worked with the dev version. So it seems that this bug is fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants