XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
25.63k stars 3.96k forks source link

【错误】0 VMess receiver configured #2155

Closed moqsien closed 1 year ago

moqsien commented 1 year ago

版本: v1.8.1

{
    "dns": {
        "servers": [
            "1.1.1.1",
            "8.8.8.8",
            "8.8.4.4"
        ]
    },
    "fakedns": {
        "ipPool": "198.18.0.0/15",
        "poolSize": 65535
    },
    "inbounds": [{
        "port": 1080,
        "listen": "127.0.0.1",
        "protocol": "socks",
        "settings": {
            "udp": true
        }
    }],
    "log": {
        "loglevel": "warning",
        "error": ""
    },
    "outbounds": [{
            "protocol": "vmess",
            "sendThrough": "0.0.0.0",
            "settings": {
                "vnext": [{
                    "address": "mg.txy.a.node1.jijio.stream",
                    "port": 38999,
                    "users": [{
                        "alterId": 0,
                        "id": "adc570f1-d591-4a5a-93f0-0013bba3f116",
                        "level": 0,
                        "security": "auto"
                    }]
                }]
            },
            "streamSettings": {
                "network": "ws",
                "security": "tls",
                "tlsSettings": {
                    "disableSystemRoot": false
                },
                "wsSettings": {
                    "path": "/wesad"
                },
                "xtlsSettings": {
                    "disableSystemRoot": false
                }
            },
            "tag": "PROXY"
        },
        {
            "protocol": "freedom",
            "sendThrough": "0.0.0.0",
            "settings": {
                "domainStrategy": "AsIs",
                "redirect": ":0"
            },
            "streamSettings": {},
            "tag": "DIRECT"
        },
        {
            "protocol": "blackhole",
            "sendThrough": "0.0.0.0",
            "settings": {
                "response": {
                    "type": "none"
                }
            },
            "streamSettings": {},
            "tag": "BLACKHOLE"
        }
    ],
    "policy": {
        "system": {
            "statsInboundDownlink": true,
            "statsInboundUplink": true,
            "statsOutboundDownlink": true,
            "statsOutboundUplink": true
        }
    },
    "routing": {
        "domainMatcher": "mph",
        "domainStrategy": "AsIs",
        "rules": [{
                "ip": [
                    "geoip:private"
                ],
                "outboundTag": "DIRECT",
                "type": "field"
            },
            {
                "ip": [
                    "geoip:cn"
                ],
                "outboundTag": "DIRECT",
                "type": "field"
            },
            {
                "domain": [
                    "geosite:cn"
                ],
                "outboundTag": "DIRECT",
                "type": "field"
            },
            {
                "type": "field",
                "domain": [
                    "geosite:category-ads-all"
                ],
                "outboundTag": "BLACKHOLE"
            },
            {
                "type": "field",
                "domain": [
                    "geosite:geolocation-!cn"
                ],
                "outboundTag": "PROXY"
            }
        ]
    }
}

错误:

2023-05-30 23:09:28.421 [ERRO] [Build config for Xray failed]  infra/conf: 0 VMess receiver configured
2023-05-30 23:09:28.466 [ERRO] [Build config for Xray failed]  infra/conf: 0 VMess receiver configured
2023-05-30 23:09:28.567 [ERRO] [Build config for Xray failed]  infra/conf: 0 VMess receiver configured
2023-05-30 23:09:28.711 [ERRO] [Build config for Xray failed]  infra/conf: 0 VMess receiver configured

感觉config没问题啊。

yuhan6665 commented 1 year ago

服务端不是 vnext 是 clients 看错了 这个 outbound 看起来没有问题

moqsien commented 1 year ago

这是来自FoxMail邮箱的假期自动回复邮件。   您好,我是Mo-Qsien,最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复!