PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] After 4.9.0 update playing a livestream crashes the player

Open sleeknn opened this issue 7 months ago • 7 comments

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
  • [x] I have attached the error report in the issue

Describe the bug

After latest 4.9.0 update when playing a livestream it crashes the player and gives a error. Here's the error details i'm getting:

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=jfKfPfyJRdk
  • Content Country: US
  • Content Language: en-GB
  • App Language: en_GB
  • Service: YouTube (Logged in)
  • Version: 4.9.0
  • OS: Linux samsung/pa3qxeea/pa3q:16/BP2A.250605.031.A3/S938BXXU5BYI3_OXM5BYI3:user/release-keys 16 - 36
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:106)
	at android.os.Looper.loopOnce(Looper.java:273)
	at android.os.Looper.loop(Looper.java:363)
	at android.os.HandlerThread.run(HandlerThread.java:85)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
	at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:413)
	at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:263)
	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:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1564)


Frequency

Always (100% of the time)

Device

Galaxy S25 Ultra, Android 16

Steps to reproduce the bug

  1. Go to https://www.youtube.com/watch?v=jfKfPfyJRdk
  2. Play the stream
  3. Player crashes and gives error

Additional context

I'm using ProtonVPN while connected to either Portugal or Luxembourg countries maybe that why it crashes the player, but only on livestream, doesn't happen on a regular video. Before 4.9.0 update I was able to play lofi hiphop radio or any of lofi girl youtube channel livestreams without player crash while using ProtonVPN.

sleeknn avatar Apr 06 '26 10:04 sleeknn

I see the log shows you are logged in. You have it logged in before we disable login right? You need to log out first because the old session is expired.

InfinityLoop1308 avatar Apr 06 '26 11:04 InfinityLoop1308

Yeah I was logged in before the login feature was temporarily disabled. But right now I tried to log out and I clicked clear WebView cookies, logged back in and played the lofi hip hop radio livestream and it still crashed the player with same error.

sleeknn avatar Apr 06 '26 11:04 sleeknn

try force close and restart the app. if that not works consider clear the data and test with the fresh install (you can make a backup first). It works fine here with YT logged in.

InfinityLoop1308 avatar Apr 06 '26 11:04 InfinityLoop1308

I just tried playing the livestream without logging in and it plays without player crashing. Just letting know I also tried force stopping the app after i relogged back in and the player still crashed, tried clearing the app data and cache and without login livestream plays, but with login player crashes. Haven't tried fully uninstalling the app and reinstalling, but clearing the app data and cache means starting fresh or no? Edit: I will use without login, I remember logging in because with VPN YouTube used to block the IP, but lately it doesn't happen often, and I guess without login its more private without google Edit2: Also thank you very much for your help! Just today supported the project with $20 because i honestly just exclusively use PipePipe instead of YouTube's app, mainly because it just lets me see the subscribed channels video feed without any shorts or text or community posts, and the app is generally just way cleaner than YT. Thanks very much again!!

sleeknn avatar Apr 06 '26 11:04 sleeknn

I just tried playing the livestream without logging in and it plays without player crashing. Just letting know I also tried force stopping the app after i relogged back in and the player still crashed, tried clearing the app data and cache and without login livestream plays, but with login player crashes. Haven't tried fully uninstalling the app and reinstalling, but clearing the app data and cache means starting fresh or no? Edit: I will use without login, I remember logging in because with VPN YouTube used to block the IP, but lately it doesn't happen often, and I guess without login its more private without google Edit2: Also thank you very much for your help! Just today supported the project with $20 because i honestly just exclusively use PipePipe instead of YouTube's app, mainly because it just lets me see the subscribed channels video feed without any shorts or text or community posts, and the app is generally just way cleaner than YT. Thanks very much again!!

Hello to answer the question with clear data if u do a backup no u do not restart from scratch when u restore ur backup it restore ur settings history etc etc

Priveetee avatar Apr 06 '26 12:04 Priveetee

Oh yeah what I mean was I left the app installed without first uninstalling and I just opened app info page and cleared cache and all app data, then when I opened PipePipe it was everything stock/default and I didn't import/restore backed up settings, just straight away tried playing livestream without logging in and it played no crash, but as soon as I logged in (without restoring no settings, just logged in) trying to play a stream results in a same player crash. Maybe to be able to play livestream with login, I need to fully uninstall PipePipe and reinstall? But anyway Im happy that without login livestream play without player crash

sleeknn avatar Apr 06 '26 13:04 sleeknn

I guess YT adds some additional encryption for specific accounts for livestreams. Maybe we can use some workarounds to bypass it in future updates. But anyway if you can view YT normally without an account you don't need to login at all :)

And, thanks for your donation. Have a good day!

InfinityLoop1308 avatar Apr 07 '26 04:04 InfinityLoop1308