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 IP Ban / 403 Error #12

Closed
7 tasks done
GreenMystic opened this issue Dec 20, 2024 · 27 comments
Closed
7 tasks done

YouTube IP Ban / 403 Error #12

GreenMystic opened this issue Dec 20, 2024 · 27 comments
Labels
bug Something isn't working waiting changes Waiting for upstream project & fork author

Comments

@GreenMystic
Copy link

Checklist

  • I am able to reproduce the bug with the latest version.
  • I am not able to reproduce the bug with the latest version of vanilla NewPipe.
  • 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 vanilla NewPipe contribution guidelines.

Affected version

0.27.4

Steps to reproduce the bug

  1. open any video
  2. try to tap on seek bar
  3. crash

Expected behavior

bo crash

Actual behavior

crashed

Screenshots/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=MvTSRHB6icE
  • Content Country: ID
  • Content Language: en-
  • App Language: en
  • Service: YouTube
  • Version: 0.27.4
  • OS: Linux realme/RMX3263/RED8D1:11/RP1A.201005.001/1659717058000:user/release-keys 11 - 30
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:102)
	at android.os.Looper.loop(Looper.java:223)
	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: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:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:923)


Affected Android/Custom ROM version

A11 RUI 1.0

Affected device model

RXM 3266

Additional information

No response

@GreenMystic GreenMystic added the bug Something isn't working label Dec 20, 2024
@funsafe-ptr
Copy link

ERROR_CODE_IO_BAD_HTTP_STATUS after the 1 minute mark.

@GreenMystic
Copy link
Author

ERROR_CODE_IO_BAD_HTTP_STATUS after the 1 minute mark.

also when tap on seekbar around 5 minutes or more it's also crashing
i didn't try on vanilla yet 😅

@funsafe-ptr
Copy link

Vanilla, too, I guess.
TeamNewPipe/NewPipe#11803

@GreenMystic
Copy link
Author

Vanilla, too, I guess. TeamNewPipe/NewPipe#11803

i see gonna follow up hopefully it's will be done soon

@funsafe-ptr
Copy link

It's probably YouTube acting up again.

@GreenMystic

This comment has been minimized.

@funsafe-ptr

This comment has been minimized.

@GreenMystic

This comment has been minimized.

@asandikci
Copy link
Member

I could not reproduce the problem yet. Probably youtube doing smth. I've subscribed to upstream issue. I'll merge if upstream project solves the problem.

There is nothing that I can do. I'm not closing the issue for now because to not forget the problem

@funsafe-ptr
Copy link

Yeah, I guess YouTube is doing this in some countries. I can easily bypass this by changing my VPN country.

@GreenMystic
Copy link
Author

Yeah, I guess YouTube is doing this in some countries. I can easily bypass this by changing my VPN country.

i know this approach since few days ago but of course YouTube will not let us go away that easily you can watch content with VPN but now there's a error like sign in to confirm that you are not robot 🗿

so my approach is:
pipepipe + sign in + VPN = work

@funsafe-ptr

This comment has been minimized.

@GreenMystic

This comment has been minimized.

@funsafe-ptr
Copy link

funsafe-ptr commented Dec 23, 2024

Yes, YouTube nuked it, not possible now.
futo-org/grayjay-android#1423 (comment)
TeamNewPipe/NewPipe#11382 (comment)

@GreenMystic

This comment has been minimized.

@asandikci

This comment has been minimized.

@funsafe-ptr

This comment has been minimized.

@asandikci

This comment has been minimized.

@asandikci asandikci changed the title crash when seek on seekbar 403 error Dec 24, 2024
@funsafe-ptr

This comment has been minimized.

@asandikci

This comment has been minimized.

@asandikci

This comment has been minimized.

@asandikci asandikci changed the title 403 error YouTube IP Ban / 403 Error Jan 10, 2025
@asandikci asandikci added the waiting changes Waiting for upstream project & fork author label Jan 10, 2025
@GreenMystic

This comment has been minimized.

@asandikci

This comment has been minimized.

@asandikci
Copy link
Member

I don't get 403 errors very often but If you guys get it often maybe It would be good to give feedback to latest CI build in NewPipe, see: TeamNewPipe/NewPipe#11955

@funsafe-ptr
Copy link

😔 I can't view the logcat without a computer. 💻

@funsafe-ptr
Copy link

@asandikci Hi. 🎉 There is a new release that fixes this, 🚀 It's working great and loads fast too. ⚡😊 https://github.com/TeamNewPipe/NewPipe/releases/tag/v0.27.6

@asandikci
Copy link
Member

This should be solved with latest release

@asandikci asandikci unpinned this issue Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting changes Waiting for upstream project & fork author
Projects
None yet
Development

No branches or pull requests

3 participants