polymorphicshade / NewPipe

A fork of NewPipe with SponsorBlock functionality.
GNU General Public License v3.0
3.23k stars 106 forks source link

Crashes halfway through, cannot replay #338

Open sunnyjim5 opened 1 year ago

sunnyjim5 commented 1 year ago

Checklist

Affected version

0.25.1

Steps to reproduce the bug

Watch a video and wait

Expected behavior

No response

Actual behavior

No response

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:102)
    at android.os.Looper.loop(Looper.java:246)
    at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
    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:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:923)


Affected Android/Custom ROM version

Samsung android distribution

Affected device model

Samsung A21s

Additional information

The connection is stable

Atemu commented 1 year ago

The stack trace leads me to believe this is an upstream bug, not ours.

ProgrammerWhoPrograms commented 1 year ago

Upstream bug: https://github.com/TeamNewPipe/NewPipe/issues/10174

Kurasami commented 12 months ago

Upstream bug: TeamNewPipe#10174

Was fixed 2 days ago. See: https://github.com/polymorphicshade/NewPipe/issues/342#issuecomment-1645347445

We need a merge with this codebase now.

Atemu commented 12 months ago

0.25.2 is not out yet.