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

V0.9.2以上版本VMESS+TLS+WS套CF报错问题报告及临时解决方案。 #731

Open
everstu opened this issue Jan 13, 2025 · 1 comment

Comments

@everstu
Copy link

everstu commented Jan 13, 2025

原Issues: cf vmess +ws +tls 有报错

导致问题原因:
后台配置路径Host被强校验了,所以节点Host和配置Host不一致的时候就直接404了。
image

本地Curl请求信息:

root@debian:~# curl -I http://127.0.0.1:16523/download
HTTP/1.1 404 Not Found
Date: Mon, 13 Jan 2025 08:04:34 GMT

XrayR报错日志:

Jan 13 16:04:13 debian XrayR[335341]: 2025/01/13 16:04:13 [Info] transport/internet/websocket: failed to validate host, request:127.0.0.1:16523, config:test.com
Jan 13 16:04:34 debian XrayR[335341]: 2025/01/13 16:04:34 [Info] transport/internet/websocket: failed to validate host, request:127.0.0.1:16523, config:test.com

XrayR报错截图:
image
image

@everstu everstu changed the title V0.9.2版本VMESS+TLS+WS套CF报错问题。 V0.9.2以上版本VMESS+TLS+WS套CF报错问题报告及临时解决方案。 Jan 13, 2025
@everstu
Copy link
Author

everstu commented Jan 13, 2025

临时方案:
保证后台节点配置里传输协议里的Host和节点请求WS请求伪装域名(host)一致即可。
image

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

1 participant