Magisk-Modules-Repo / v2ray

v2ray core
336 stars 86 forks source link

无法读取config文件 #63

Closed pianranjinghong closed 3 years ago

pianranjinghong commented 4 years ago

service.log中的错误信息: V2Ray 4.26.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.4 linux/arm64) A unified platform for anti-censorship. main: failed to read config files: [/data/v2ray/config.json] > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to execute v2ctl: v2ctl> Read config: /data/v2ray/config.json panic: open /data/v2ray/config.json: required key not available

goroutine 1 [running]: v2ray.com/core/common.Must(...) v2ray.com/core/common/common.go:17 v2ray.com/core/infra/control.(*ConfigCommand).Execute(0xb40238, 0x400011a170, 0x1, 0x1, 0x4000214ac8, 0x5a8301) v2ray.com/core/infra/control/config.go:42 +0x568 main.main() v2ray.com/core/infra/control/main/main.go:35 +0x1ec > exit status 2

oneplus 7 pro 版本:氢OS10.0.7 magisk 20.4,config.json的权限644,安装路径默认。