Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

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

Open
zbz0425 opened this issue Jul 29, 2018 · 9 comments
Open

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

zbz0425 opened this issue Jul 29, 2018 · 9 comments

Comments

@zbz0425
Copy link

zbz0425 commented Jul 29, 2018

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
Copy link
Contributor

检查v2rayx配置

@Cenmrev
Copy link
Owner

Cenmrev commented Jul 29, 2018

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

@zbz0425
Copy link
Author

zbz0425 commented Jul 30, 2018

{
"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
Copy link
Author

zbz0425 commented Jul 30, 2018

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

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

端口 (Port) = 2333

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

额外ID (Alter Id) = 233

传输协议 (Network) = tcp

伪装类型 (header type) = none

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

@zbz0425
Copy link
Author

zbz0425 commented Jul 30, 2018

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

@Cenmrev
Copy link
Owner

Cenmrev commented Jul 30, 2018

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

@lujimmy
Copy link

lujimmy commented Jan 24, 2019

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

@wuzhenhai
Copy link

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

@RainMan9
Copy link

RainMan9 commented Sep 3, 2019

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

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

No branches or pull requests

6 participants