Checklist
Describe the bug
It seems like when you click a video while logged in, it won't play and gives you the attached error report. I tried logging out and had no trouble playing a few other videos, but I can't test many since YouTube is up my ass about being a bot when I'm not logged in.
Version
4.9.2
Frequency
Always (100% of the time)
Device
No response
Steps to reproduce the bug
- Click a video while logged in
- Error appears, video won't play
Additional context
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=yNxh_fEmO1k
- Content Country: US
- Content Language: en
- App Language: en_US
- Service: YouTube (Logged in)
- Version: 4.9.2
- OS: Linux RP1A.200720.009 11 - 30
Crash log
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:223)
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:521)
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.hls.HlsMediaChunk.prepareExtraction(HlsMediaChunk.java:495)
at com.google.android.exoplayer2.source.hls.HlsMediaChunk.feedDataToExtractor(HlsMediaChunk.java:468)
at com.google.android.exoplayer2.source.hls.HlsMediaChunk.loadMedia(HlsMediaChunk.java:437)
at com.google.android.exoplayer2.source.hls.HlsMediaChunk.load(HlsMediaChunk.java:394)
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)
Checklist
Describe the bug
It seems like when you click a video while logged in, it won't play and gives you the attached error report. I tried logging out and had no trouble playing a few other videos, but I can't test many since YouTube is up my ass about being a bot when I'm not logged in.
Version
4.9.2
Frequency
Always (100% of the time)
Device
No response
Steps to reproduce the bug
Additional context
Exception
Crash log
Solution: Force kill the app and open again
There is an annoying YouTube caching rule... We will find a way to fix it in next version.