Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeatedly getting 'com.google.android.exoplayer2.exoPlaybackException' error #11254

Closed
6 tasks done
via80HD opened this issue Jul 9, 2024 · 4 comments
Closed
6 tasks done
Labels
template ignored The user didn't follow the template/instructions (or removed them)

Comments

@via80HD
Copy link

via80HD commented Jul 9, 2024

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

The one provided in the link under checklist

Steps to reproduce the bug

Seemingly happens whenever trying to play a video at all. But also seems to happen more if I am playing from a playlist in the background. It's almost acting as if I suddenly lose Internet or signal but almost every time it does this I have 5G multiple bars.

Expected behavior

When I have full bars of 5G signal, one would expect very rapid & smooth playback.

Actual behavior

Video that is either playing in the foreground or more often then the foreground, when a video is playing as part of a playlist in the background, it randomly stops out of nowhere & I get the little bug icon that pops up in the notification bar. I also noticed in the notification panel player the button that is normally the play/pause button turned into a counterclockwise spinning spinner like it does if you have no signal. Sometimes I can skip the video that I was on when the error happened & go to the next video play & it will play perfectly fine. Then when if I try to go back to the video I was playing while the errored, it will not play unless I completely shut down the app and restart it and restart the playlist.

Screenshots/Screen recordings

No response

Logs

{"user_action":"play stream","request":"Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=19FH5WmUI_0","content_language":"en-US","content_country":"US","app_language":"en_US","service":"YouTube","package":"org.schabi.newpipe","version":"0.27.0","os":"Linux Android 14 - 34","time":"2024-07-09 10:36","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:107)\n\tat android.os.Looper.loopOnce(Looper.java:242)\n\tat android.os.Looper.loop(Looper.java:362)\n\tat android.os.HandlerThread.run(HandlerThread.java:85)\nCaused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403\n\tat org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:422)\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":""}

Affected Android/Custom ROM version

Android 14

Affected device model

Motorola MOTO G 5G 2023

Additional information

No response

@via80HD via80HD added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jul 9, 2024
@via80HD via80HD changed the title Repeatedly getting 'com.google.android.exoplayer2.exoPlaybackException' Repeatedly getting 'com.google.android.exoplayer2.exoPlaybackException' error Jul 9, 2024
@thanhminhmr
Copy link

I got exactly the same error: ExoPlayer got a 403 when querying YouTube video URL. Is this due to something new that YouTube are rolling out?

@CJZ-14
Copy link

CJZ-14 commented Jul 9, 2024

I'm having the same issue, with very similar error message output as above. This started for me last night and it affects every video after the bug is triggered for the first time. It starts ~1 minute into the first video, and I generally have to wait about 30 minutes to an hour for content to start playing again.

Device is a Google Pixel 8a.

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=VjR8OJtGQLM
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube
  • Version: 0.27.0
  • OS: Linux Android 14 - 34
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:103)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	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(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.InitializationChunk.load(InitializationChunk.java:99)
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)


@w202mg
Copy link

w202mg commented Jul 9, 2024

At the moment no playback is possible at all.

@ivorget
Copy link

ivorget commented Jul 9, 2024

From the later issue:

It should be mentioned that yt-dlp yesterday started throwing 403 errors.

yt-dlp/yt-dlp#10397

This sounds like YouTube has made changes that are breaking 3rd party access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
Development

No branches or pull requests

6 participants