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

[Bug] Video failed to play, 403 error #613

Open
9t8455qv opened this issue Dec 20, 2024 · 6 comments
Open

[Bug] Video failed to play, 403 error #613

9t8455qv opened this issue Dec 20, 2024 · 6 comments
Labels

Comments

@9t8455qv
Copy link

9t8455qv commented Dec 20, 2024

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

  • [x ] I make sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [ 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 am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • [x ] I have attached the error report in the issue.

Describe the bug

When playing a video it will play for a short while then stop and repeatedly show an error message

Frequency

Relatively frequent (not every video but happens more often then it doesn't)

Steps to reproduce the bug

  1. Open video
  2. Video plays for a few seconds
  3. Error, video playback stops

Device (e.g. Pixel 9 Pro)

Oppo find x5 pro

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=FgtD2rkuwBI
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: YouTube (Logged in)
  • Version: 4.0.2
  • OS: Linux Android 14 - 34
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:102)
	at android.os.Looper.loopOnce(Looper.java:257)
	at android.os.Looper.loop(Looper.java:368)
	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(YoutubeHttpDataSource.java:442)
	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.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:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)


Additional context

Has only begun happening recently and to the best of my knowledge I haven't changed anything about my phone ,I always run a 24/7 VPN and system wide DNS but this hasn't changed in years and the errors have only been happening in the past week, the use of my VPN and DNS also doesn't affect my playback through any browser with the official YouTube website

@ToxicPuppet
Copy link

I have had exactly the same issues. And have tried to remidy the situation without success.

@InfinityLoop1308
Copy link
Owner

Thanks. Checking.

@InfinityLoop1308
Copy link
Owner

InfinityLoop1308 commented Dec 21, 2024

A possible patch is included in the latest build, please test and let me know if it works.

Edit: It doesn't.

@hujan86
Copy link

hujan86 commented Dec 21, 2024

Has only begun happening recently and to the best of my knowledge I haven't changed anything about my phone ,I always run a 24/7 VPN and system wide DNS but this hasn't changed in years and the errors have only been happening in the past week, the use of my VPN and DNS also doesn't affect my playback through any browser with the official YouTube website

You're not alone experiencing this. Goggle must have fiddled with YouTube's backend I think, not long after v4.0.1 was up.

@9t8455qv
Copy link
Author

Update
(Please disregard if this is irrelevant)
I downloaded both NewPipe and Tubular (NewPipe fork) and it appears to be happening in both of these too (though slightly less frequently in NewPipe) so I would assume it's a YouTube issue and not an app issue, just thought I'd mention it if it helps

@InfinityLoop1308
Copy link
Owner

Thanks for your info.

Also see yt-dlp/yt-dlp#11868

@InfinityLoop1308 InfinityLoop1308 changed the title [Bug] Frequent video issues [Bug] Video failed to play, 403 error Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants