[Bug] video stops at 59th second (Solved: Switch to another endpoint)
Checklist
- [x] I make sure that the issue is NOT a duplicate of pinned issues
- [x] I make sure I am using the LATEST version - check here
- [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
- [ ] I have attached the error report in the issue
Describe the bug
Some, not all, videos stop at the 59th second.
They cannot be restarted until some time has passed, say 15 or 30 minutes.
Version
5.4.0
Frequency
Rarely (10-30% of the time)
Device
CMF phone 1 with Murena /e/ OS degoogled Android. Android 14
Steps to reproduce the bug
Play video as normal and some videos stop at 59th second.
It is not possible to continue or restart until some time has passed, say 15 or 30 minutes.
This only happens occasionally, not with all videos.
Additional context
No response
Confirmed on playlists
can you provide with the exact video that happens to do it
Not the OP, but this one here does it for me: https://www.youtube.com/watch?v=c0_OhAfTF-Q
Here's the error report:
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=c0_OhAfTF-Q
- Content Country: AT
- Content Language: de-AT
- App Language: de_AT
- Service: YouTube (Anonymous)
- Endpoint: visionos
- Version: 5.4.0
- OS: Linux samsung/a54xnaeea/a54x:14/UP1A.231005.007/A546BXXUBCXK1:user/release-keys 14 - 34
Crash log
org.schabi.newpipe.player.PlayerError: ERROR_CODE_IO_BAD_HTTP_STATUS
at org.schabi.newpipe.player.ExoPlayerEventAdapter.onPlayerError(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:387)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$updatePlaybackInfo$16(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:3)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$Bwd_WtKigxBd7JLyjK0ntOJdfNc(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda7.invoke(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:34)
at com.google.android.exoplayer2.util.ListenerSet$ListenerHolder.invoke(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:18)
at com.google.android.exoplayer2.util.ListenerSet.lambda$queueEvent$0(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:17)
at com.google.android.exoplayer2.util.ListenerSet.$r8$lambda$AHn9s3qXpdWTkpx2n1DyAlVZ5wI(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at androidx.profileinstaller.DeviceProfileWriter$$ExternalSyntheticLambda0.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:16)
at com.google.android.exoplayer2.util.ListenerSet.flushEvents(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:68)
at com.google.android.exoplayer2.ExoPlayerImpl.updatePlaybackInfo(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:431)
at com.google.android.exoplayer2.ExoPlayerImpl.handlePlaybackInfo(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:208)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$new$1(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$dCnkoIUYTim5-glExosd_PMTlm0(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda20.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:30)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: com.google.android.exoplayer2.ExoPlaybackException: Source error
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:17)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:312)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
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(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:644)
at com.google.android.exoplayer2.upstream.DefaultDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:162)
at com.google.android.exoplayer2.upstream.TeeDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:3)
at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:273)
at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:132)
at com.google.android.exoplayer2.upstream.StatsDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:11)
at com.google.android.exoplayer2.source.chunk.ContainerMediaChunk.load(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:71)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:35)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
works fine to me, 0:59 is a known fixed issue
Interesting. I did check before I posted this that I was on the newest update.
Since it's affecting different users differently, and according to Redhill54 it resolves after 15-30 minutes (I couldn't verify that yet), could it be that Youtube is detecting the traffic as abnormal and banns the user from loading the rest of the video?
I have no idea about the tech background, just spitballing.
0:59 is a playback issue due to endpoint, was happening months ago when yt changed how SABR works and generally also happens on revanceds, could be that visionos as well is starting to fail?
Was going to post the issue I was having on another thread, but noticed the video did stop exactly at the 59 sec mark.
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=lMgoKKS9H3Q
- Content Country: US
- Content Language: es-US
- App Language: es_US
- Service: YouTube (Anonymous)
- Endpoint: visionos
- Version: 5.4.0
- OS: Linux motorola/devonn_g_sys/devonn:14/U1TO34.1-157-5/2804ae-5eee1:user/release-keys 14 - 34
Crash log
org.schabi.newpipe.player.PlayerError: ERROR_CODE_IO_BAD_HTTP_STATUS
at org.schabi.newpipe.player.ExoPlayerEventAdapter.onPlayerError(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:387)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$updatePlaybackInfo$16(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:3)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$Bwd_WtKigxBd7JLyjK0ntOJdfNc(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda7.invoke(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:34)
at com.google.android.exoplayer2.util.ListenerSet$ListenerHolder.invoke(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:18)
at com.google.android.exoplayer2.util.ListenerSet.lambda$queueEvent$0(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:17)
at com.google.android.exoplayer2.util.ListenerSet.$r8$lambda$AHn9s3qXpdWTkpx2n1DyAlVZ5wI(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at androidx.profileinstaller.DeviceProfileWriter$$ExternalSyntheticLambda0.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:16)
at com.google.android.exoplayer2.util.ListenerSet.flushEvents(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:68)
at com.google.android.exoplayer2.ExoPlayerImpl.updatePlaybackInfo(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:431)
at com.google.android.exoplayer2.ExoPlayerImpl.handlePlaybackInfo(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:208)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$new$1(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$dCnkoIUYTim5-glExosd_PMTlm0(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:1)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda20.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:30)
at android.os.Handler.handleCallback(Handler.java:1000)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loopOnce(Looper.java:242)
at android.os.Looper.loop(Looper.java:362)
at android.app.ActivityThread.main(ActivityThread.java:8448)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:992)
Caused by: com.google.android.exoplayer2.ExoPlaybackException: Source error
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:17)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:312)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:242)
at android.os.Looper.loop(Looper.java:362)
at android.os.HandlerThread.run(HandlerThread.java:85)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:644)
at com.google.android.exoplayer2.upstream.DefaultDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:162)
at com.google.android.exoplayer2.upstream.TeeDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:3)
at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:273)
at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:132)
at com.google.android.exoplayer2.upstream.StatsDataSource.open(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:11)
at com.google.android.exoplayer2.source.chunk.ContainerMediaChunk.load(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:71)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(r8-map-id-2b3fec04d2b4636eb495972128a3a008da8f842c18586cc90d0fdab4f5834db2:35)
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)
Hello !
I was reading ur logs and I saw that both of them show Endpoint: visionos, with playback stopping exactly when the player asks for the next chunk: Response code: 403.
That is the visionOS endpoint being rejected, not a decoder, WebView or DNS problem. We saw the same pattern in #2935, YouTube is progressively removing that endpoint.
So the first thing to check is Settings → Advanced → YouTube extraction endpoint and switch it to MWEB (SABR). The picker and the settings to report are described here
@Redhill54 ur report has no log attached, could u share one? It would tell us which endpoint u are on before we look further :)
And if it still stops at 0:59 with MWEB, please post a new error report, the endpoint line and the exact failure point are the two things we need.
8. Hello ! I was reading ur logs and I saw that both of them show
Endpoint: visionos, with playback stopping exactly when the player asks for the next chunk:Response code: 403. That is the visionOS endpoint being rejected, not a decoder, WebView or DNS problem. We saw the same pattern in #2935, YouTube is progressively removing that endpoint. So the first thing to check is Settings → Advanced → YouTube extraction endpoint and switch it to MWEB (SABR). The picker and the settings to report are described here @Redhill54 ur report has no log attached, could u share one? It would tell us which endpoint u are on before we look further :) And if it still stops at 0:59 with MWEB, please post a new error report, the endpoint line and the exact failure point are the two things we need.
I had that error too (100% reproducible). I changed the endpoint as instructed, and the problem is gone!
@Priveetee dude, you rock! At least for that video I couldn't watch before, it's now working! Thanks for the workaround!
I will report back in case it stops working.
10. @Priveetee dude, you rock! At least for that video I couldn't watch before, it's now working! Thanks for the workaround! I will report back in case it stops working.
Thx 🥰, Happy to see everything working fine again :)
@Priveetee dude, you rock! At least for that video I couldn't watch before, it's now working! Thanks for the workaround!
I will report back in case it stops working.
Isn't really a workaround 😁 SABR is the current yt protocol and @Priveetee singlehandedly managed to reverse engineer it and implement it here, visionos was the workaround for edge cases until now basically
Quick way to remove the error is Exit Clear cache Force restart
works for me on a Firestick OS 6
10. @Priveetee dude, you rock! At least for that video I couldn't watch before, it's now working! Thanks for the workaround! I will report back in case it stops working.
Indeed, it worked for me as well.
Thanks, it seems it solved my issue !
19. Thanks, it seems it solved my issue !
How?
Well I switched the endpoint and the videos didn't stop anymore
Well that's really sad, with the new endpoint you have to wait 5 seconds every time and it makes listening to music playlists harder
that's because SABR wants us to play the ads and without the 5 sec at the beginning the video would fail
you can use this for music instead https://github.com/ReVanced/revanced-manager