PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] 403 only when logged in to youtube

Open ghost opened this issue 1 year ago • 27 comments

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.

Describe the bug Only if logged in to youtube, ip is temporarily blocked message pop ups. if logged out video plays. Frequency Regular Steps to reproduce the bug

  1. Login to youtube and play a video for eg:- https://youtu.be/roz9sXFkTuE?si=3yfR68SbOPf5fwTE
  2. IP is temporarily blocked message pop ups Device (e.g. Pixel 9 Pro) Motorola g07 Error report {"user_action":"play stream","request":"Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=roz9sXFkTuE","content_language":"en-IN","content_country":"IN","app_language":"en_IN","service":"YouTube (Logged in)","package":"InfinityLoop1309.NewPipeEnhanced","version":"4.2.0","os":"Linux Android 14 - 34","time":"2025-02-14 22:33","exceptions":["com.google.android.exoplayer2.ExoPlaybackException: Source error\n\tat com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:641)\n\tat com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:617)\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loopOnce(Looper.java:205)\n\tat android.os.Looper.loop(Looper.java:294)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\nCaused by: com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected RuntimeException: 403 error. You IP is temporarily blocked from accessing this video.\n\tat com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:433)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)\n\tat java.lang.Thread.run(Thread.java:1012)\nCaused by: java.lang.RuntimeException: 403 error. You IP is temporarily blocked from accessing this video.\n\tat org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:501)\n\tat com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:258)\n\tat com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:52)\n\tat com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:786)\n\tat com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:599)\n\tat com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)\n\tat com.google.android.exoplayer2.source.chunk.ContainerMediaChunk.load(ContainerMediaChunk.java:124)\n\tat com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)\n\t... 3 more\n"],"user_comment":""} Additional context If logged out video plays fine. Never encountered the error with multiple videos

ghost avatar Feb 14 '25 17:02 ghost

I came here after having the same problem. I was already signed in and kept getting the message

Your IP has been temporarily blocked by YouTube. For a period of time, you will experience issues when playing certain videos. If the error persists, please log in through Settings to continue.

signing out fixed it for me too.

(I have Pixel 7, Android 15)

ynyz avatar Feb 14 '25 17:02 ynyz

mine also same logged in or not Source error will triggered

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=bGim33uRsL0
  • Content Country: ID
  • Content Language: en-
  • App Language: en
  • Service: YouTube (Logged in)
  • Version: 4.2.0
  • 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:641)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:617)
	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.Loader$UnexpectedLoaderException: Unexpected RuntimeException: 403 error. You IP is temporarily blocked from accessing this video.
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:433)
	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)
Caused by: java.lang.RuntimeException: 403 error. You IP is temporarily blocked from accessing this video.
	at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:501)
	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)
	... 3 more


Image

GreenMystic avatar Feb 23 '25 07:02 GreenMystic

@GreenMystic does sign out and sign in again solve the issue?

InfinityLoop1308 avatar Feb 26 '25 00:02 InfinityLoop1308

I have the same issue. And I've tried signing in and out, but it's still not working except to turn on "Override cookies". However, turn on it, I can't watch age-restricted videos.

NotProgrammer3842 avatar Feb 26 '25 13:02 NotProgrammer3842

@GreenMystic does sign out and sign in again solve the issue?

nope 🗿

GreenMystic avatar Feb 27 '25 16:02 GreenMystic

@GreenMystic does sign out and sign in again solve the issue?

No

vehosah avatar Mar 05 '25 16:03 vehosah

just to confirm, does 4.2.1 fix this issue?

SPR0UT82 avatar Mar 07 '25 20:03 SPR0UT82

just to confirm, does 4.2.1 fix this issue?

No

vehosah avatar Mar 07 '25 20:03 vehosah

@vehosah Please do not leave comments on closed issues.

InfinityLoop1308 avatar Mar 09 '25 09:03 InfinityLoop1308

A patch that possibly fixed the issue has been included in the latest debug version: https://github.com/InfinityLoop1308/PipePipe/actions/runs/13747005804 Please test it and let me know if it solves the problem.

InfinityLoop1308 avatar Mar 09 '25 09:03 InfinityLoop1308

Related: https://github.com/yt-dlp/yt-dlp/issues/12563

InfinityLoop1308 avatar Mar 09 '25 09:03 InfinityLoop1308

The fix didn't fix anything

On Sun, Mar 9, 2025, 11:44 AM InfinityLoop1308 @.***> wrote:

Related: yt-dlp/yt-dlp#12563 https://github.com/yt-dlp/yt-dlp/issues/12563

— Reply to this email directly, view it on GitHub https://github.com/InfinityLoop1308/PipePipe/issues/826#issuecomment-2708762420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQGZFZMTXCBNBHJYXQMOGD2TQEQHAVCNFSM6AAAAABXFCFGSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBYG43DENBSGA . You are receiving this because you were mentioned.Message ID: @.***> [image: InfinityLoop1308]InfinityLoop1308 left a comment (InfinityLoop1308/PipePipe#826) https://github.com/InfinityLoop1308/PipePipe/issues/826#issuecomment-2708762420

Related: yt-dlp/yt-dlp#12563 https://github.com/yt-dlp/yt-dlp/issues/12563

— Reply to this email directly, view it on GitHub https://github.com/InfinityLoop1308/PipePipe/issues/826#issuecomment-2708762420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQGZFZMTXCBNBHJYXQMOGD2TQEQHAVCNFSM6AAAAABXFCFGSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBYG43DENBSGA . You are receiving this because you were mentioned.Message ID: @.***>

vehosah avatar Mar 09 '25 14:03 vehosah

@vehosah This response does not provide any information. Where is the error report? Does this issue still exist after using the test version and logging in, and if so, how often does it occur? When did this issue appear? GitHub issues are not technical support; please ensure your response is helpful to the problem.

InfinityLoop1308 avatar Mar 10 '25 00:03 InfinityLoop1308

7 to10 videos don't play The newest version doesn't fix the issue not matter if I am logged in or Maybe you should use the same fix as newpipe which doesn't need login

On Mon, Mar 10, 2025, 2:00 AM InfinityLoop1308 @.***> wrote:

@vehosah https://github.com/vehosah This response does not provide any information. Where is the error report? Does this issue still exist after using the test version and logging in, and if so, how often does it occur? When did this issue appear? GitHub issues are not technical support; please ensure your response is helpful to the problem.

— Reply to this email directly, view it on GitHub https://github.com/InfinityLoop1308/PipePipe/issues/826#issuecomment-2709144200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQGZF6VXJGCEU4MOLL6MPD2TTI3DAVCNFSM6AAAAABXFCFGSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBZGE2DIMRQGA . You are receiving this because you were mentioned.Message ID: @.***> [image: InfinityLoop1308]InfinityLoop1308 left a comment (InfinityLoop1308/PipePipe#826) https://github.com/InfinityLoop1308/PipePipe/issues/826#issuecomment-2709144200

@vehosah https://github.com/vehosah This response does not provide any information. Where is the error report? Does this issue still exist after using the test version and logging in, and if so, how often does it occur? When did this issue appear? GitHub issues are not technical support; please ensure your response is helpful to the problem.

— Reply to this email directly, view it on GitHub https://github.com/InfinityLoop1308/PipePipe/issues/826#issuecomment-2709144200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQGZF6VXJGCEU4MOLL6MPD2TTI3DAVCNFSM6AAAAABXFCFGSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBZGE2DIMRQGA . You are receiving this because you were mentioned.Message ID: @.***>

vehosah avatar Mar 10 '25 00:03 vehosah

@vehosah So you are encountering completely different issues. This issue is about 403 after logged in, which is not your case.

I believe the 403 issue was completely fixed two versions ago (4.2.0), and I haven't received any related error reports since then. You can open an new issue about that and we can see what's happening.

InfinityLoop1308 avatar Mar 10 '25 00:03 InfinityLoop1308

A patch that possibly fixed the issue has been included in the latest debug version: https://github.com/InfinityLoop1308/PipePipe/actions/runs/13747005804 Please test it and let me know if it solves the problem.

Error persists

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:617) 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.Loader$UnexpectedLoaderException: Unexpected RuntimeException: 403 error. You IP is temporarily blocked from accessing this video. at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:433) 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) Caused by: java.lang.RuntimeException: 403 error. You IP is temporarily blocked from accessing this video. at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:501) 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) ... 3 more

ghost avatar Mar 10 '25 08:03 ghost

@anxiouslelimo does it happen immediately when start playing or after some time (like 1 minute)?

InfinityLoop1308 avatar Mar 10 '25 08:03 InfinityLoop1308

@InfinityLoop1308 the video starts playing and after some time the error pops up. if seeked (10sec seek) it happens around 30sec. if uninterrupted it happens at 60sec.

ghost avatar Mar 11 '25 17:03 ghost

We now can confirm the issue is due to new YouTube blocking.

A new possible fix is included in this test version: https://github.com/InfinityLoop1308/PipePipe/actions/runs/13877728620

Please let me know if it solves the problem. Note that it requires log out and log in again to make the patch work.

InfinityLoop1308 avatar Mar 15 '25 23:03 InfinityLoop1308

Please let me know if it solves the problem. Note that it requires log out and log in again to make the patch work.

Nope, this debug apk didn't fix issue. I'm still seeing only 360p videos

I did log out and log back in, and did try without logging in. Both gave me same results

njanbobby avatar Mar 16 '25 16:03 njanbobby