Cenmrev / V2RayX

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

开启pac模式后,safari浏览器不能上网,chrome正常,感觉是pac文件的问题。 #228

Open nickelzhang opened 5 years ago

nickelzhang commented 5 years ago

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

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

1) 你正在使用哪个版本的 V2RayX,你的 macOS 系统版本? Version 1.5.1 (1278) mac:10.14.3 (18D109)

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

在这里贴上终端的输出

3) 如果 V2RayX 没有发生崩溃,但是有一些不正常行为,比如上次勾选了 mux,再次打开,mux 的钩没有了。请描述你遇到的不正常行为。 开启pac模式后,safari浏览器不能打开cq.qq.com/cd.qq.com,chrome正常

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

{
dns: {
servers: [
"localhost"
]
},
inbounds: [
{
listen: "127.0.0.1",
port: 1081,
protocol: "socks",
tag: "socksinbound",
settings: {
auth: "noauth",
udp: false,
ip: "127.0.0.1"
}
},
{
listen: "127.0.0.1",
port: 8001,
protocol: "http",
tag: "httpinbound",
settings: {
timeout: 0
}
}
],
outbounds: [
{
sendThrough: "0.0.0.0",
mux: {
enabled: false,
concurrency: 8
},
protocol: "vmess",
settings: {
vnext: [
{
address: "x.x.x.x",
users: [
{
id: "db9a2950-dddcxxx",
alterId: 64,
security: "auto",
level: 1
}
],
port: 20108
}
]
},
tag: "abc",
streamSettings: {
sockopt: { },
quicSettings: {
key: "",
security: "none",
header: {
type: "none"
}
},
tlsSettings: {
allowInsecure: false,
alpn: [
"http/1.1"
],
serverName: "server.cc",
allowInsecureCiphers: false
},
wsSettings: {
path: "",
headers: { }
},
httpSettings: {
path: "",
host: [
""
]
},
tcpSettings: {
header: {
type: "none"
}
},
kcpSettings: {
header: {
type: "none"
},
mtu: 1350,
congestion: false,
tti: 20,
uplinkCapacity: 5,
writeBufferSize: 1,
readBufferSize: 1,
downlinkCapacity: 20
},
security: "none",
network: "tcp"
}
}
],
routing: {
name: "all_to_main",
domainStrategy: "AsIs",
rules: [
{
type: "field",
outboundTag: "soda",
port: "0-65535"
}
]
},
log: {
error: "/var/folders/sk/28_7rv_13hz2ys01xfkl56300000gn/T/cenmrev.v2rayx.log/error.log",
loglevel: "debug",
access: "/var/folders/sk/28_7rv_13hz2ys01xfkl56300000gn/T/cenmrev.v2rayx.log/access.log"
}
}

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

2019/03/04 10:30:28 [Debug] v2ray.com/core/app/log: Logger started
2019/03/04 10:30:28 [Warning] v2ray.com/core: V2Ray 4.15.1 started
2019/03/04 10:30:49 [Info] [942597700] v2ray.com/core/proxy/socks: TCP Connect request to tcp:clients4.google.com:443
2019/03/04 10:30:49 [Info] [942597700] v2ray.com/core/app/dispatcher: taking detour [soda] for [tcp:clients4.google.com:443]
2019/03/04 10:30:49 [Info] [942597700] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:119.28.23.198:23108
2019/03/04 10:30:49 [Info] [942597700] v2ray.com/core/proxy/vmess/outbound: tunneling request to tcp:clients4.google.com:443 via tcp:119.28.23.198:23108
2019/03/04 10:32:44 [Info] [1137064179] v2ray.com/core/proxy/socks: TCP Connect request to tcp:github.com:443
2019/03/04 10:32:44 [Info] [1137064179] v2ray.com/core/app/dispatcher: taking detour [soda] for [tcp:github.com:443]
2019/03/04 10:32:44 [Info] [1137064179] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:119.28.23.198:23108
2019/03/04 10:32:44 [Info] [1137064179] v2ray.com/core/proxy/vmess/outbound: tunneling request to tcp:github.com:443 via tcp:119.28.23.198:23108
2019/03/04 10:33:46 [Info] [1137064179] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: connection ends > context canceled
2019/03/04 10:33:46 [Info] [1137064179] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/socks: connection ends > context canceled

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

tommychi018 commented 5 years ago

用全局或PAC 模式,为什么其他都能上, 就TELEGRAM 上不来,请大神致电

tommychi018 commented 5 years ago

V2ray X (MAC OS X ) 用全局或PAC 模式,为什么其他网站都能上, 就TELEGRAM 上不来,请大神致电

WGwangguan commented 4 years ago

我也是,global 可以,pac 不行。。。

wangh168 commented 4 years ago

我也是,global 可以,pac 不行。。。

解决了吗?我也遇到相同的情况,pac不能上网怎么解决

klaek commented 4 years ago

我这边情况一样,pac模式,Chrome可以,safari翻不了

NeezerGu commented 4 years ago

我也是。。 只能重启解决。 准备试试其他的插件看看

AronWang1024 commented 4 years ago

@arthasgxy 大佬是怎么解决的?我也遇到一样的问题,重启v2rayX吗?

NeezerGu commented 4 years ago

@AronWang1024 换v2rayU

longshengwang commented 4 years ago

就是pac文件的问题,safari不认socks5、https、http。 只要把proxy里面的socks5换成socks就可以了 @AronWang1024