-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
All connections timeout on cellular since 1.11.0, Android tun #2636
Comments
Is tun2 in Private Space or another User Profile? Is |
Log screenshot does not match your description. A proper DNS config is not omittable for TUN. Do not rely on undefined behavior. |
I did a proper screen recording. Right after reboot, in main user, with DNS configured. Timestamp:
screen.mp4{
"log": {
"level": "info",
"timestamp": false
},
"dns": {
"servers": [
{
"tag": "1111",
"address": "https://1.1.1.1/dns-query"
}
],
"strategy": "ipv4_only"
},
"inbounds": [
{
"type": "tun",
"address": ["172.19.0.1/30", "fdfe:dcba:9876::1/126"],
"auto_route": true,
"sniff": true
}
],
"outbounds": [
{
"type": "direct"
},
{
"tag": "dns",
"type": "dns"
}
],
"route": {
"auto_detect_interface": true,
"rules": [
{
"protocol":"dns",
"outbound":"dns"
}
]
}
} |
Maybe your cellular blocked https://1.1.1.1/dns-query
I can browse websites normally in the new user profile. |
unable to reproduce, may be a vendor or ISP issue. |
Thanks for pointing out. I've tested a config replacing TUN inbound with an HTTP inbound, using F-Droid, witch support in-app HTTP proxy configuration, as client. It turned out that the same timeout issue is still present without TUN. I also downloaded every 1.11 beta versions and tested by upgrading version by version. Everything works as expected up to 1.11.0-beta.9, then everything times out since 1.11.0-beta.11. I believe that some changes made between 1.10.0 beta 9 and beta 11 caused sing-box no longer working with that specific carrier. |
Can you confirm that this bug continues to exist on 1.12.0-alpha.13? |
It's fixed on 1.12.0-alpha.13 1.12.0-alpha.12 timeout Thank you! |
Operating system
Android
System version
GrapheneOS 2025021100 (Android 15)
Installation type
sing-box for Android Graphical Client
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
After upgrading to 1.11.0, everything works as expected under WiFi, but when the phone is on cellular, all connections timeout.
Reproduction
Install 1.10.6, import the following config, turn off WiFi, visit https://1.1.1.1/cdn-cgi/trace, the IP address of my cellular connection is returned;
Upgrade to 1.11.4, visit https://1.1.1.1/cdn-cgi/trace again, connection times out; Turn WiFi back on and restart sing-box, visit https://1.1.1.1/cdn-cgi/trace, the IP address of my WiFi connection is returned.
Logs
Thank you for yearlong work you've put in!
Logs
Supporter
Integrity requirements
The text was updated successfully, but these errors were encountered: