yanue/V2rayU

v2ray-core打开失败

Philon opened this issue · 4 comments

  1. 你正在使用的 V2RayU 和 Mac 版本 ?
  • V2RayU: 4.2.5
  • MacBook(M1): macOS 15.0.1
  1. 你遇到的问题是什么?(请描述具体现象,比如访问超时,TLS 证书错误等)

V2rayU能打开,但v2ray-core总感觉没有被打开,我在活动监视器中也找不到v2ray-core相关进程。出现此问题前经历了系统升级和删除后台项的操作,我也不确定是哪个导致的此现象😂。

  • macOS从15升级到15.0.1后才出现的问题(之前没事)
  • 因频繁提示端口占用,手动删除了~/Library/LaunchAgents/yanue.v2rayu.v2ray-core.plist
  • 经过以上两个操作,V2rayU启动后无法正常代理,无任何日志输出
  • 感觉没有成功“开启v2ray-core”,手动关闭再打开也没用
  • V2rayU启动后,命令行输入/Applications/V2rayU.app/Contents/Resources/v2ray-core/v2ray-arm64 -config ~/.V2rayU/config.json后可正常代理
  1. 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
{
  "log": {
    "error": "/Users/Philon/.V2rayU/v2ray-core.log",
    "loglevel": "info",
    "access": "/Users/Philon/.V2rayU/v2ray-core.log"
  },
  "inbounds": [
    {
      "port": "10086",
      "listen": "127.0.0.1",
      "protocol": "socks",
      "settings": {
        "auth": "noauth",
        "udp": true
      }
    },
    {
      "protocol": "http",
      "listen": "127.0.0.1",
      "port": "12138",
      "settings": {
        "timeout": 360
      }
    }
  ],
  "outbounds": [
    {
      "settings": {
        "vnext": [
          {
            "users": [
              {
                "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx",
                "flow": "",
                "encryption": "none",
                "level": 0
              }
            ],
            "port": 443,
            "address": "anon.url"
          }
        ]
      },
      "mux": {
        "concurrency": 8,
        "enabled": false
      },
      "streamSettings": {
        "security": "tls",
        "tlsSettings": {
          "fingerprint": "chrome",
          "serverName": "",
          "allowInsecure": false
        },
        "network": "ws",
        "wsSettings": {
          "headers": {
            "host": ""
          },
          "path": "/xxx/xxx/xxx"
        }
      },
      "protocol": "vless",
      "tag": "proxy"
    },
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {
        "userLevel": 0,
        "domainStrategy": "UseIP"
      }
    },
    {
      "tag": "block",
      "protocol": "blackhole",
      "settings": {
        "response": {
          "type": "none"
        }
      }
    }
  ],
  "dns": {},
  "routing": {
    "balancers": [],
    "domainStrategy": "AsIs",
    "rules": [
      {
        "outboundTag": "direct",
        "ip": [
          "geoip:private"
        ],
        "type": "field"
      },
      {
        "domain": [
          "localhost"
        ],
        "type": "field",
        "outboundTag": "direct"
      }
    ]
  }
}
  1. 请附上出错时软件输出的错误日志。
此错误无日志输出(尴尬)

我也是升级到15.0.1后就废了~

我也是升级到15.0.1后就废了~

试试执行

cd /Applications/V2rayU.app/Contents/Resources
sudo sh install.sh

我也是升级到15.0.1后就废了~

试试执行

cd /Applications/V2rayU.app/Contents/Resources
sudo sh install.sh

解决了,虽然你这个方法不行,但我从中得到了灵感😄

rm -rf ~/.V2rayU

重启V2rayU就会提示重新安装——问题解决!

老哥666,我也去试试
你这个方法是可以的啊,我现在用你的这个方法正常上网:
V2rayU启动后,命令行输入/Applications/V2rayU.app/Contents/Resources/v2ray-core/v2ray-arm64 -config ~/.V2rayU/config.json后可正常代理