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

使用QUIC/http3服务器出错 #190

Open
zizzdog opened this issue Jan 31, 2024 · 2 comments
Open

使用QUIC/http3服务器出错 #190

zizzdog opened this issue Jan 31, 2024 · 2 comments

Comments

@zizzdog
Copy link

zizzdog commented Jan 31, 2024

我在Linux虚拟机内使用同样的配置文件,是能够正常返回结果的,但是Openwrt上的就不行。
这是默认配置仅启用阿里云quic服务器后,请求百度的debug日志:

2024-02-01 03:21:52 DEBUG forward_local bootstrap addr updated {"fqdn": "dns.alidns.com.", "addr": "223.5.5.5", "ttl": "20m31s", "elapse": "27.162807ms"}
2024-02-01 03:21:52 WARN forward_local failed to dial dns conn {"error": "INTERNAL_ERROR (local): write udp [::]:50716->223.5.5.5:853: sendmsg: invalid argument"}
2024-02-01 03:21:52 WARN forward_local upstream error {"uqid": 1, "qname": "baidu.com.", "qclass": 1, "qtype": 1, "upstream": "quic://dns.alidns.com", "error": "INTERNAL_ERROR (local): write udp [::]:50716->223.5.5.5:853: sendmsg: invalid argument"}
2024-02-01 03:21:52 WARN forward_local failed to dial dns conn {"error": "INTERNAL_ERROR (local): write udp [::]:50716->223.5.5.5:853: sendmsg: invalid argument"}
2024-02-01 03:21:52 WARN forward_local upstream error {"uqid": 1, "qname": "baidu.com.", "qclass": 1, "qtype": 1, "upstream": "quic://dns.alidns.com", "error": "INTERNAL_ERROR (local): write udp [::]:50716->223.5.5.5:853: sendmsg: invalid argument"}
2024-02-01 03:21:52 WARN udp_server entry err {"query": {"uqid": 1, "client": "::ffff:127.0.0.1", "qname": "baidu.com.", "qtype": 1, "qclass": 1, "elapsed": "33.972883ms"}, "error": "all upstream servers failed"}

使用http/3也是同样报错

@zizzdog zizzdog changed the title 使用QUIC服务器出错 使用QUIC/http3服务器出错 Jan 31, 2024
@IrineSistiana
Copy link

linux 内核 & cpu 架构不常见,quic 易出 bug。毕竟现在 linux udp 发包的方案都是一团乱麻。

不要相信 quic 有多快。正常使用场景 (没用上千qps)正常延时(不是卫星通信)正常丢包率(不是拨号上网),和 doh2 没任何区别。除了 quic 更可能遇到兼容性问题。

@liliang233
Copy link

不是备案麻烦 谁喜欢用quic

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