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 crashes randomly, often at the 59 second mark #651

Closed
4 tasks
PoliteGoy opened this issue Jan 2, 2025 · 1 comment
Closed
4 tasks

[Bug] video crashes randomly, often at the 59 second mark #651

PoliteGoy opened this issue Jan 2, 2025 · 1 comment

Comments

@PoliteGoy
Copy link

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

  • I make sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed.
  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I have attached the error report in the issue.

Video crashes around the 59 second mark, rarely later into videos m, which leads me to think it could be as related? Sometimes it'll just pause, others it will start the channels next video and do the same

Frequency - almost every video, so I have to use download which works fine every time. Some videos play through no issues.

*Steps to reproduce the bug
Load any video, even after restarting the app etc, press play, 59 seconds in it'll jam up

Device (e.g. Pixel 9 Pro)
Resmi c5

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=cXiq062wyKA
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube (Anonymous)
  • 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:205)
	at android.os.Looper.loop(Looper.java:294)
	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
Happens on new pipe too in the same way. I know YT changes it's API to mess with these apps however it's odd it happens at a specific time, it seems to happen less often on videos that aren't monetizable , but even that might not be correct. Could it be YouTube purposefully letting you get a taste for the video then cutting you off so you use the site with ads? Wouldn't put it past them.

Any hot fixes or settings ? Tried almost everything. Looking around others have had the same issue, some say updating fixed it others found no solution, I'm in the latter camp.

Thanks team I know this must be frustrating.

@InfinityLoop1308
Copy link
Owner

Hi @PoliteGoy thanks for your report.

As in #613 , YouTube block many IP from using their service without an account. So without change your IP the only way is to sign in.
You can sign in through Settings > Account.

We are planning to add a built-in proxy in next version to avoid sign-in, but it would be limited to monthly supporters due to server cost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants