Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start: main/commands: failed to load config: [/usr/local/etc/v2ray/config.json] > infra/conf/v4: VLESS settings: please add/set "decryption":"none" to every settings #3232

Open
Zack00e opened this issue Nov 21, 2024 · 0 comments

Comments

@Zack00e
Copy link

Zack00e commented Nov 21, 2024

{
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "MY UUID",
"level": 0
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"allowInsecure": true
},
"wsSettings": {
"path": "/vlws",
"headers": {
"Host": "mmx-ds.cdn.whatsapp.net"
}
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
],
"routing": {
"domainStrategy": "AsIs",
"rules": []
}
}

root@sn:~# sudo systemctl status v2ray

× v2ray.service - V2Ray Service
Loaded: loaded (/etc/systemd/system/v2ray.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/v2ray.service.d
└─10-donot_touch_single_conf.conf
Active: failed (Result: exit-code) since Thu 2024-11-21 18:14:19 UTC; 56s ago
Docs: https://www.v2fly.org/
Process: 4191 ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json (code=exited, status=1/FAILURE)
Main PID: 4191 (code=exited, status=1/FAILURE)
CPU: 18ms

Nov 21 18:14:18 sn systemd[1]: v2ray.service: Main process exited, code=exited, status=1/FAILURE
Nov 21 18:14:18 sn systemd[1]: v2ray.service: Failed with result 'exit-code'.
Nov 21 18:14:19 sn systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 5.
Nov 21 18:14:19 sn systemd[1]: Stopped V2Ray Service.
Nov 21 18:14:19 sn systemd[1]: v2ray.service: Start request repeated too quickly.
Nov 21 18:14:19 sn systemd[1]: v2ray.service: Failed with result 'exit-code'.
Nov 21 18:14:19 sn systemd[1]: Failed to start V2Ray Service.
root@sn:~# sudo journalctl -u v2ray -f
Nov 21 18:14:18 sn v2ray[4191]: V2Ray 5.22.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.23.2 linux/amd64)
Nov 21 18:14:18 sn v2ray[4191]: A unified platform for anti-censorship.
Nov 21 18:14:18 sn v2ray[4191]: Failed to start: main/commands: failed to load config: [/usr/local/etc/v2ray/config.json] > infra/conf/v4: VLESS settings: please add/set "decryption":"none" to every settings
Nov 21 18:14:18 sn systemd[1]: v2ray.service: Main process exited, code=exited, status=1/FAILURE
Nov 21 18:14:18 sn systemd[1]: v2ray.service: Failed with result 'exit-code'.
Nov 21 18:14:19 sn systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 5.
Nov 21 18:14:19 sn systemd[1]: Stopped V2Ray Service.
Nov 21 18:14:19 sn systemd[1]: v2ray.service: Start request repeated too quickly.
Nov 21 18:14:19 sn systemd[1]: v2ray.service: Failed with result 'exit-code'.
Nov 21 18:14:19 sn systemd[1]: Failed to start V2Ray Service.

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

No branches or pull requests

1 participant