PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] 400 Bad Request when playing specific youtube video

Open ns920 opened this issue 1 year ago • 5 comments

Checklist (Your issue will be automatically closed if you delete this part)

  • [√] I make sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [√] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed.
  • [√] I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • [√] I have attached the error report in the issue.

Describe the bug When I playing a specific youtube video, it will not get error instant, but get this error after about 30s.

Frequency Not every time. When I rebot application it occur again but no problem with 3rd try.

Steps to reproduce the bug Open the live record video and wait 30s

Device (e.g. Pixel 9 Pro) Oppo Find X6 PRO

Error report {"user_action":"play stream","request":"Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=_wH_piLHfEU","content_language":"ja-JP","content_country":"JP","app_language":"ja_JP","service":"YouTube (Logged in)","package":"InfinityLoop1309.NewPipeEnhanced","version":"4.5.0","os":"Linux Android 15 - 35","time":"2025-06-26 10:01","exceptions":["com.google.android.exoplayer2.ExoPlaybackException: Source error\n\tat com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)\n\tat com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:616)\n\tat android.os.Handler.dispatchMessage(Handler.java:103)\n\tat android.os.Looper.loopOnce(Looper.java:282)\n\tat android.os.Looper.loop(Looper.java:387)\n\tat android.os.HandlerThread.run(HandlerThread.java:85)\nCaused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 400\n\tat org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:522)\n\tat com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:263)\n\tat com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:52)\n\tat com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:796)\n\tat com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:609)\n\tat com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)\n\tat com.google.android.exoplayer2.source.chunk.ContainerMediaChunk.load(ContainerMediaChunk.java:124)\n\tat com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)\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":""}

Additional context

ns920 avatar Jun 26 '25 02:06 ns920

🔍 Found related issues: #1159

Please check these issues first before proceeding.

github-actions[bot] avatar Jun 26 '25 02:06 github-actions[bot]

🔍 Found related issues: #1159

Please check these issues first before proceeding.

seems not same problem. Error occurs again when I playing video after about 15min

ns920 avatar Jun 26 '25 02:06 ns920

Please first try if you have issue in this version. It might related to a change we made in 4.5.0

InfinityLoop1308 avatar Jun 26 '25 02:06 InfinityLoop1308

Please first try if you have issue in this version. It might related to a change we made in 4.5.0

I didn't get more problem any more in this version.

ns920 avatar Jun 27 '25 01:06 ns920

The patch is now merged and will be included in 4.5.1.

InfinityLoop1308 avatar Jun 27 '25 01:06 InfinityLoop1308