PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] sudenly apparently network issue even tho my net is working

Open cuteLILIch opened this issue 7 months ago • 11 comments

Checklist

  • [x] I make sure that the issue is NOT a duplicate of pinned issues
  • [x] I make sure I am using the LATEST version - check here
  • [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • [x] I have attached the error report in the issue

Describe the bug

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=RCvQW-g-NKk
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB_#u-fw-mon-mu-celsius
  • Service: YouTube (Logged in)
  • Version: 4.9.0
  • OS: Linux Android 16 - 36
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.loopOnce(Looper.java:283)
	at android.os.Looper.loop(Looper.java:392)
	at android.os.HandlerThread.run(HandlerThread.java:94)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
	at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:521)
	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.hls.HlsMediaChunk.prepareExtraction(HlsMediaChunk.java:495)
	at com.google.android.exoplayer2.source.hls.HlsMediaChunk.feedDataToExtractor(HlsMediaChunk.java:468)
	at com.google.android.exoplayer2.source.hls.HlsMediaChunk.loadMedia(HlsMediaChunk.java:437)
	at com.google.android.exoplayer2.source.hls.HlsMediaChunk.load(HlsMediaChunk.java:394)
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1564)


Version

4.9.0

Frequency

Always (100% of the time)

Device

No response

Steps to reproduce the bug

No response

Additional context

No response

cuteLILIch avatar Apr 15 '26 04:04 cuteLILIch

I can confirm this issue.

reckel-jm avatar Apr 15 '26 11:04 reckel-jm

Does this happen on every video? Have you log out first as guided in release note after updating to 4.9.0?

InfinityLoop1308 avatar Apr 15 '26 22:04 InfinityLoop1308

I encountered the same error today, after logging in to view some age-restricted videos yesterday. It affects every video afterwards. I managed to fix the issue after log out, delete WebView cookies and clear the cache.

hujan86 avatar Apr 16 '26 01:04 hujan86

Same error I encountered today, the video was age restricted and required the login. After login I encounter this network error.


Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=RBRFTM_NWsY
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US_#u-mu-celsius
  • Service: YouTube (Logged in)
  • Version: 4.9.0
  • OS: Linux Android 16 - 36
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.dispatchMessageImpl(Handler.java:138)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.loopOnce(Looper.java:269)
	at android.os.Looper.loop(Looper.java:367)
	at android.os.HandlerThread.run(HandlerThread.java:139)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
	at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:521)
	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.hls.HlsMediaChunk.prepareExtraction(HlsMediaChunk.java:495)
	at com.google.android.exoplayer2.source.hls.HlsMediaChunk.feedDataToExtractor(HlsMediaChunk.java:468)
	at com.google.android.exoplayer2.source.hls.HlsMediaChunk.loadMedia(HlsMediaChunk.java:437)
	at com.google.android.exoplayer2.source.hls.HlsMediaChunk.load(HlsMediaChunk.java:394)
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1564)


salvioner avatar Apr 17 '26 09:04 salvioner

@salvioner See #2160 , most likely your account hasn't passed age verification

InfinityLoop1308 avatar Apr 17 '26 09:04 InfinityLoop1308

@salvioner See #2160 , most likely your account hasn't passed age verification

Unlikely. I am able to view the video on the official YouTube app, on web, etc.

salvioner avatar Apr 17 '26 09:04 salvioner

@salvioner download this debug version: https://send.vis.ee/download/bd698073f3699ab6/#WxxD6S0i3Nox2t9hWj-iGg

I'll check the collected data to see what happens.

InfinityLoop1308 avatar Apr 17 '26 10:04 InfinityLoop1308

From the debug app with my account logged in I am actually able to access the video ...

@InfinityLoop1308 let me know if I can extract logs or other info that may be useful to you.

salvioner avatar Apr 17 '26 10:04 salvioner

@salvioner Then I think the issue might be stale cookie status in the release version. consider logout and clear webview cookies. At this time I don't need more info. If you find the debug version stop again let me know so I can check it.

InfinityLoop1308 avatar Apr 17 '26 10:04 InfinityLoop1308

I logged out, cleared WebView cookie and logged in again, same identical setup as I did in the debug version. The stable version is still not working for me, while the debug version is working.

(EDIT: typos)

salvioner avatar Apr 17 '26 11:04 salvioner

should be fixed in 4.9.1.

InfinityLoop1308 avatar Apr 19 '26 01:04 InfinityLoop1308