-
-
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 doesn't fallback to IPv4 when IPv6 fails #11141
Comments
There have been issues in the past mentioning IPv4 vs IPv6. Yours is the first one, I think, that has nothing to do with network switching, but different addresses on the same network. |
I suppose is not expected to have a configured public IPv6, and then have no internet on it, would be the same as having no internet on IPv4. |
I wonder if it's a bug in Okhttp. |
I have also reproduced this after accidentally leaving DHCPv6 configured on my router with public addresses but no actual connectivity. |
to help reproduce this issue, I think the problem only occurs if the DNS server servers both AA and AAA records. |
Sounds exactly like what I reported in #8863. Still happens all the time. |
I did change recently Internet provider and noticed that my pi-hole was not working correctly with my WiFi at home. I did follow this guide (https://docs.pi-hole.net/routers/fritzbox-de/) and activated ULA (universal local adress). My clients started working again, but newpipe won't load any videos/music what so ever... Any ideas how to fix this? All other apps are working fine, only newpipe that seems to have troubles with this setup. `## Exception
Crash log
` |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@opusforlife2 I found this smart comment at smarttube: "The general issues might come from your router settings that violates the RFC, with VPN everything works just fine." yuliskov/SmartTube#2175 (comment) I did disable the option "This Fritz!Box does provide standard internet access" in the ipv6 settings which disables the option to set an preference for Router Advertisement in the LAN". And now smarttube and newpipe works again on my local home wifi!!! |
Awesome! You clever bean. Let's hope this is able to help other people here. |
Thank you so much!! I also have a Fritz router and just turned off the IPv6 altogether and now everything works great. Before it was taking ages to do anything. It's best to restart everything (router, switches, AP if separate etc after changing this setting). It's not really a bug on NP side, but if it's possible to somehow ignore IPv6 connectivity, then maybe it will help. Coincidentally I am also in Austria and just noticed this over the last few weeks. I think they are enabling IPv6 gradually and it's obviously causing issues. I'm on Spusu Fibre which is on A1. I suspect that some of the switching between networks issues that people have had, might be related to this also. |
Checklist
Affected version
0.27.0
Steps to reproduce the bug
1 - Open NewPipe
2 - Nothing Loads, a loading circle just keep spinning
Expected behavior
Videos, and feeds load.
Actual behavior
Nothing Loads, a loading circle just keep spinning
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
Android 14
Affected device model
Samsung A52
Additional information
NewPipe is working fine on mobile data, when I switch to Wi-Fi nothing works.
Videos/Channels/Feeds, just don't load.
Official YouTube client works on Wi-Fi, so does YouTube's website.
I tried to load sound cloud from NewPipe and got the same behavior.
If you need any logs, let me know what logs, and where to get them.
EDIT:
I just noticed something.
I have no IPv6 connectivity on my Wi-Fi. Meaning I get a IPv6 public address (android grabs 2 with SLAAC), but my ISP is not forwarding any IPv6 packets, they are all dropped.
My mobile data network doesn't have IPv6, I suspect this is why I can connect using mobile data and not Wi-Fi.
I am suspecting NewPipe doesn't fall back to IPv4 connection if IPv6 fails? Or does it take a very long time to do it?
EDIT: If I disable IPv6 in my router, NewPipe works fine. It seems confirmed NewPipe doesn't change back to IPv4, if IPv6 drops all the packets. I guess this is not the most "normal" situation, but other apps seem to be able to handle it.
The text was updated successfully, but these errors were encountered: