polymorphicshade / Tubular

A fork of NewPipe that implements SponsorBlock and ReturnYouTubeDislike.
GNU General Public License v3.0
1.33k stars 35 forks source link

Network Error for all videos #106

Closed gituser823 closed 3 weeks ago

gituser823 commented 3 weeks ago

Checklist

Affected version

0.27.0

Steps to reproduce the bug

  1. Play a Video
  2. An error appears and I get a notification about a network error

Expected behavior

It should play the video

Actual behavior

It doesn't pay any video

Already tested it via WiFi and LTE. All other apps have no issues with the network

Screenshots/Recordings

No response

Logs

Exception

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:103)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.os.HandlerThread.run(HandlerThread.java:68)
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.InitializationChunk.load(InitializationChunk.java:99)
    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)


Affected Android/Custom ROM version

Android 14

Affected device model

Pixel 8

Additional information

No response

malys commented 3 weeks ago

Me too

RobustRobbie commented 3 weeks ago

Same thing, tried with and without vpn, on several different connections (LTE, 5G, WiFi, WiFi 6). Some videos can play but seems very random and 99% just crash with "network error"

ob5cur3 commented 3 weeks ago

It's an issue caused by Google as they changed one of their JavaScript and NewPipe is working on fixing it - https://github.com/TeamNewPipe/NewPipe/issues/11255. Once it's fixed I believe the dev here will port the fix to Tubular.

IgorArnaut commented 3 weeks ago

Me too. I always get that error and whenever I tap another video, NewPipe just crashes. Newpipe gets this error frequently for the past few days, on mobile data and Wi-Fi, especially mobile data. It's so annoying.

zaynewestly87 commented 3 weeks ago

Works for live streams though.

BurnyBoi commented 3 weeks ago

Fix is in Newpipe: https://github.com/TeamNewPipe/NewPipeExtractor/pull/1191