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

Parsing/Loading incredibly slow on WiFi, often fails #8906

Closed
6 tasks done
njmdietrich opened this issue Aug 29, 2022 · 3 comments
Closed
6 tasks done

Parsing/Loading incredibly slow on WiFi, often fails #8906

njmdietrich opened this issue Aug 29, 2022 · 3 comments

Comments

@njmdietrich
Copy link

njmdietrich commented Aug 29, 2022

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.23.3;0.24.0

Steps to reproduce the bug

Connect to my WiFi network. Try loading any content.

Expected behavior

Subscriptions and videos would load normally, such as on mobile data.

Actual behavior

Subscriptions take a very long time to refresh and many are skipped. Videos occasionally load after a long time but usually give me a timeout exception.

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: requested comments
  • Request: Start loading: https://www.youtube.com/watch?v=BByf76PMZBw
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: YouTube
  • Version: 0.23.3
  • OS: Linux Android 12 - 32
Crash log

java.net.SocketTimeoutException: timeout
	at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.java:672)
	at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.java:680)
	at okhttp3.internal.http2.Http2Stream$FramingSource.read(Http2Stream.java:398)
	at okhttp3.internal.http2.Http2Codec$StreamFinishingSource.read(Http2Codec.java:205)
	at okio.RealBufferedSource.read(RealBufferedSource.java:47)
	at okio.RealBufferedSource.exhausted(RealBufferedSource.java:57)
	at okio.InflaterSource.refill(InflaterSource.java:102)
	at okio.InflaterSource.read(InflaterSource.java:62)
	at okio.GzipSource.read(GzipSource.java:80)
	at okio.Buffer.writeAll(Buffer.java:1135)
	at okio.RealBufferedSource.readString(RealBufferedSource.java:199)
	at okhttp3.ResponseBody.string(ResponseBody.java:176)
	at org.schabi.newpipe.DownloaderImpl.execute(DownloaderImpl.java:245)
	at org.schabi.newpipe.extractor.downloader.Downloader.post(Downloader.java:141)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getJsonPostResponse(YoutubeParsingHelper.java:1093)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeCommentsExtractor.onFetchPage(YoutubeCommentsExtractor.java:263)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
	at org.schabi.newpipe.extractor.comments.CommentsInfo.getInfo(CommentsInfo.java:39)
	at org.schabi.newpipe.extractor.comments.CommentsInfo.getInfo(CommentsInfo.java:29)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getCommentsInfo$7(ExtractorHelper.java:158)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$60N_-UL7E5eaxFaFO1bZZmnfwM8(Unknown Source:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda2.call(Unknown Source:4)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15868)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:920)


Affected Android/Custom ROM version

Android 12 / Lineage for MicroG 19

Affected device model

Xiaomi Poco F1

Additional information

On my mobile network, everything works as expected. Everything was also fine prior to the issue that triggered the 0.23.3 update. Also, I can access YouTube on all devices on my network including my phone via the browser. Restarting my router did not help either. All of these points lead me to believe that something is going on with newpipe and not just my network itself. My network is IPv6 only, maybe it is somehow related to that?

@njmdietrich njmdietrich added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Aug 29, 2022
@njmdietrich njmdietrich changed the title Parsing/Loading incredibly slow on WiFi Parsing/Loading incredibly slow on WiFi, often fails Aug 29, 2022
@stevenbalme

This comment was marked as off-topic.

@AudricV

This comment was marked as resolved.

@njmdietrich
Copy link
Author

Somehow, the problem has disappeared now. I will close the issue.

@opusforlife2 opusforlife2 removed bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants