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

Network Error: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] less then 1 minute into the video #11136

Closed
6 tasks done
Growebis opened this issue Jun 5, 2024 · 17 comments
Closed
6 tasks done
Labels
question Not really an issue, but more of a question about how something works youtube Service, https://www.youtube.com/

Comments

@Growebis
Copy link

Growebis commented Jun 5, 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

0.27

Steps to reproduce the bug

  1. Go to this video https://www.youtube.com/watch?v=iNPHF0hg7a0
  2. watch it for a minute or less (it always stops before one minute passes).
  3. Get an error message.

Expected behavior

The videos plays fine till the end. No interruptions whatsoever.

Actual behavior

Usually before the video hits the one minute mark, it stops and gives a network error

Screenshots/Screen recordings

Video demonstration:
newpipebug.webm

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=iNPHF0hg7a0
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube
  • Version: 0.27.0
  • OS: Linux Android 7.0 - 24
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.loop(Looper.java:203)
	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.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:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at java.lang.Thread.run(Thread.java:761)


Affected Android/Custom ROM version

Android 7

Affected device model

Sony Xperia L1

Additional information

I've had this happen on a couple videos before but i didn't report it since i though it was a fluke. Guess it wasn't (maybe youtube changed something again?).

@Growebis Growebis added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jun 5, 2024
@Coehill
Copy link

Coehill commented Jun 5, 2024

I experienced the same bug on Galaxy S23, Android 14, NewPipe v0.27.0

@TechnologyClassroom
Copy link

TechnologyClassroom commented Jun 7, 2024

All videos stop with an error for me at 1:09 mark the last few days. Android 14 (GrapheneOS) NewPipe v0.27.0

Edit: Then YT videos were stopping at 1:04. Then it stopped for me. I bet Google is A/B testing something.

@opusforlife2
Copy link
Collaborator

"Response code: 403" bugs are usually temporary. If it doesn't fix itself in a few days, leave a comment.

@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 7, 2024
@Growebis
Copy link
Author

Growebis commented Jun 8, 2024

"Response code: 403" bugs are usually temporary. If it doesn't fix itself in a few days, leave a comment.

i tried to watch the video again and it seems like its gone. I'll close this issue for now until it pops up again..

@Growebis Growebis closed this as completed Jun 8, 2024
@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Jun 8, 2024
@opusforlife2 opusforlife2 added question Not really an issue, but more of a question about how something works youtube Service, https://www.youtube.com/ and removed bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jun 8, 2024
@Growebis
Copy link
Author

Growebis commented Jun 8, 2024

Well this error poped up again with another video https://youtu.be/wV2mXcmnxmQ

I don't think this is a temporary bug. I think (imo) that YouTube is changing something that's causing this.

I will reopen the bug report

@Growebis Growebis reopened this Jun 8, 2024
@stevenaloha
Copy link

Hello! I am experiencing the same issue. It has been going on for me for the past 4 days or so. I think, just as @Growebis says, that YouTube has something to do with this; probably changing the backend to make it harder to watch videos from third party apps...

@opusforlife2
Copy link
Collaborator

Same as before. Wait for a few days to see if it goes away.

@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 10, 2024
@Growebis
Copy link
Author

Same as before. Wait for a few days to see if it goes away.

Well i tried to watch the video again and it no longer gives me an error. But i still doubt that it's temporary, if i don't find any videos with such error for a few days i will close this issue.

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Jun 10, 2024
@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 10, 2024
@TechnologyClassroom
Copy link

TechnologyClassroom commented Jun 13, 2024

Likely related: https://9to5google.com/2024/06/12/youtube-ad-injection/

Edit: From what SponsorBlock said, it seems that the videos become variable length based on how many and how long the inserted ads make the video. Could that be what breaks NewPipe?

@jbb101 jbb101 mentioned this issue Jun 13, 2024
6 tasks
@Growebis
Copy link
Author

so far i haven't come across the issue so i will close this issue unless i get another video with the same error.

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Jun 14, 2024
@1xFF
Copy link

1xFF commented Jun 15, 2024

I think this issue should stay open instead of flip flopping, YouTube has definitely made some change causing this and it effects the usability of NewPipe.

I've had this happen completely randomly for the last few days. Exactly as described, random video gets 403'd at 0:59, 20+ minutes later I'm allowed to watch it.

@TechnologyClassroom
Copy link

Here is a screen recording of the behavior happening on the site: https://old.reddit.com/r/Piracy/comments/1dh0yem/youtubes_serverside_ads_in_action/

It is a massive, ongoing A/B test so it is hard to reproduce effectively.

@Growebis
Copy link
Author

This issue came back and i already got 3 videos with the same error today. If i notice it happening more/doesn't go away i may reopen it again.

@acarasimon96
Copy link

Exactly as described, random video gets 403'd at 0:59, 20+ minutes later I'm allowed to watch it.

I've been getting the same thing too, but I found a workaround. I force stopped NewPipe and cleared its cache from the system settings, relaunched it, and I was able to play the same video that errored out past the 1 minute mark.

@1xFF
Copy link

1xFF commented Jul 6, 2024

I force stopped NewPipe and cleared its cache from the system settings, relaunched it, and I was able to play the same video that errored out past the 1 minute mark.

Thanks, I'll try doing that.

The issue author refuses to reopen this issue, so #11191 may be the current active issue for this problem. Though, it doesn't mention a 403 at 0:59. Just a 403 when loading.

@Growebis
Copy link
Author

Growebis commented Jul 7, 2024

I force stopped NewPipe and cleared its cache from the system settings, relaunched it, and I was able to play the same video that errored out past the 1 minute mark.

Thanks, I'll try doing that.

The issue author refuses to reopen this issue, so #11191 may be the current active issue for this problem. Though, it doesn't mention a 403 at 0:59. Just a 403 when loading.

Well the other issue suddenly got more popular and i was lazy to log into github and reopen.

Though, it doesn't mention a 403 at 0:59. Just a 403 when loading.

For me now its happening before 0:59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Not really an issue, but more of a question about how something works youtube Service, https://www.youtube.com/
Projects
None yet
Development

No branches or pull requests

7 participants