Cenmrev / V2RayX

GUI for v2ray-core on macOS
GNU General Public License v3.0
7.62k stars 1.14k forks source link

请帮我看一下是哪里有问题,是客户端配置有问题还是我的v2ray配置有问题,谢谢 #300

Open whynotgithub opened 4 years ago

whynotgithub commented 4 years ago

请回答下列问题。不按模板发的 issue 将直接被关闭。

0) 如果你没有遇到任何错误和不正常,请在此处回答你想发表的内容:

1) 你正在使用哪个版本的 V2RayX,你的 macOS 系统版本? V2rayX 版本 Version 1.5.1 (1278) Mac os catalina 10.15

2) 如果你在操作 V2RayX 的时候遇到程序崩溃/无反应,请描述你的操作,之后在命令行(终端.app)里运行/Applications/V2RayX.app/Contents/MacOS/V2RayX,重复上述操作直至软件崩溃,把终端里的输出贴到下面指定的地方。

在这里贴上终端的输出

3) 如果 V2RayX 没有发生崩溃,但是有一些不正常行为,比如上次勾选了 mux,再次打开,mux 的钩没有了。请描述你遇到的不正常行为。

4) 如果 V2RayX 一切正常,但网络依然不如你所预料,请首先把 log level 切换到 debug,再次访问你想访问的网站。然后点击 V2RayX 的 view current config.json,将弹出的浏览器内的配置文件粘贴到下面指定的地方,但是隐藏掉ip/端口/id等信息。

在这里粘贴配置文件内容
```{
  "routing" : {
    "name" : "all_to_main",
    "domainStrategy" : "AsIs",
    "rules" : [
      {
        "type" : "field",
        "outboundTag" : "sself server",
        "port" : "0-65535"
      }
    ]
  },
  "inbounds" : [
    {
      "listen" : "127.0.0.1",
      "protocol" : "socks",
      "settings" : {
        "ip" : "127.0.0.1",
        "auth" : "noauth",
        "udp" : false
      },
      "tag" : "socksinbound",
      "port" : 1081
    },
    {
      "listen" : "127.0.0.1",
      "protocol" : "http",
      "settings" : {
        "timeout" : 0
      },
      "tag" : "httpinbound",
      "port" : 8001
    }
  ],
  "dns" : {
    "servers" : [
      "localhost"
    ]
  },
  "log" : {
    "error" : "\/var\/folders\/ms\/5rbj25613sjgt2yq2nnh3b_r0000gn\/T\/cenmrev.v2rayx.log\/error.log",
    "loglevel" : "debug",
    "access" : "\/var\/folders\/ms\/5rbj25613sjgt2yq2nnh3b_r0000gn\/T\/cenmrev.v2rayx.log\/access.log"
  },
  "outbounds" : [
    {
      "sendThrough" : "0.0.0.0",
      "mux" : {
        "enabled" : false,
        "concurrency" : 8
      },
      "protocol" : "vmess",
      "settings" : {
        "vnext" : [
          {
            "address" : "www.*******.xyz",
            "users" : [
              {
                "id" : "*******",
                "alterId" : 100,
                "security" : "auto",
                "level" : 1
              }
            ],
            "port" : 443
          }
        ]
      },
      "tag" : "sself server",
      "streamSettings" : {
        "wsSettings" : {
          "path" : "\/ws\/",
          "headers" : {
            "Host" : "www.*******.xyz"
          }
        },
        "quicSettings" : {
          "key" : "",
          "security" : "none",
          "header" : {
            "type" : "none"
          }
        },
        "tlsSettings" : {
          "allowInsecure" : false,
          "alpn" : [
            "http\/1.1"
          ],
          "serverName" : "www.*******.xyz",
          "allowInsecureCiphers" : false
        },
        "httpSettings" : {
          "path" : ""
        },
        "kcpSettings" : {
          "header" : {
            "type" : "none"
          },
          "mtu" : 1350,
          "congestion" : false,
          "tti" : 20,
          "uplinkCapacity" : 5,
          "writeBufferSize" : 1,
          "readBufferSize" : 1,
          "downlinkCapacity" : 20
        },
        "tcpSettings" : {
          "header" : {
            "type" : "none"
          }
        },
        "security" : "none",
        "network" : "ws"
      }
    }
  ]
}

然后点击 V2RayX 的`view log`,把 error.log 中的输出贴到下方:

在这里贴上 error.log


2019/11/03 17:36:42 [Info] [3075297283] v2ray.com/core/proxy/socks: TCP Connect request to tcp:clients1.google.com:443
2019/11/03 17:36:42 [Info] [3075297283] v2ray.com/core/app/dispatcher: taking detour [sself server] for [tcp:clients1.google.com:443]
2019/11/03 17:36:42 [Info] [3075297283] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:42 [Info] [2967948751] v2ray.com/core/proxy/socks: TCP Connect request to tcp:clients1.google.com:443
2019/11/03 17:36:42 [Info] [2967948751] v2ray.com/core/app/dispatcher: taking detour [sself server] for [tcp:clients1.google.com:443]
2019/11/03 17:36:42 [Info] [2967948751] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:45 [Info] [2967948751] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:45 [Info] [3075297283] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:45 [Info] [1412519145] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:55 [Info] [3075297283] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:55 [Info] [2967948751] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:55 [Info] [1412519145] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:56 [Info] [391213107] v2ray.com/core/proxy/socks: TCP Connect request to tcp:www.youtube.com:443
2019/11/03 17:36:56 [Info] [391213107] v2ray.com/core/app/dispatcher: taking detour [sself server] for [tcp:www.youtube.com:443]
2019/11/03 17:36:56 [Info] [391213107] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:57 [Info] [1517868039] v2ray.com/core/proxy/socks: TCP Connect request to tcp:clients4.google.com:443
2019/11/03 17:36:57 [Info] [1517868039] v2ray.com/core/app/dispatcher: taking detour [sself server] for [tcp:clients4.google.com:443]
2019/11/03 17:36:57 [Info] [1517868039] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:57 [Info] [1412519145] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled
2019/11/03 17:36:58 [Info] [1412519145] v2ray.com/core/transport/internet/websocket: creating connection to tcp:www.*******.xyz:443
2019/11/03 17:36:59 [Warning] [1412519145] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (ws://www.*******.xyz:443/ws/):  > dial tcp: lookup www.*******.xyz on 192.168.0.1:53: read udp 192.168.0.17:50907->192.168.0.1:53: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (ws://www.*******.xyz:443/ws/):  > dial tcp: lookup www.*******.xyz on 192.168.0.1:53: read udp 192.168.0.17:58233->192.168.0.1:53: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (ws://www.yanyifa.xyz:443/ws/):  > dial tcp: lookup www.*******.xyz on 192.168.0.1:53: read udp 192.168.0.17:63507->192.168.0.1:53: i/o timeout v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (ws://www.*******.xyz:443/ws/):  > dial tcp: operation was canceled] > v2ray.com/core/common/retry: all retry attempts failed

5) 其他你认为可以帮助开发者和你一起解决问题的信息:
whynotgithub commented 4 years ago

大佬们能帮我看一眼嘛,谢谢啦@Chandler-Lu @Cenmrev

Justsoos commented 4 years ago

clashx 核心 clash 只支持 ws 呵呵 v2rayx 可以用v2ray core,协议支持多,问题也是非常多。

MakeWater commented 4 years ago

感觉这个v2rayx不好用啊,我的是OS X 10.14.5,V2Ray 1.5.1, 客户端inbounds使用socks协议,出口outbounds使用vmess协议,服务端inbounds使用vmess协议,outbounds使用freedom, 使用v2ray-ui面板,客户端导入生成的配置连接直接导入配置也不行,而且我的log文件也是空的