Cenmrev / V2RayX

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

V2RayX mac上一直无法使用,android相同配置可以使用 #125

Open zbz0425 opened 6 years ago

zbz0425 commented 6 years ago

2018/07/29 17:01:23 [Info] App|Proxyman|Mux: failed to read metadata > io: read/write on closed pipe 2018/07/29 17:01:23 [Info] Transport|Internet|mKCP: #44624 terminating connection to ...:** 2018/07/29 17:01:23 [Info] Transport|Internet|UDP: failed to handle UDP input > EOF 2018/07/29 17:01:24 [Debug] Transport|Internet|UDP: dispatch request to: udp:8.8.8.8:53 2018/07/29 17:01:24 [Info] Transport|Internet|UDP: establishing new connection for udp:8.8.8.8:53 2018/07/29 17:01:24 [Info] App|Dispatcher: default route for udp:8.8.8.8:53 2018/07/29 17:01:24 [Info] App|Proxyman|Mux: dispatching request to udp:8.8.8.8:53 2018/07/29 17:01:24 [Info] Transport|Internet|mKCP: dialing mKCP to udp:...:** 2018/07/29 17:01:24 [Info] Transport|Internet|mKCP: #44625 creating connection to ...:** 2018/07/29 17:01:24 [Info] Proxy|VMess|Outbound: tunneling request to tcp:v1.mux.cool:9527 via tcp:...:** 2018/07/29 17:01:24 [Debug] Transport|Internet|mKCP: #44625 entering state 4 at 283 2018/07/29 17:01:24 [Debug] Transport|Internet|mKCP: #44625 entering state 5 at 283 2018/07/29 17:01:24 [Info] Transport|Internet|mKCP: #44625 closing connection to ...:** 2018/07/29 17:01:24 [Info] failed to handler mux client connection > Proxy|VMess|Outbound: connection ends > context canceled 2018/07/29 17:01:24 [Info] App|Proxyman|Mux: failed to read metadata > io: read/write on closed pipe 2018/07/29 17:01:24 [Info] Transport|Internet|mKCP: #44625 terminating connection to ...:** 2018/07/29 17:01:24 [Info] Transport|Internet|UDP: failed to handle UDP input > EOF 2018/07/29 17:01:25 [Debug] Transport|Internet|UDP: dispatch request to: udp:8.8.8.8:53 2018/07/29 17:01:25 [Info] Transport|Internet|UDP: establishing new connection for udp:8.8.8.8:53 2018/07/29 17:01:25 [Info] App|Dispatcher: default route for udp:8.8.8.8:53 2018/07/29 17:01:25 [Info] App|Proxyman|Mux: dispatching request to udp:8.8.8.8:53 2018/07/29 17:01:25 [Info] Transport|Internet|mKCP: dialing mKCP to udp:...:** 2018/07/29 17:01:25 [Info] Transport|Internet|mKCP: #44626 creating connection to ...:** 2018/07/29 17:01:25 [Info] Proxy|VMess|Outbound: tunneling request to tcp:v1.mux.cool:9527 via tcp:...:** 2018/07/29 17:01:25 [Debug] Transport|Internet|mKCP: #44626 entering state 4 at 326 2018/07/29 17:01:25 [Debug] Transport|Internet|mKCP: #44626 entering state 5 at 326 2018/07/29 17:01:25 [Info] Transport|Internet|mKCP: #44626 closing connection to ...:** 2018/07/29 17:01:25 [Info] failed to handler mux client connection > Proxy|VMess|Outbound: connection ends > context canceled 2018/07/29 17:01:25 [Info] Transport|Internet|mKCP: #44626 terminating connection to ...:** 2018/07/29 17:01:25 [Info] App|Proxyman|Mux: failed to read metadata > io: read/write on closed pipe 2018/07/29 17:01:25 [Info] Transport|Internet|UDP: failed to handle UDP input > EOF 2018/07/29 17:01:31 [Info] App|Router: failed to get IP address > App|DNS: returning nil for domain www.youtube.com. 2018/07/29 17:01:31 [Info] [3410932516] App|Dispatcher: default route for tcp:www.youtube.com:443 2018/07/29 17:01:31 [Info] [3410932516] App|Proxyman|Mux: dispatching request to tcp:www.youtube.com:443 2018/07/29 17:01:31 [Info] Transport|Internet|mKCP: dialing mKCP to udp:...:** 2018/07/29 17:01:31 [Info] Transport|Internet|mKCP: #44627 creating connection to ...:** 2018/07/29 17:01:31 [Info] Proxy|VMess|Outbound: tunneling request to tcp:v1.mux.cool:9527 via tcp:...:** 2018/07/29 17:01:31 [Debug] Transport|Internet|mKCP: #44627 entering state 4 at 303 2018/07/29 17:01:31 [Debug] Transport|Internet|mKCP: #44627 entering state 5 at 303 2018/07/29 17:01:31 [Info] Transport|Internet|mKCP: #44627 closing connection to ...:** 2018/07/29 17:01:31 [Info] failed to handler mux client connection > Proxy|VMess|Outbound: connection ends > Proxy|VMess|Outbound: failed to read header > Proxy|VMess|Encoding: failed to read response header > EOF

Chandler-Lu commented 6 years ago

检查v2rayx配置

Cenmrev commented 6 years ago

你这说的太含糊了,服务端是怎么配置的?安卓端是怎么填写的?V2RayX里是怎么填写的?transportSettings 里面的设置是否和服务端匹配?有没有开tls?v2rayx采用的什么代理模式?如果采用了pac模式,pac的语法是否正确?端口是否和V2RayX里设置的端口符合?是否同时开启了ssr导致了端口占用?

zbz0425 commented 6 years ago

{ "policy": { "levels": { "0": { "uplinkOnly": 0 } } }, "dns": { "servers": [ "localhost" ] }, "outboundDetour": [ { "protocol": "freedom", "tag": "direct", "settings": {} } ], "inbound": { "listen": "127.0.0.1", "port": 1081, "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "ip": "127.0.0.1" } }, "inboundDetour": [ { "listen": "127.0.0.1", "allocate": { "strategy": "always", "refresh": 5, "concurrency": 3 }, "port": 1080, "protocol": "http", "tag": "httpDetour", "domainOverride": [ "http", "tls" ], "streamSettings": {}, "settings": { "timeout": 0 } } ], "log": { "error": "/var/folders/8x/579826r121x0hpppxc8vhy9w0000gn/T/cenmrev.v2rayx.log.21E0AFFF-17BD-4685-9E3C-26275D019328/error.log", "loglevel": "debug", "access": "/var/folders/8x/579826r121x0hpppxc8vhy9w0000gn/T/cenmrev.v2rayx.log.21E0AFFF-17BD-4685-9E3C-26275D019328/access.log" }, "routing": { "strategy": "rules", "settings": { "domainStrategy": "IPIfNonMatch", "rules": [ { "domain": [ "localhost" ], "type": "field", "outboundTag": "direct" }, { "type": "field", "outboundTag": "direct", "ip": [ "geoip:private" ] } ] } }, "outbound": { "sendThrough": "0.0.0.0", "mux": { "enabled": true, "concurrency": 8 }, "protocol": "vmess", "settings": { "vnext": [ { "address": "隐藏。。。。。", "port": 2333, "users": [ { "id": "隐藏。。。。。", "alterId": 233, "security": "chacha20-poly1305", "level": 0 } ], "remark": "V2RAY" } ] }, "streamSettings": { "wsSettings": { "path": "", "headers": {} }, "tlsSettings": { "serverName": "server.cc", "allowInsecure": false }, "httpSettings": { "path": "", "host": [ "" ] }, "tcpSettings": { "header": { "type": "none" } }, "kcpSettings": { "header": { "type": "none" }, "mtu": 1350, "congestion": false, "tti": 50, "uplinkCapacity": 5, "writeBufferSize": 1, "readBufferSize": 2, "downlinkCapacity": 20 }, "network": "tcp", "security": "none" } } }

zbz0425 commented 6 years ago

服务端配置配置是这样。。。 ---------- V2Ray 配置信息 -------------

地址 (Address) = 隐藏。。。。。

端口 (Port) = 2333

用户ID (User ID / UUID) = 隐藏。。。

额外ID (Alter Id) = 233

传输协议 (Network) = tcp

伪装类型 (header type) = none

备注: 广告拦截已开启..

zbz0425 commented 6 years ago

一样的配置 同事的mac可以 我的不行。。。

Cenmrev commented 6 years ago

我不明白的是,你提供的log里面出现了大量mKCP,但是服务端和客户端的配置里都选择的是tcp,确定传输配置一致?

lujimmy commented 5 years ago

@zbz0425 看了一下,你使用的脚本里面应该有一项“生成 V2Ray 客户端配置文件下载链接”(如果没有,把管理脚本更新到最新版本),复制链接可以下载客户端配置JSON文件,然后在V2rayX配置里面导入即可使用。具体操作如下: Configure... Import... Import from standard JSON files...

wuzhenhai commented 5 years ago

你检查下你电脑的时间,是不是和标准时间差了3分钟以上呀

RainMan9 commented 5 years ago

我的v2rayX客户端每次在mac睡眠过后在开启,就挂了,重启服务也不行(同时,android客户端测试sever,正常) 然后过了十几分钟,自己变好了 我晕