PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Important] YouTube playback will fail if your DNS blocks googleapis.com or google.com

Open InfinityLoop1308 opened this issue 4 months ago β€’ 26 comments

PipePipe requires access to Google endpoints for YouTube extraction and playback.

Make sure your DNS, Private DNS, VPN, firewall, hosts file, or ad blocker does not block:

  • googleapis.com and its subdomains
  • google.com and its subdomains

Redirecting these domains to 0.0.0.0 or 127.0.0.1 may cause YouTube playback, SABR, or PO token failures.

Please whitelist these domains and try again before reporting a playback issue. Issues caused by DNS or network filtering are not PipePipe bugs and may be closed.

InfinityLoop1308 avatar Jul 24 '26 07:07 InfinityLoop1308

I updated the documentation about this issue, if anyone is interested :)

every-youtube-video-fails-check-dns-filtering

Priveetee avatar Jul 24 '26 09:07 Priveetee

Ohh... I see now that was the main problem. Because my private DNS is an ad blocker... So that's why videos would always buffer indefinitely in the background for meπŸ˜… great... Now I need to find a DNS that won't affect Google's servers... Thanks for the explanation infinity. I disabled my DNS today & took an hour drive today & my playlist didn't stop at all... I guess Google is really getting serious about all this.

lilhooper4611 avatar Jul 26 '26 04:07 lilhooper4611

It's stopping as if the video was 2 seconds long. No mention of google.com or googleapis.com in the report.

Exception

  • User Action: play stream
  • Request: Loading failed for [DERANGED Elon Musk CRUMBLES In Shocking Interview]: https://www.youtube.com/watch?v=YgwcwhRrf1M
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US_#u-fw-sun-ms-ussystem-mu-fahrenhe
  • Service: YouTube (Anonymous)
  • Endpoint: mweb
  • Version: 5.2.4
  • OS: Linux Android 17 - 37
Crash log

org.schabi.newpipe.player.mediasource.FailedMediaSource$StreamInfoLoadException: java.lang.IllegalStateException: Unable to create SABR video source for https://www.youtube.com/watch?v=YgwcwhRrf1M
	at org.schabi.newpipe.player.playqueue.PlayQueueItem$$ExternalSyntheticLambda0.apply(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:34)
	at org.brotli.dec.IntReader.onError(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:23)
	at org.brotli.dec.IntReader.onError(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:73)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:39)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:108)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:64)
	at org.schabi.newpipe.DownloaderImpl.onSuccess(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:10)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.onSuccess(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:3)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle$ToSingleMaybeSubscriber.onSuccess(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:9)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onNext(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:67)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:55)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:12)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:44)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableDefer.subscribeActual(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:26)
	at io.reactivex.rxjava3.core.Flowable.subscribe(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:6)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:9)
	at io.reactivex.rxjava3.core.Maybe.subscribe(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:1)
	at io.reactivex.rxjava3.internal.operators.single.SingleJust.subscribeActual(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:87)
	at io.reactivex.rxjava3.core.Single.subscribe(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:6)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:5)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:10)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:22)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:328)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:323)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:1571)
Caused by: java.lang.IllegalStateException: Unable to create SABR video source for https://www.youtube.com/watch?v=YgwcwhRrf1M
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:378)
	at org.schabi.newpipe.player.playback.MediaSourceManager$$ExternalSyntheticLambda3.apply(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:93)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:18)
	... 24 more
Caused by: java.io.IOException: Could not describe SABR source for YgwcwhRrf1M
	at org.slf4j.Logger$-CC.buildMediaSource(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:440)
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:341)
	... 26 more
Caused by: org.schabi.newpipe.extractor.exceptions.ParsingException: Failed to parse batch API response
	at org.jsoup.parser.CharacterReader$$ExternalSyntheticLambda2.m(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:40)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptPlayerManager.deobfuscateBatch(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:787)
	at org.schabi.newpipe.extractor.services.youtube.sabr.SabrProto.fromPlayerResponse(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:423)
	at org.schabi.newpipe.extractor.services.youtube.sabr.SabrProto.fetchSabrInfo(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:615)
	at org.schabi.newpipe.player.datasource.SabrSessionStore.createSourceSpec(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:40)
	at org.slf4j.Logger$-CC.buildMediaSource(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:128)
	... 27 more
Caused by: com.grack.nanojson.JsonParserException: Unexpected character: < on line 1, char 1
	at com.grack.nanojson.JsonTokener.createParseException(dex-id-d394d4ef380e00bba759991a00fef17fa19d2b32:37)
	at com.grack.nanojson.JsonParser.advanceToken(dex-id-d394d4ef380e00bba759991a00fef17fa19d2b32:150)
	at com.grack.nanojson.JsonParser.parse(dex-id-d394d4ef380e00bba759991a00fef17fa19d2b32:6)
	at okhttp3.ConnectionPool.from(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:20)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptPlayerManager.deobfuscateBatch(r8-map-id-8ea17fc67480248e4ceedc4e283da07abed19deadaf8cd0b4ac6c27cc2a30247:397)
	... 31 more


pamdemonia avatar Jul 26 '26 11:07 pamdemonia

@pamdemonia This is unrelated to DNS. Please open a new issue.

InfinityLoop1308 avatar Jul 27 '26 05:07 InfinityLoop1308

@Priveetee Sorry for the ping, I'm probably really slow but I'm confused on how to do step 2 & the steps going forward.

lilhooper4611 avatar Jul 27 '26 06:07 lilhooper4611

No worries :)

If I understood your previous message correctly, I suppose PipePipe worked after u disabled Private DNS. If so, u can probably skip the other checks in step 2.

Could u tell me which Private DNS service u use? Then I can guide u through the next steps and show u where to allow googleapis.com and google.com.

Priveetee avatar Jul 27 '26 07:07 Priveetee

For me, it says my IP is blocked by YouTube, and disabling doesn't do the trick (Android 16 OneUI 8.5). Same issue on brother's side (Also Android 16 OneUI 8.5) and on my Retroid Pocket 5 (Android 13 AOSP). However it works fine on any other YouTube client like NewPipe, YouTube Morphe, etc and is also fine when using Mobile Data.Screenshot_20260727_143727_PipePipe.jpg

This is pretty confusing, I'm unsure of which provider precisely is blocked...

Raphistolage1997 avatar Jul 27 '26 12:07 Raphistolage1997

This looks unrelated to DNS filtering. No provider is being blocked here, PipePipe classified a YouTube player response as an anti-bot response.

Other clients may still work because they use a different extraction and playback path. Since it happens on three devices using the same Wi-Fi but works with mobile data, the common point seems to be the home connection rather than Android or OneUI.

A similar problem in #2698 was fixed in 5.2.4. If u are already using 5.2.4, please tap Report and open a new issue with the complete report and your selected YouTube extraction endpoint. It would also be useful to say whether a VPN over the same Wi-Fi changes the result.

The AntiBotException documentation also explains the useful checks and what information to include.

Priveetee avatar Jul 27 '26 13:07 Priveetee

Hey, I waited for some hours, and everything work as it should again now!

Raphistolage1997 avatar Jul 27 '26 16:07 Raphistolage1997

For me, it says my IP is blocked by YouTube, and disabling doesn't do the trick (Android 16 OneUI 8.5). Same issue on brother's side (Also Android 16 OneUI 8.5) and on my Retroid Pocket 5 (Android 13 AOSP). However it works fine on any other YouTube client like NewPipe, YouTube Morphe, etc and is also fine when using Mobile Data.Screenshot_20260727_143727_PipePipe.jpg

This is pretty confusing, I'm unsure of which provider precisely is blocked...

I'm still having the same issue as #2698, pretty much identical to the presentation here, and it's not DNS on my part.

gqqjhffr avatar Jul 27 '26 21:07 gqqjhffr

@Priveetee sure! The one I'm using is an ad blocker. It's called "Xxx.dns.nextdns.io"

lilhooper4611 avatar Jul 27 '26 22:07 lilhooper4611

Okay, that is NextDNS. U can keep the ad blocker enabled and add the required exceptions.

First, a small privacy note: the first part of that hostname is your personal NextDNS configuration ID. It does not expose your password or allow anyone to change your settings, but someone else could use it and pollute your logs or quota. I recommend editing your comment and replacing it with xxxxxx.dns.nextdns.io. Since it was already posted publicly, u can also duplicate the configuration from the NextDNS Settings tab later if u want a new ID.

To allow PipePipe:

  1. Open my.nextdns.io and select the configuration used by your phone.
  2. Open the Allowlist tab.
  3. Add googleapis.com.
  4. Add google.com.

Do not add *. before them. NextDNS automatically includes all subdomains when u add a domain.

Then briefly enable airplane mode, disable it again, force-stop PipePipe and retry the same video. If it still fails, open the Logs tab in NextDNS, retry once and check for a blocked request containing googleapis.com or google.com. U can send a screenshot, but please hide the configuration ID and any public IP address.

Priveetee avatar Jul 28 '26 06:07 Priveetee

Okay, that is NextDNS. U can keep the ad blocker enabled and add the required exceptions.

First, a small privacy note: the first part of that hostname is your personal NextDNS configuration ID. It does not expose your password or allow anyone to change your settings, but someone else could use it and pollute your logs or quota. I recommend editing your comment and replacing it with xxxxxx.dns.nextdns.io. Since it was already posted publicly, u can also duplicate the configuration from the NextDNS Settings tab later if u want a new ID.

To allow PipePipe:

  1. Open my.nextdns.io and select the configuration used by your phone.
  2. Open the Allowlist tab.
  3. Add googleapis.com.
  4. Add google.com.

Do not add *. before them. NextDNS automatically includes all subdomains when u add a domain.

Then briefly enable airplane mode, disable it again, force-stop PipePipe and retry the same video. If it still fails, open the Logs tab in NextDNS, retry once and check for a blocked request containing googleapis.com or google.com. U can send a screenshot, but please hide the configuration ID and any public IP address.

@Priveetee yeah I tried that and it's still not working :/ it always stops at xx:xx:x9 seconds πŸ˜• I don't know what I'm doing wrong or anything anymore

lilhooper4611 avatar Jul 29 '26 02:07 lilhooper4611

No worries, I don't think u are doing anything wrong :)

I checked your previous reports again, and this sounds like the same background playback problem from #2576. U already reported that it often stopped at exactly 29 seconds, so this may not be only about googleapis.com or google.com.

Could u try the same video once with NextDNS enabled, then once with Private DNS temporarily disabled?

  • If it only stops with NextDNS enabled, open the NextDNS Logs tab, filter by blocked queries, reproduce it once and send a screenshot of the entries from that exact time. Please hide the configuration ID and any public IP address.
  • If it stops both times, tap Report in PipePipe immediately after it happens and post the complete report in #2576.

That will tell us if NextDNS is still blocking another domain or if this is the previous background playback bug.

Priveetee avatar Jul 29 '26 07:07 Priveetee

I updated the documentation about this issue, if anyone is interested :)

every-youtube-video-fails-check-dns-filtering

Hey, sorry, I can't figure out how to edit my allowlist. My private DNS is automatic and I don't know how to access any of the filters for my network. Is there a guide with more in depth instructions?

PassiveBlurb avatar Aug 04 '26 22:08 PassiveBlurb

May I ask why PipePipe breaks with some google domains blocked but NewPipe doesn't?

ghost avatar Aug 11 '26 19:08 ghost

@Mane155 These domains are used to generate a PoToken, which YouTube uses to verify that you are a valid user. PipePipe needs it for SABR playback, while NewPipe does not support SABR and currently uses the visionOS endpoint, which does not require a PoToken.

PipePipe currently also uses the visionOS endpoint by default, so these domains can be blocked for now. However, visionOS is the last available endpoint that does not require a PoToken and may be removed in a future update if YouTube makes it unavailable.

InfinityLoop1308 avatar Aug 12 '26 01:08 InfinityLoop1308

does using 1.1.1.1 dns also cause issues like this? @InfinityLoop1308

faizul726 avatar Aug 18 '26 10:08 faizul726

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=dObpmRafzGE
  • Content Country: AU
  • Content Language: en-AU
  • App Language: en_AU
  • Service: YouTube (Logged in)
  • Endpoint: tv_downgraded
  • Version: 5.2.5
  • OS: Linux samsung/gts9fewifixx/gts9fewifi:16/BP4A.251205.006/X510XXUCEZE4:user/release-keys 16 - 36
Crash log

org.schabi.newpipe.extractor.exceptions.ContentNotAvailableException: Got error: "The page needs to be reloaded."
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.checkPlayabilityStatus(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:295)
	at okhttp3.Dispatcher.onSuccess(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:50)
	at org.jsoup.nodes.Printer.onResponse(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:84)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:51)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:1572)


It happens and i keep changing VPN and its driving me nuts

TheMacron avatar Aug 18 '26 11:08 TheMacron

@TheMacron This is unrelated to DNS. Update to 5.3.0-beta1 and use the MWEB (SABR) endpoint.

InfinityLoop1308 avatar Aug 18 '26 22:08 InfinityLoop1308