-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Newpipe (Youtube) not working in Russia (but official YT app works) #7114
Comments
+1 Maybe only Russia affected. It's starts from morning and I surprised where is no reports. |
There is election soon and there are rumors about full Google services shutdown by goverment. I checked:
|
I thought it was only for me... 3 different devices, same error. Russia. Youtube site is ok, youtube-dl is working fine. The only problem is NewPipe app isn't loading anything. Exception
Crash log
` ` |
Same here, also in Russia. |
Same here, Russia, but it is not consistent Phone A Phone B When I switch to mobile data (Yota), request channel list or video, it works like it should. Official YouTube app works fine on all devices and all connections. Here is the log from phone B, when it is not loading channel videos: Exception
Crash log
` |
+1 Russian
Most likely this is due to the fact that our government wants to block some DNS - Google DNS, Cloudflare DNS, Cisco OpenDNS. Android 10 UPD 1: NewPipe works on my working Wi-Fi without VPN |
I am also Russia 🇷🇺 The official youtube client is working! There is an obvious problem with DNS! |
im from russia. |
Also doesn't work. Xiaomi Mi 9 running Pixel Experience 11, Yota. Interesting how it doesn't affect anything else, including SkyTube or YouTube itself. Guess we just have to wait until the election is over for now. |
Works for me but only in DNS and Firewall mode. |
Same here, Russia, Tele2 mobile operator. Had to route NewPipe through VPN. YT is working fine. |
Test this fix, guys.
|
@yuliskov do they block uncommon cipher list on TSPU? Could anyone please collect .pcap capture and upload it here or mail me at [email protected] please? |
Also problem in Russia, Rethink DNS helped. Probably related with public DNS blocks in Russia. |
PCAPdroid is also available from F-Droid: https://f-droid.org/packages/com.emanuelef.remote_capture |
Indeed, youtube does not reply to NewPipe's TLS ClientHello. This is presumably due to some kind of filtering on TSPU. |
I'm from Mauritius (African country), and I'm having the same issue. |
RethinkDNS contains TCP stack, which behaves a bit unusual (it seems to fragment TCP stream by 512 bytes). This presumably bypasses TSPU. Not because of DNS change, but because of the fragmentation. |
When I turn on PCAPdroid for NewPipe the issue disappears and everything works just fine. When i turn it off, the issue returns. Very weird. |
All these software which use VPN API has to reimplement its own TCP stack, including PCAPdroid, which may behave differently to regular application. If you have root, you can use tcpdump to capture unaltered traffic directly from the interface. Right now it seems like a TLS Fingerprinting to block an Android application which uses |
Loads 6 subs per some time, but subs list is not updating in the end for me |
The exact combination of NewPipe/app/src/main/java/org/schabi/newpipe/DownloaderImpl.java Lines 119 to 120 in 793b88a
does not work. |
Try this. This is for test only. Works for me. This version has a modification of |
Good job. Waiting for it to be integrated onto the next hotfix update. |
@ValdikSS am I right to understand that it only works with worsened encryption, which is easier to hack for any MITM (ISPs, governements, etc)? |
No, the ciphers are still strong ones, I've just made a minor alternation to break the fingerprint chain. It seems to me that TSPU is blocking traffic from okhttp library (with its standard cryptography cipher suites to be precise) to |
Android said that app is not installed when I try to install the fix. APK is broken, maybe? |
You need to remove the previous one, since my .app has different signature. |
Export ur data -> Uninstall NewPipe -> Install debug version -> Import ur data from backup |
So for once it's actually not RosComPozor's fault? |
It's certainly is, this is a block somewhere inside Russia, on TSPU it seems. Not Google/YouTube or NewPipe fault. To make sure, I've sent the exact packet which NewPipe sends to YouTube, to my server (to my IP address). As I can see on the server, the packet gets delivered but the server response is not accepted by the client (Tele2 Saint Petersburg network): https://ntc.party/t/tls-youtube/1311/7 More info: https://roskomsvoboda.org/cards/card/tspu-blokrovki-runet/ |
Well, dang. |
Wow this issue escalated quickly 😆
That's because this is only enabled on KitKat devices 😉 NewPipe/app/src/main/java/org/schabi/newpipe/DownloaderImpl.java Lines 57 to 58 in 793b88a
This issue might also be related to #2898 |
It's not, I've tested TLS combinations as well. This is not due to TLS 1.3, not due to uncommon/unsupported ciphers, etc. |
Also note that the used cipher |
Works for me. |
Any good news bro? it work now? |
Bad news for me |
If you don't want to install my build, you can try Intra:
https://getintra.org/#!/
Despite the website information only regarding DNS, it also performs
TCP-level fragmentation.
…On 17.09.2021 19:37, Artyom wrote:
Bad news for me
Rethink DNS is not working anymore with my home Wi-Fi
But it works on mobile data
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7114 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXJZCKJTYTA4K6YJ62DD73UCNVDVANCNFSM5EDJIUZA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Just wanted to warn others who might have RethinkDNS stop working that they are not alone :)
Im periodically swaps between official and your build. UPD 1: Same situation with Intra UPD 2: Wi-Fi works with Tor only UPD 3: Windscribe VPN works |
The original download link to this is this GitHub repository right here. BTW, somehow I'm able to play videos again just fine on Beeline ISP at other home on a stock build without using DNS things. |
Pretty sure he meant Intra which, despite claiming to be open source, is only available via Google Play. |
Huh, weird. |
Yep, I talked about Intra |
Well, looks like NewPipe works now without VPN/Tor (at least for me) UPD 1: It's broken again (Wi-Fi) |
It slowly becomes available. |
Can confirm, works now. |
I think we can safely close out the issue, as it was in a typical Russian fashion. |
I renamed the issue so that it's clearly visible what this issue is about.
Nobody says what's working now... I assume NewPipe (and not a VPN as mentioned above)? Does this mean YT works now again in Russia on "standard" NewPipe? |
@litetex, YouTube in general worked fine all the time, but not NewPipe. As the investigation shows, a government-wide Deep Packet Inspection system for some reason had blocked TLS fingerprint of okhttp library, which is used by NewPipe, when accessing So the original issue title described the issue quite clearly. I can't even guess what that was, why this exact TLS fingerprint become blocked towards |
Today NewPipe and the Internet worked strangely for me: Mb rename issue to "NewPipe not working in Russia"? |
No more reports since 3 days and the "elections" in Russia are over so I guess we can close the issue. Feel free to leave a comment if you disagree 😄 |
This is a fascinating discussion. Glad I stumbled upon it (:
Just a note: A userspace TCP/IP is required only if the apps have to maintain any sort of 'state' for outgoing tcp connections (for ex, splitting tls client-hello) and NAT (and rewrite) udp packets. That's a very specific requirement. For example, NetGuard doesn't embed a TCP/IP stack (but does maintain some form of state for its packet / conn filtering implementation). A stateless firewall wouldn't need to run a userspace TCP/IP stack (which would limit its functionality) and can rely on the underlying Kernel's implementation instead (there are apps that do this, too). (rethinkdns developer here) |
Checklist
Steps to reproduce the bug
Actual behavior
Nothing loads. Tried reinstalling, nothing changes.
Expected behavior
Everytrhing should load.
Screenshots/Screen recordings
https://ibb.co/d29FXVt
Logs
Exception
Crash log
Device info
The text was updated successfully, but these errors were encountered: