TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.17k stars 3.02k forks source link

Playback is interrupted with an error. #10784

Closed Spok1 closed 8 months ago

Spok1 commented 8 months ago

Checklist

Affected version

0.26.1

Steps to reproduce the bug

1.Open the video and start watching; 2.After a certain time, catch an error and stop playback.

Expected behavior

So that the video plays without errors and is not interrupted.

Actual behavior

Abort playback!

Screenshots/Screen recordings

No response

Logs

Exception

com.google.android.exoplayer2.ExoPlaybackException: Source error
    at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)
    at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:616)
    at android.os.Handler.dispatchMessage(Handler.java:98)
    at android.os.Looper.loop(Looper.java:159)
    at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404
    at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:422)
    at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:263)
    at com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:52)
    at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:796)
    at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:609)
    at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
    at com.google.android.exoplayer2.source.chunk.ContainerMediaChunk.load(ContainerMediaChunk.java:124)
    at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
    at java.lang.Thread.run(Thread.java:761)


Affected Android/Custom ROM version

Android 7.0

Affected device model

Asus ZenPad 3S 10

Additional information

Use an ad blocking app Adguard

opusforlife2 commented 8 months ago

Response code: 404

That's YT servers at fault. These kinds of problems resolve themselves after some time.

Spok1 commented 8 months ago

@opusforlife2, too often these problems have started to appear, don’t you think so?

opusforlife2 commented 8 months ago

I've never seen a 404, and there are barely any issues with this error, so no.

Edit: If you're personally encountering this issue very often, then you need to investigate your network stack. This includes your router, ISP, adblocking solutions, DNS solutions, etc.

Spok1 commented 8 months ago

@opusforlife2, There don’t seem to be any problems with the network connection, but for some reason they exist through this application. Very strange. It’s just a little inconvenient that when such an error occurs, you need to close the application, and then open it again and look for the video on which the error appear,after all,when played again, it does not start playing, giving the same error. So this depresses me.

opusforlife2 commented 8 months ago

Libretube and Clipious work fine?