Skip to content
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

[Bug]: Linux下TUN模式无法上网 #6081

Open
2 tasks done
Poempoat opened this issue Nov 16, 2024 · 0 comments
Open
2 tasks done

[Bug]: Linux下TUN模式无法上网 #6081

Poempoat opened this issue Nov 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Poempoat
Copy link

预期情况

在TUN模式下正常上网

实际情况

开启TUN一段时间后无法上网

复现方法

1.运行v2rayN Linux 7.1.1
2.在TUN设置中配置sudo密码,开启ipv6,关闭strict route,stack设置为gvistor,mtu为1500
3.开启Tun模式,正常上网,等待一段时间
4.日志中出现dns: exchange failed for xxx IN A: context canceled,无法上网

日志信息

4:22:24 ERROR [2801912517 7.8s] dns: exchange failed for abs.twimg.com. IN A: context canceled
+0800 2024-11-16 14:22:24 ERROR [4166778063 7.8s] dns: exchange failed for abs.twimg.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:24 ERROR [2329159389 797ms] dns: exchange failed for connectivity-check.ubuntu.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:24 ERROR [3373601672 5.80s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
+0800 2024-11-16 14:22:24 ERROR [2180058098 3.82s] dns: exchange failed for clients4.google.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:24 ERROR [3947694704 2.0s] dns: exchange failed for abs.twimg.com. IN A: context canceled
+0800 2024-11-16 14:22:24 ERROR [1407924294 797ms] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
+0800 2024-11-16 14:22:24 ERROR [3082357798 3.82s] dns: exchange failed for clients4.google.com. IN A: context canceled
+0800 2024-11-16 14:22:24 ERROR [3713762024 5.80s] dns: exchange failed for connectivity-check.ubuntu.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:24 ERROR [1122973485 7.7s] dns: exchange failed for abs.twimg.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:24 ERROR [9473687 3.82s] dns: exchange failed for clients4.google.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:24 ERROR [4152095557 10.0s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context deadline exceeded
2024/11/16 14:22:24 from tcp:127.0.0.1:55544 accepted tcp:[2607:f8b0:4007:801::200a]:443 [socks -> proxy]
2024/11/16 14:22:24 from udp:127.0.0.1:48219 accepted udp:8.8.8.8:53 [socks -> proxy]
+0800 2024-11-16 14:22:34 ERROR [2487177554 1.75s] dns: exchange failed for abs.twimg.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:34 ERROR [107230215 1.75s] dns: exchange failed for abs.twimg.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:34 ERROR [1004471580 7.0s] dns: exchange failed for abs.twimg.com. IN A: context canceled
+0800 2024-11-16 14:22:34 ERROR [1711624456 1.3s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
+0800 2024-11-16 14:22:34 ERROR [312237388 10.0s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context deadline exceeded
+0800 2024-11-16 14:22:34 ERROR [495069034 1.75s] dns: exchange failed for abs.twimg.com. IN A: context canceled
+0800 2024-11-16 14:22:34 ERROR [390898795 6.4s] dns: exchange failed for connectivity-check.ubuntu.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:34 ERROR [2539737637 9.0s] dns: exchange failed for clients4.google.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:34 ERROR [2892985596 9.0s] dns: exchange failed for clients4.google.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:34 ERROR [2578513883 3.75s] dns: exchange failed for clients4.google.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:34 ERROR [1891184623 3.75s] dns: exchange failed for clients4.google.com. IN A: context canceled
+0800 2024-11-16 14:22:34 ERROR [936664883 9.0s] dns: exchange failed for clients4.google.com. IN A: context canceled
+0800 2024-11-16 14:22:34 ERROR [1216609248 4.99s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
+0800 2024-11-16 14:22:34 ERROR [3606952043 3.75s] dns: exchange failed for clients4.google.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:34 ERROR [2507480472 1.3s] dns: exchange failed for connectivity-check.ubuntu.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:34 ERROR [4069798251 7.0s] dns: exchange failed for abs.twimg.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:34 ERROR [3272633460 7.0s] dns: exchange failed for abs.twimg.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:34 ERROR [3028946868 6.4s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
2024/11/16 14:22:34 from udp:127.0.0.1:58660 accepted udp:8.8.8.8:53 [socks -> proxy]
+0800 2024-11-16 14:22:44 ERROR [2144940606 2.57s] dns: exchange failed for google.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [3750059894 2.27s] dns: exchange failed for beacons5.gvt3.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [3362716679 6.51s] dns: exchange failed for abs.twimg.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [2364716402 809ms] dns: exchange failed for mtalk.google.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [2290359191 3.26s] dns: exchange failed for clients4.google.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [3590606068 1.26s] dns: exchange failed for abs.twimg.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [881907301 2.27s] dns: exchange failed for beacons5.gvt3.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:44 ERROR [422264749 4.99s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [422406415 3.26s] dns: exchange failed for clients4.google.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [2022699016 1.3s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [1628391272 6.51s] dns: exchange failed for abs.twimg.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [2277235881 2.57s] dns: exchange failed for google.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:44 ERROR [1636583100 6.4s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [3459573807 8.51s] dns: exchange failed for clients4.google.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [1006138659 1.3s] dns: exchange failed for connectivity-check.ubuntu.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [2137451963 2.27s] dns: exchange failed for beacons5.gvt3.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [2573266078 1.26s] dns: exchange failed for abs.twimg.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [3944426770 6.51s] dns: exchange failed for abs.twimg.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:44 ERROR [3261326832 8.51s] dns: exchange failed for clients4.google.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:44 ERROR [2838354103 6.4s] dns: exchange failed for connectivity-check.ubuntu.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [4291889679 1.26s] dns: exchange failed for abs.twimg.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:44 ERROR [3457308124 809ms] dns: exchange failed for mtalk.google.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [3355618476 3.26s] dns: exchange failed for clients4.google.com. IN HTTPS: context canceled
+0800 2024-11-16 14:22:44 ERROR [3366664999 2.57s] dns: exchange failed for google.com. IN AAAA: context canceled
+0800 2024-11-16 14:22:44 ERROR [46220765 8.51s] dns: exchange failed for clients4.google.com. IN A: context canceled
+0800 2024-11-16 14:22:44 ERROR [3745204331 10.0s] dns: exchange failed for connectivity-check.ubuntu.com. IN A: context canceled
2024/11/16 14:22:45 from udp:127.0.0.1:53508 accepted udp:8.8.8.8:53 [socks -> proxy]

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@Poempoat Poempoat added the bug Something isn't working label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant