PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug][YouTube] Playback randomly stopped in the background: EAI_NODATA (No address associated with hostname)

Open InfinityLoop1308 opened this issue 5 months ago • 16 comments

If you are encountering the issue, please share the following info:

  • if you are using a VPN
  • Device model, especially if your device is Samsung (with OneUI)
  • Your Android version
  • does the issue persists if logged in (Settings > Account > YouTube)

Edit: In 5.2.1, you can now turn on DNS over HTTPS in Advanced Settings, which should fix the issue. Please also report the result with that pref enabled.

InfinityLoop1308 avatar Jun 29 '26 05:06 InfinityLoop1308

Idk if same issue or not, but basically: I click video from creators that pipepipe was working with yesterday, now it doesn't seem to play at all, just shows spinning circle(like loading) But will sometimes work. But there seems to be no rhyme/reason.(like lives some times work)

jfra170 avatar Jul 02 '26 02:07 jfra170

@jfra170 please update to 5.2.1-beta5, it's another known issue.

InfinityLoop1308 avatar Jul 02 '26 03:07 InfinityLoop1308

DNS over HTTPS enabled. Also running personalDNSfilter (localhost vpn for adblocking) YouTube fails but other providers work ok.

Motorola g - 2025 (Magisk, stock Android 15)

No account sign in used

{"user_action":"play stream","request":"Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=jmgjNJul3ps","content_language":"en-","content_country":"US","app_language":"en","service":"YouTube (Anonymous)","endpoint":"mweb","package":"InfinityLoop1309.NewPipeEnhanced","version":"5.2.1","os":"Linux Android 15 - 35","time":"2026-07-04 11:42","exceptions":["androidx.media3.exoplayer.ExoPlaybackException: Source error\n\tat androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:17)\n\tat androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:456)\n\tat android.os.Handler.dispatchMessage(Handler.java:108)\n\tat android.os.Looper.loopOnce(Looper.java:268)\n\tat android.os.Looper.loop(Looper.java:384)\n\tat android.os.HandlerThread.run(HandlerThread.java:103)\nCaused by: org.schabi.newpipe.player.datasource.SabrLogicException: SABR made no progress after recovery for itag=140\n\tat org.schabi.newpipe.player.datasource.SabrSegmentDataSource.awaitSegment(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:490)\n\tat org.schabi.newpipe.player.datasource.SabrSegmentDataSource.open(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:171)\n\tat androidx.media3.datasource.StatsDataSource.open(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:11)\n\tat androidx.media3.exoplayer.source.chunk.ContainerMediaChunk.load(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:89)\n\tat androidx.media3.exoplayer.upstream.Loader$LoadTask.run(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:35)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)\n\tat java.lang.Thread.run(Thread.java:1012)\n"],"user_comment":""}

FrigginElmo avatar Jul 04 '26 15:07 FrigginElmo

DNS over HTTPS enabled. Also running personalDNSfilter (localhost vpn for adblocking) YouTube fails but other providers work ok.

Motorola g - 2025 (Magisk, stock Android 15)

No account sign in used

{"user_action":"play stream","request":"Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=jmgjNJul3ps","content_language":"en-","content_country":"US","app_language":"en","service":"YouTube (Anonymous)","endpoint":"mweb","package":"InfinityLoop1309.NewPipeEnhanced","version":"5.2.1","os":"Linux Android 15 - 35","time":"2026-07-04 11:42","exceptions":["androidx.media3.exoplayer.ExoPlaybackException: Source error\n\tat androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:17)\n\tat androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:456)\n\tat android.os.Handler.dispatchMessage(Handler.java:108)\n\tat android.os.Looper.loopOnce(Looper.java:268)\n\tat android.os.Looper.loop(Looper.java:384)\n\tat android.os.HandlerThread.run(HandlerThread.java:103)\nCaused by: org.schabi.newpipe.player.datasource.SabrLogicException: SABR made no progress after recovery for itag=140\n\tat org.schabi.newpipe.player.datasource.SabrSegmentDataSource.awaitSegment(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:490)\n\tat org.schabi.newpipe.player.datasource.SabrSegmentDataSource.open(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:171)\n\tat androidx.media3.datasource.StatsDataSource.open(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:11)\n\tat androidx.media3.exoplayer.source.chunk.ContainerMediaChunk.load(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:89)\n\tat androidx.media3.exoplayer.upstream.Loader$LoadTask.run(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:35)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)\n\tat java.lang.Thread.run(Thread.java:1012)\n"],"user_comment":""}

update pipepipe to latest version

error-reporting avatar Jul 08 '26 06:07 error-reporting

Hey infinity so this bug has been making the app pretty much unuseable for me.

  1. I don't even have a VPN installed on my phone.
  2. I'm using a Samsung Galaxy S24 Ultra. (OneUI 8.5)
  3. Android version: 16
  4. Logging in just makes my app break so.

Whenever I try listening to any song in the background it'll just stop playing unless I go back into the app.

lilhooper4611 avatar Jul 15 '26 04:07 lilhooper4611

@lilhooper4611 have you tried enable that setting (DNS over HTTPS)?

InfinityLoop1308 avatar Jul 18 '26 06:07 InfinityLoop1308

@InfinityLoop1308 yes. Still doing it like always. & When I'm on the go trying to use my playlist, I have to have my screen timeout set to 10 minutes just so it doesn't stop since the app doesn't like it when I turn off the screen either.

lilhooper4611 avatar Jul 18 '26 20:07 lilhooper4611

Ok so I did update the app. At first everything was working perfect, even when I went out to run my errands today. But hours later, it started going back to the same bug. What I noticed about it is that when I have it playing in the background, it would stop at exactly 30 seconds each time. So I don't know what to do at this point. 😔😕. But I do apologize for being so annoying.

lilhooper4611 avatar Jul 21 '26 04:07 lilhooper4611

I updated to the latest version just now. Still same thing. I exit the app to play the music in the background & at 29 seconds exactly it pauses stays like that unless I go back into the app.

Edit: I guess sometimes it'll play fine in the background all the way through, but most other times it'll keep doing the same bug I mentioned.

lilhooper4611 avatar Jul 23 '26 02:07 lilhooper4611

I'm having the same issue, Samsung galaxy flip 6 no vpn, https setting didn't fix it.

Stops playing around 29/58/etc seconds.

Sometimes I get an error pop-up (network error) , sometimes when I tab back into the app it just resumes instantly.

Still happening on 5.2.5-beta Hope this helps!

Also it seems to spam error notification toasts continuously when not in pipe pipe in the beta

## Exception
* __User Action:__ play stream
* __Request:__ Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=O3Q7LtUGfUg
* __Content Country:__ GB
* __Content Language:__ en-GB
* __App Language:__ en_GB
* __Service:__ YouTube (Anonymous)
* __Endpoint:__ mweb
* __Version:__ 5.2.5-beta
* __OS:__ Linux samsung/b6qxeea/b6q:16/BP4A.251205.006/F741BXXU3DZDP:user/release-keys 16 - 36
<details><summary><b>Crash log </b></summary><p>

androidx.media3.exoplayer.ExoPlaybackException: Source error
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:17)
	at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:456)
	at android.os.Handler.dispatchMessage(Handler.java:128)
	at android.os.Looper.dispatchMessage(Looper.java:358)
	at android.os.Looper.loopOnce(Looper.java:288)
	at android.os.Looper.loop(Looper.java:392)
	at android.os.HandlerThread.run(HandlerThread.java:139)
Caused by: androidx.media3.database.DatabaseIOException: SABR logic failure
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:1528)
	at org.acra.builder.ReportExecutor$$ExternalSyntheticLambda0.run(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:203)
	at java.lang.Thread.run(Thread.java:1572)
Caused by: org.schabi.newpipe.extractor.services.youtube.sabr.SabrProtocolException: SABR attestation remained pending without media for 3 consecutive responses: parts=5, status=2, maxRetries=-1, backoffMs=-1, policy=true, reload=false, redirect=false, error=null
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.applyControlPolicy(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:96)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnceInternal(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:130)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.pumpOnceStreaming(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:20)
	at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:1289)
	... 2 more


</details>
<hr>

NibblyPig avatar Aug 01 '26 10:08 NibblyPig

Using quad9 for adblocking, the domain sp-8f237ea3.honzig.avcdn.net appears as not resolved in my blokada host list, although not actively blocked by my device (block happens at wifi level). This happens always at second 59 at lowest video resolution for me. Switching to mobile data, the domain gets resolved an playback works properly. Some videos are affected, others seem not to be, I did not noticed a pattern yet.

KOTRET avatar Aug 04 '26 05:08 KOTRET

  • Yes, I have a VPN, but I turn it off to use pipepipe.
  • Model SM-S901U, OneUI version 8.0
  • Android version 16
  • The issue does continue when I log in
  • The issue also persists with the DNS over HTTPS setting enabled

Clearing the cache and webview metadata temporarily fixes it.

PassiveBlurb avatar Aug 05 '26 01:08 PassiveBlurb

I'm having this issue. I have a Pixel running GrapheneOS. I've tried with and without a VPN. PipePipe is updated and DNS over HTTPS setting is activated. All steps to trouble shoot haven't helped. I can download videos through yt-dlp but when I try the in-app download the audio fails at 0:59 seconds, exactly where the audio clips when playing in the background. All Videos stop at :59 with the msg "YouTube forces us to wait 1-2 seconds before resuming playback.

BennyAK99 avatar Aug 12 '26 02:08 BennyAK99

@BennyAK99 That's another issue and have been fixed in 5.2.5, please update.

InfinityLoop1308 avatar Aug 12 '26 02:08 InfinityLoop1308

We have confirmed the issue is not PipePipe's issue and DNS over HTTPS setting only make it worse. A new patch that prevents this error crash the playback will be included in 5.3.0 and it will likely fix the issue.

Edit: it happen less frequently but still happen on certain conditions, we are investigating if we can make a new fix.

InfinityLoop1308 avatar Aug 12 '26 02:08 InfinityLoop1308

should be fixed in 5.5.0-beta

InfinityLoop1308 avatar Oct 13 '26 06:10 InfinityLoop1308