TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.49k stars 3.06k forks source link

The app reports a Network error (Germany only) #10545

Open Cajogu1 opened 11 months ago

Cajogu1 commented 11 months ago

Checklist

Affected version

0.25.2

Steps to reproduce the bug

  1. Open the app.
  2. You got the bug.

Expected behavior

To show me recommend videos

Actual behavior

Not showing anything but network error

Screenshots/Screen recordings

No response

Logs

Exception

javax.net.ssl.SSLException: Unable to parse TLS packet header
    at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:807)
    at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:747)
    at com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:712)
    at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:896)
    at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.-$$Nest$mprocessDataFromSocket(Unknown Source:0)
    at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:236)
    at com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:218)
    at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:379)
    at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337)
    at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209)
    at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
    at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
    at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
    at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
    at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
    at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
    at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
    at org.schabi.newpipe.DownloaderImpl.execute(DownloaderImpl.java:163)
    at org.schabi.newpipe.extractor.downloader.Downloader.get(Downloader.java:77)
    at org.schabi.newpipe.extractor.downloader.Downloader.get(Downloader.java:59)
    at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.extractClientVersionAndKeyFromHtmlSearchResultsPage(YoutubeParsingHelper.java:604)
    at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getClientVersion(YoutubeParsingHelper.java:688)
    at org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.prepareDesktopJsonBuilder(YoutubeParsingHelper.java:1241)
    at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeTrendingExtractor.onFetchPage(YoutubeTrendingExtractor.java:63)
    at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
    at org.schabi.newpipe.extractor.kiosk.KioskInfo.getInfo(KioskInfo.java:53)
    at org.schabi.newpipe.util.ExtractorHelper.lambda$getKioskInfo$11(ExtractorHelper.java:191)
    at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$NbG7JFGg0N9HK-3exJNRB9r_hYY(ExtractorHelper.java:0)
    at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda8.call(R8$$SyntheticClass:0)
    at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
    at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
    at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
    at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
    at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
    at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
    at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
    at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
    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)
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLHandshakeException: connection closed
        at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:356)
        at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:239)
        ... 43 more
    Caused by: java.io.EOFException: connection closed
        ... 44 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLHandshakeException: connection closed
        at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:356)
        at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:239)
        ... 43 more
    Caused by: java.io.EOFException: connection closed
        ... 44 more
    Suppressed: javax.net.ssl.SSLHandshakeException: connection closed
        at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:356)
        at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:239)
        ... 43 more
    Caused by: java.io.EOFException: connection closed
        ... 44 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLHandshakeException: connection closed
        at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:356)
        at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:239)
        ... 43 more
    Caused by: java.io.EOFException: connection closed
        ... 44 more
    Suppressed: javax.net.ssl.SSLHandshakeException: connection closed
        at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:356)
        at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:239)
        ... 43 more
    Caused by: java.io.EOFException: connection closed
        ... 44 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more
    Suppressed: javax.net.ssl.SSLHandshakeException: connection closed
        at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:356)
        at com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:239)
        ... 43 more
    Caused by: java.io.EOFException: connection closed
        ... 44 more
    Suppressed: javax.net.ssl.SSLException: Unable to parse TLS packet header
        ... 49 more


Affected Android/Custom ROM version

No response

Affected device model

Motorola G9 plus

Additional information

No response

opusforlife2 commented 11 months ago

Tried restarting?

Cajogu1 commented 11 months ago

Of cause. Even my phone. No effect

opusforlife2 commented 11 months ago

You could check if you've blocked any particular domains that could be related to loading from YT.

Kannibalenleiche commented 11 months ago

I have the same error, also in Germany. It does not matter if I am on cellular data or WiFi, the problem persists. First occurred a few hours ago.

Cajogu1 commented 11 months ago

Thank god I'm not the only one. It appears to only be in Germany.

opusforlife2 commented 11 months ago

If you could try a VPN or something to change the country YT sees, that would help pinpoint Germany as actually being the reason.

Cajogu1 commented 11 months ago

I'll try that. Thx

ZybanX commented 11 months ago

I think it's YouTube server problem because it's having problem with YouTube SSL/TLS certificate or the compatibility from you and YouTube servers

Cajogu1 commented 11 months ago

Ah. Thank you Edit: so how to fix this issue

ZybanX commented 11 months ago

Ah. Thank you Edit: so how to fix this issue

Well I don't know but let me see what I can do

ZybanX commented 11 months ago

@Cajogu1 try select your country on Newpipe by going to Settings > Content > Default Content Country and select your country, the restart Newpipe. I think that should work.

Cajogu1 commented 11 months ago

I‘ll try that. Thanks in advance.

Cajogu1 commented 11 months ago

I tried it. Did not work. I used a vpn and then it works. Without its dead silence

opusforlife2 commented 11 months ago

Thanks, so this is specific to Germany, then.

Cajogu1 commented 11 months ago

Hope they fix it in the future. For now lets leave this thread active, so the devs at some point may find and fix it. Stay active please. Regards Cajogu