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] HTTP error 403 around 1 minute mark #11191

Closed
6 tasks done
opranda opened this issue Jun 19, 2024 · 44 comments · Fixed by TeamNewPipe/NewPipeExtractor#1197
Closed
6 tasks done

[YouTube] HTTP error 403 around 1 minute mark #11191

opranda opened this issue Jun 19, 2024 · 44 comments · Fixed by TeamNewPipe/NewPipeExtractor#1197
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug requires extractor change This issue requires a change to the extractor youtube Service, https://www.youtube.com/

Comments

@opranda
Copy link

opranda commented Jun 19, 2024

Please also see About YouTube playback errors - YouTube changed some things to get working streams


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

0.27.0

Steps to reproduce the bug

When I click play, the video loads and the message "Network error" appears and nothing happens

Expected behavior

No response

Actual behavior

No response

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=GnUCGS0KRqM
  • Content Country: RU
  • Content Language: ru-RU
  • App Language: ru_RU
  • Service: YouTube
  • Version: 0.27.0
  • OS: Linux Android 5.1 - 22
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:107)
at android.os.Looper.loop(Looper.java:194)
at android.os.HandlerThread.run(HandlerThread.java:61)
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:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)


Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

@opranda opranda added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jun 19, 2024
@MDP43140

This comment was marked as outdated.

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Jun 21, 2024
@Baltazar500

This comment was marked as duplicate.

@MingMing0000

This comment was marked as duplicate.

@iiD4x

This comment was marked as duplicate.

@RadenAmzar

This comment was marked as spam.

@Baltazar500

This comment was marked as resolved.

@nash268

This comment was marked as duplicate.

@tag27

This comment was marked as outdated.

@Baltazar500

This comment was marked as outdated.

@techno156

This comment was marked as outdated.

@A-Nicoladie

This comment was marked as duplicate.

@nash268
Copy link

nash268 commented Jul 2, 2024

for me when error occurs it's always at 00:59 time stamp.

@juanfra684

This comment was marked as outdated.

@rjdg14

This comment was marked as duplicate.

@NoahJelen

This comment was marked as resolved.

@krushia
Copy link

krushia commented Jul 5, 2024

Confirming that:

  1. The first part of a video will play before the error occurs
  2. After the error, the triggering video will no longer play at all
  3. After the first occurance, there appears to be an increased probability of triggering the error with other videos (but they may still play okay)
  4. Restarting NewPipe usually fixes it
  5. It happens sporadically

@juanfra684
Copy link

Clearing the metadata in the settings menu fixed the problem for me. I didn't change the DNS or anything this time.

@1xFF

This comment was marked as resolved.

@tag27

This comment was marked as resolved.

@opusforlife2

This comment was marked as outdated.

@techno156

This comment was marked as duplicate.

@acarasimon96
Copy link

YouTube Music uploads (the ones that are just album art rather than an actual video) don't seem to trigger it either, maybe they use a different format that doesn't have the same problems?

In my experience, both normal and YouTube Music videos are affected; I get the same exact behavior on either kind.

@opusforlife2 opusforlife2 changed the title [YouTube] HTTP error 403 when playing videos around 1 minute of playback [YouTube] HTTP error 403 around 1 minute mark Jul 10, 2024
@nash268

This comment was marked as off-topic.

@rjdg14

This comment was marked as duplicate.

@IronGibbet

This comment was marked as duplicate.

@synctext

This comment was marked as duplicate.

@opranda

This comment was marked as duplicate.

@rigmo

This comment was marked as duplicate.

@tuxayo

This comment was marked as off-topic.

@godfuture

This comment was marked as duplicate.

@Gamonte

This comment was marked as duplicate.

@alvinlaw2

This comment was marked as duplicate.

@ale5000-git
Copy link

I wonder if this fix may apply also to NewPipe: yt-dlp/yt-dlp#10456

@frere-jacques

This comment was marked as duplicate.

@gstr3745

This comment was marked as duplicate.

@kirxkirx

This comment was marked as duplicate.

@opusforlife2
Copy link
Collaborator

The bug is known. There's no need to add 'me too' comments. Locking temporarily.

@TeamNewPipe TeamNewPipe locked as too heated and limited conversation to collaborators Jul 17, 2024
@Stypox Stypox closed this as completed Jul 24, 2024
@opusforlife2 opusforlife2 unpinned this issue Aug 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug requires extractor change This issue requires a change to the extractor youtube Service, https://www.youtube.com/
Projects
None yet