Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

[Bug]url模式中,ws的path若不给出,则连不上 #246

Closed
e1732a364fed opened this issue Feb 11, 2023 · 1 comment
Closed

[Bug]url模式中,ws的path若不给出,则连不上 #246

e1732a364fed opened this issue Feb 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@e1732a364fed
Copy link
Owner

e1732a364fed commented Feb 11, 2023

Describe the bug【描述 bug】
url模式中,ws的path若不给出,则连不上

To Reproduce【如何复现该bug】
#client
./verysimple -L="socks5://0.0.0.0:10800" -D="vlesss://a684455c-b14f-11ea-bf0d-42010aaa0003@127.0.0.1:12345?adv=ws&insecure=true"

#server
./verysimple -L="vlesss://a684455c-b14f-11ea-bf0d-42010aaa0003@127.0.0.1:12345?adv=ws&insecure=true"

时,连不上,给出path后,则正常,如

./verysimple -L="socks5://0.0.0.0:10800" -D="vlesss://a684455c-b14f-11ea-bf0d-42010aaa0003@127.0.0.1:12345/x1?adv=ws&insecure=true"

./verysimple -L="vlesss://a684455c-b14f-11ea-bf0d-42010aaa0003@127.0.0.1:12345/x1?adv=ws&insecure=true"

则可以

Expected behavior【预期的行为】
连上

Envs (please complete the following information):【系统环境】
Mac

Config file 【配置文件,客户端服务端配置都提供】

Debug Log 【Debug日志, 客户端 和 服务端 的 日志 都提供】

服务端:

Invalid request and no matched fallback, hung up	{"connid": 228931, "client RemoteAddr": "127.0.0.1:56958"}

客户端:

ERROR	Failed in handshake Single AdvLayer	{"connid": 906725, "advLayer": "ws", "target": "www.baidu.com:443", "error": "unexpected HTTP response status: 400"}

Other 【其他】

【注意,配置文件和客户端服务端配置 太长的话,前后加上三个 `, 如 ```】

@e1732a364fed e1732a364fed added the bug Something isn't working label Feb 11, 2023
@e1732a364fed
Copy link
Owner Author

应该是因为,path的要求是 必须要一个/ 才行

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant