Skip to content

运行v2ray停止响应,始终停留在2022/05/29 14:10:04 [Info] main/jsonem: Reading config: /etc/config/v2ray.main.json #170

Open
@WayneJia1982

Description

启动:
root@OpenWrt:/tmp/log# /usr/bin/v2ray -config /etc/config/v2ray.main.json

V2Ray 4.45.0 (OpenWrt) R1 (go1.18.1 linux/arm64)
A unified platform for anti-censorship.
2022/05/29 14:10:04 [Info] main/jsonem: Reading config: /etc/config/v2ray.main.json
然后就停止响应了,只能ctrl+c退出。检查进程v2ray并未启动。

测试:
root@OpenWrt:~# /usr/bin/v2ray -test -config /etc/config/v2ray.main.json

V2Ray 4.45.0 (OpenWrt) R1 (go1.18.1 linux/arm64)
A unified platform for anti-censorship.
2022/05/29 14:23:00 [Info] main/jsonem: Reading config: /etc/config/v2ray.main.json
Configuration OK.

路由:
GL-iNet AX-1800
系统:
BusyBox v1.28.3 () built-in shell (ash)

For those about to rock... (r253-1181a4c1d, r253-1181a4c1d)

v2ray.main.json (服务器地址隐去)
{
"log": {
"access": "/var/log/v2ray-access.log",
"loglevel": "debug",
"error": "/var/log/v2ray-error.log"
},
"inbounds": [
{
"port": 1080,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "127.0.0.1"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "X.X.X.48",
"port": 443,
"users": [
{
"id": "dee11495-4c02-42b9-bad9-a2cfdfdde37d",
"level": 1,
"alterId": 79,
"security": "auto"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"allowInsecure": true
},
"wsSettings":{
"path": "/jumpoutofthepit"
}
},
"tag": "proxy"
}
],
"transport":{
"wsSettings":{
"path": "/jumpoutofthepit"
}
}
}

v2ray-error.log
2022/05/29 14:28:24 [Warning] V2Ray 4.45.0 started
2022/05/29 14:28:29 [Debug] app/log: Logger closing

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions