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
vless fallback 失败,firstLen = 0,导致身份验证失败? #2874
Comments
我也遇到了同样的问题,本地局域网测试过可以,但是一部署到公网服务器就不行了 |
套cdn就不要用流控flow |
描述有问题,"firstLen = 0" 的话会直接回落到 Nginx,按你说的的配置 Nginx 会转发给 gRPC,至少不会用不了 gRPC "firstLen = 0" 且用不了代理,只能是 Xray 服务端在 TLS 内没收到任何有效数据 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题是这样的。我在服务器上配置了 vless 回落,监听443端口,分别回落到
ws 入站
和nginx 伪装网站
,nginx 会把grpc
流量转发给grpc入站
。不知道为什么回落总是失败,从客户端发送的 ws 请求在服务器端显示firstLen = 0
,这个是指首包长度对吧?,首包身份认证失败,也匹配不到任何 path,无论是ws
还是grpc
都无法正常回落。申请证书的域名用的是 cloudns.net 的二级域名,托管在 cloudflare 上做解析。
个人水平有限,一番搜索查找后实在找不到什么原因会这样,下面放上日志和配置,希望有热心的大佬能帮小弟解答。
服务器日志
Vless入站
nginx 配置
Vless+WS入站
Vless-grpc入站
因为 VPS 厂商线路普通,晚高峰上网会很卡,直连的话网速很差。
所以我需要能够套CDN的配置,选出一堆 CF ip 后配合 clash 客户端负载均衡来达到加速的目的。
The text was updated successfully, but these errors were encountered: