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

Timeout exception reading activities #5331

Closed
wfue-20 opened this issue Jan 27, 2020 · 6 comments · Fixed by nextcloud/android-library#394
Closed

Timeout exception reading activities #5331

wfue-20 opened this issue Jan 27, 2020 · 6 comments · Fixed by nextcloud/android-library#394

Comments

@wfue-20
Copy link

wfue-20 commented Jan 27, 2020

Steps to reproduce

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

java.net.SocketTimeoutException: timeout
at okio.SocketAsyncTimeout.newTimeoutException(Okio.kt:142)
at okio.AsyncTimeout.exit$okio(AsyncTimeout.kt:203)
at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:163)
at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:449)
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:333)
at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215)
at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
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(lambda)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.net.SocketException: socket is closed
at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(:com.google.android.gms@19831022@19.8.31 (040700-284611645):8)
at okio.InputStreamSource.read(Okio.kt:93)
at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:159)
... 26 more

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

************ DEVICE INFORMATION ************
Brand: MEDION
Device: P1050X
Model: P1050X
Id: NMF27D
Product: P1050X

************ FIRMWARE ************
SDK: 25
Release: 7.1.1
Incremental: 20190816_1638
2.
3.

Expected behaviour

  • Tell us what should happen

Actual behaviour

  • Absturz Nextcloud Version3.10

Environment data

Android version: 7

Device model:

Stock or customized system:

Nextcloud app version:

Nextcloud server version:

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

@wfue-20 wfue-20 added the bug label Jan 27, 2020
@AndyScherzinger
Copy link
Member

@wfue-20 does this happen consistently? Just asking since socket is closed point to the server taking too much time to respond.

cc @tobiasKaminsky in case timeouts need to be re-configured with the introduction of okhttp

@wfue-20
Copy link
Author

wfue-20 commented Feb 1, 2020 via email

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

tobiasKaminsky commented Feb 11, 2020

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

@tobiasKaminsky
Copy link
Member

@wfue-20 is this still happening with latest dev version?

@tobiasKaminsky
Copy link
Member

3.11 RC1 is out, can you please test this via gplay beta program?

@tobiasKaminsky
Copy link
Member

No response, please re-open if if still happens.

@AndyScherzinger AndyScherzinger changed the title nextcloud 3.10 Timeout exception reading activities Mar 12, 2020
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.

3 participants