Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

invalid user #111

Open
lfflzh22 opened this issue Dec 24, 2020 · 1 comment
Open

invalid user #111

lfflzh22 opened this issue Dec 24, 2020 · 1 comment

Comments

@lfflzh22
Copy link

连接 服务器被日志显示invalid user
能麻烦各位帮忙看看吗?

服务端日志
access.log

2020/12/24 20:46:55 117.26.243.191:6147 rejected v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 34 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:46:59 117.26.243.191:6144 rejected v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 38 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:49:01 117.26.243.191:5268 rejected v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 30 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:50:00 117.26.243.191:5305 rejected v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 35 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:50:00 117.26.243.191:5306 rejected v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 35 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:50:00 117.26.243.191:5304 rejected v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 46 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:50:00 117.26.243.191:5307 rejected v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 4 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found

error.log
2020/12/24 20:49:01 [Info] [631177831] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vmess/inbound: invalid request from 117.26.243.191:5268 > v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 30 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:50:00 [Info] [1890155097] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vmess/inbound: invalid request from 117.26.243.191:5305 > v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 35 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:50:00 [Info] [4257874329] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vmess/inbound: invalid request from 117.26.243.191:5306 > v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 35 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:50:00 [Info] [699336451] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vmess/inbound: invalid request from 117.26.243.191:5304 > v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 46 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found
2020/12/24 20:50:00 [Info] [781328294] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vmess/inbound: invalid request from 117.26.243.191:5307 > v2ray.com/core/proxy/vmess/encoding: failed to drain connection DrainSize = 2882 51 4 > v2ray.com/core/proxy/vmess/encoding: invalid user > v2ray.com/core/proxy/vmess: Not Found

服务端配置
{
"log":{
"loglevel":"debug",
"access":"/var/log/v2ray/access.log",
"error":"/var/log/v2ray/error.log"
},

    "inbounds":[
            {
                    "port":10086,
            "protocol":"vmess",
            "setting":{
                    "clients":[
                            {
                                    "id":"*************",
                                    "alterId":64
                            }
                    ]
            }
            }
    ],
    "outbounds":[
            {
                    "protocol":"freedom"
            }
    ]

}

客户端配置
{
"log": {
"loglevel": "debug", // 日志级别
"access": "h:\v2rayLog\access.log", // 这是 Windows 系统的路径
"error": "h:\v2rayLog\error.log"
},

"inbounds": [
    {
        "port": 1080, 
        "listen": "127.0.0.1",
        "protocol": "socks",
        "settings": {
            "udp": true
        }
    }
],
"outbounds": [
    {
        "protocol": "vmess",
        "settings": {
            "vnext": [
                {
                    "address": "*****************", 
                    "port": 10086, // 服务器端口
                    "users": [
                        {
                                    
                            "id": "********************",
			"alterId":64
		    }
                    ]
                }
            ]
        }
    },
    {
        "protocol": "freedom",
        "tag": "direct"
    }
],
"routing": {
    "domainStrategy": "IPOnDemand",
    "rules": [
        {
            "type": "field",
            "ip": [
                "geoip:private"
            ],
            "outboundTag": "direct"
        }
    ]
}

}

客户端日志
error.log
2020/12/24 20:23:06 [Info] [58229896] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled
2020/12/24 20:23:06 [Info] [2508641405] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled
2020/12/24 20:23:06 [Info] [58229896] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled
2020/12/24 20:23:17 [Info] [3800897347] v2ray.com/core/proxy/socks: TCP Connect request to tcp:69.171.234.29:80
2020/12/24 20:23:17 [Info] [3800897347] v2ray.com/core/app/dispatcher: default route for tcp:69.171.234.29:80
2020/12/24 20:23:17 [Info] [3800897347] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:xxxxxxx:10086
2020/12/24 20:23:17 [Info] [3800897347] v2ray.com/core/proxy/vmess/outbound: tunneling request to tcp:69.171.234.29:80 via tcp:xxxxxxx:10086
2020/12/24 20:23:18 [Info] [2613569155] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled
2020/12/24 20:23:18 [Info] [2613569155] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled
2020/12/24 20:23:22 [Info] [3800897347] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled
2020/12/24 20:23:22 [Info] [3800897347] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled

@kslr
Copy link
Contributor

kslr commented Dec 24, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants