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/H2嵌套 #10

Closed
ghost opened this issue Aug 28, 2024 · 12 comments
Closed

无法正确处理QUIC/H2嵌套 #10

ghost opened this issue Aug 28, 2024 · 12 comments
Labels
help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented Aug 28, 2024

其一为Firefox无法连接支持h2的websockets,并且由于其降级机制问题,导致完全无法连接
about:config中关闭network.http.http2.websockets后正常

其二为支持QUIC的网站均被自动降级

@Itsusinn
Copy link
Owner

firefox是如何代理的?手动添加的socks代理服务器吗?用的啥客户端,我看看能不能复现

@ghost
Copy link
Author

ghost commented Aug 28, 2024

直接读取的系统代理

@ghost
Copy link
Author

ghost commented Aug 28, 2024

晚点再研究,先Close了

@ghost ghost closed this as completed Aug 28, 2024
@ghost
Copy link
Author

ghost commented Aug 28, 2024

找到原因了,调了一天给我整麻了

@ghost
Copy link
Author

ghost commented Aug 29, 2024

第二个 QUIC 的问题暂时没有解决,不过不是优先选项,浏览器降级机制都能正常使用。

@Itsusinn
Copy link
Owner

我试了试,129ff+1.0.3tuic-server是可以通的

@Itsusinn Itsusinn reopened this Aug 29, 2024
@Itsusinn
Copy link
Owner

我试了试,129ff+1.0.3tuic-server是可以通的

从ff开发者工具里看到握手使用的是http/1.1

@ghost
Copy link
Author

ghost commented Aug 29, 2024

about:config中network.http.http2.websockets是开启的吗
另外我的客户端一直是nekoray,和nekobox一样是singbox内核

@ghost
Copy link
Author

ghost commented Aug 29, 2024

内核方面应该是和 @Fhokud 一样的,之前因为client一直被defender报毒就用的nekoray,会出现ff连接ws会失败的问题

@Itsusinn
Copy link
Owner

network.http.http2.websockets是true

此外在ff131上确实出现了连接失败,但在重试两次后就好了,很是奇怪。tuic server报的错误的reset by peer

@Itsusinn
Copy link
Owner

Itsusinn commented Aug 29, 2024

关于http3,系统代理可能无法正确代理udp流量
我使用了clashmeta的tun,且关闭firefox的socks5代理,测试了网站 https://cloudflare-quic.com/
为http3连接

@Itsusinn Itsusinn added the help wanted Extra attention is needed label Aug 29, 2024
@Fhokud
Copy link

Fhokud commented Aug 30, 2024

关于firefox的quic,Firefox好像是在走代理的时候是不是会不使用http3的,改为使用TUN/TAP就可以正常http3,似乎为了应对类似 TCP in TCP的问题

quic.nginx.org

@Itsusinn Itsusinn closed this as completed Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants