kuoruan / luci-app-v2ray

LuCI support for V2Ray
1.18k stars 283 forks source link

不能正确配置tls setting #306

Closed even1ee closed 3 years ago

even1ee commented 3 years ago

配置手机和电脑OK,但是路由器上不行,昨天更新的了最新的v2ray和luci,依旧不行,debug发现提示: 2020/11/08 02:03:25 [Info] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > v2ray.com/core/proxy/vmess/outbound: failed to read header > v2ray.com/core/proxy/vmess/encoding: Failed To Decrypt Length > cipher: message authentication failed 说明有地方配置不正常。

详细看了ui,如果 steam settings-Security 选择None,不能配置allowinsecure,如果选择TLS,可以配置,但是我的security是none,就是下面加粗的配置有冲突,另外发现配置文件不是json格式,尝试手动改了 security 为none,依然报错,搞了两天了,求指导啊。。。

"outbounds": [ { "mux": { "enabled": false, "concurrency": 8 }, "protocol": "vmess", "streamSettings": { "tcpSettings": { "header": { "type": "none" } }, "tlsSettings": { "allowInsecure": true }, "security": "none", "network": "tcp" }, "tag": "proxy", "settings": { "vnext": [ { "address": "xxxxxxx.net", "users": [ { "id": "1111111-e5ce-4ddb-873a-5071116xxdd", "alterId": 0, "level": 0, "security": "auto" } ], "port": 10086 } ] } },

even1ee commented 3 years ago

另外导入url总提示unsupported link, 但是手机和电脑都可以正常导入

even1ee commented 3 years ago

搞定了,我把 alter id 改成1就好了,但是不知道原因,电脑的从url导入以后显示的0