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 #439

Open
guiguan opened this issue Nov 29, 2024 · 3 comments
Open

延迟探测bug #439

guiguan opened this issue Nov 29, 2024 · 3 comments

Comments

@guiguan
Copy link

guiguan commented Nov 29, 2024

  1. 在没配置任何xray server的时候,延迟探测正常
Screenshot 2024-11-29 at 3 54 26 PM
  1. 在配置了一个xray server的时候,延迟探测计算错误?
Screenshot 2024-11-29 at 3 53 36 PM 图中的test server还未实现,但不应该影响direct的延迟

在2的情况下,我在OpenWRT里,手动测试延迟探测,都正常

root@openwrt:~# curl -o /dev/null -s -w "DNS Resolution: %{time_namelookup}s\nConnection: %{time_connect}s\nTLS Handshake: %{
time_appconnect}s\nTTFB: %{time_starttransfer}s\nTotal Time: %{time_total}s\n" http://www.apple.com/library/test/success.html
DNS Resolution: 0.000258s
Connection: 0.007708s
TLS Handshake: 0.000000s
TTFB: 0.016397s
Total Time: 0.016419s
@yichya
Copy link
Owner

yichya commented Nov 29, 2024

udp_balancer_v4 不通的话是有可能对 DNS 产生影响的,建议配对了再确认一下,或者尝试把 domain:apple.com 加入 Bypassed Domain Rules

另外,探测使用的是 Xray 自带的 observatory,确认有问题的话建议向上游反馈

@BershadskyArtem
Copy link

I am sorry for using english. I am having the same issue. When server is configured dns resolution takes about 3s. Do not understand how to fix this. What if I adding domain to bypassed list is not an option?

@guiguan
Copy link
Author

guiguan commented Dec 5, 2024

尝试把 domain:apple.com 加入 Bypassed Domain Rules

这样操作之后,direct的latency直接变成了unreachable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants