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

[YouTube] Error HTTP 416 while playing YouTube video #8318

Open
5 tasks done
WesleyTRV opened this issue Apr 30, 2022 · 3 comments
Open
5 tasks done

[YouTube] Error HTTP 416 while playing YouTube video #8318

WesleyTRV opened this issue Apr 30, 2022 · 3 comments
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background) youtube Service, https://www.youtube.com/

Comments

@WesleyTRV
Copy link

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • 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

0.23.0

Steps to reproduce the bug

  1. Look for a video that mostly has the bug.
  2. Fast forward a bit or wait for a while.
  3. This bug will encounter.

Expected behavior

Some videos don't crash at random when fast forwarding or when it kept playing.

Actual behavior

Video crashes and stops unexpectedly.

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=Nt8xbh1LOWY
  • Content Country:
  • Content Language: en-
  • App Language: en
  • Service: YouTube
  • Version: 0.23.0
  • OS: Linux Android 8.0.0 - 26
Crash log

com.google.android.exoplayer2.ExoPlaybackException: Source error
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:641)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:613)
	at android.os.Handler.dispatchMessage(Handler.java:101)
	at android.os.Looper.loop(Looper.java:164)
	at android.os.HandlerThread.run(HandlerThread.java:65)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 416
	at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:396)
	at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:258)
	at com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:52)
	at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:786)
	at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:599)
	at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
	at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1009)
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
	at java.lang.Thread.run(Thread.java:764)
Caused by: com.google.android.exoplayer2.upstream.DataSourceException
	at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:394)
	... 10 more


Affected Android/Custom ROM version

Android 8

Affected device model

Galaxy S7

Additional information

No response

@WesleyTRV WesleyTRV added the bug Issue is related to a bug label Apr 30, 2022
@kubo6472 kubo6472 mentioned this issue Jun 5, 2023
6 tasks
@opusforlife2 opusforlife2 added the youtube Service, https://www.youtube.com/ label Jun 6, 2023
@rogerval

This comment was marked as off-topic.

@HydroRaptor

This comment was marked as off-topic.

@michal-kurz

This comment was marked as off-topic.

@AudricV AudricV changed the title Video crashes unexpected with ERROR_CODE_IO_BAD_HTTP_STATUS [YouTube] Error HTTP 416 while playing YouTube video Aug 8, 2023
@AudricV AudricV added the player Issues related to any player (main, popup and background) label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background) youtube Service, https://www.youtube.com/
Projects
None yet
Development

No branches or pull requests

6 participants