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

1.5.1版本不写log #218

Open
wenbo828 opened this issue Feb 15, 2019 · 2 comments
Open

1.5.1版本不写log #218

wenbo828 opened this issue Feb 15, 2019 · 2 comments

Comments

@wenbo828
Copy link

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

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

  2. 你正在使用哪个版本的 V2RayX,你的 macOS 系统版本?
    V2RayX 1.5.1 (1278)
    macOS Mojave 10.14.3 (18D109)

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

在这里贴上终端的输出
  1. 如果 V2RayX 没有发生崩溃,但是有一些不正常行为,比如上次勾选了 mux,再次打开,mux 的钩没有了。请描述你遇到的不正常行为。

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

{
"dns": {
"servers": [
"localhost"
]
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 1080,
"protocol": "socks",
"tag": "socksinbound",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "127.0.0.1"
}
},
{
"listen": "127.0.0.1",
"port": 1087,
"protocol": "http",
"tag": "httpinbound",
"settings": {
"timeout": 0
}
}
],
"outbounds": [
{
"sendThrough": "0.0.0.0",
"mux": {
"enabled": false,
"concurrency": 8
},
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "xxxxxx",
"users": [
{
"id": "xxxxxx",
"alterId": 64,
"security": "auto",
"level": 0
}
],
"port": 443
}
]
},
"tag": "xxxxxx",
"streamSettings": {
"wsSettings": {
"path": "/xxxxxx/",
"headers": {
"Host": "xxxxxx"
}
},
"quicSettings": {
"key": "",
"security": "none",
"header": {
"type": "none"
}
},
"tlsSettings": {
"allowInsecure": true,
"alpn": [
"http/1.1"
],
"serverName": "xxxxxx",
"allowInsecureCiphers": true
},
"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": "tls",
"network": "ws"
}
}
],
"routing": {
"name": "all_to_main",
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"outboundTag": "xxxxxx",
"port": "0-65535"
}
]
},
"log": {
"error": "/var/folders/3j/38950nxd2f95yrvl_gylczmmf4d14m/T/cenmrev.v2rayx.log/error.log",
"loglevel": "error",
"access": "/var/folders/3j/38950nxd2f95yrvl_gylczmmf4d14m/T/cenmrev.v2rayx.log/access.log"
}
}

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

这其实正是我想问的,我把windows客户端的成功连接的"vmess://"地址导入V2RayX中,始终无法成功连接,但是尽管loglevel为debug,log文件仍然无内容,只是文件修改时间会随着客户端load/unload操作更新而已,所以我自己目前无从知晓为什么工作不正常。
客户端最开始是通过brew cast install v2rayx安装的,后来因为上述原因remove后,从github的realease中下载了最新稳定版,依然如此。
  1. 其他你认为可以帮助开发者和你一起解决问题的信息:
@ypli0629
Copy link

+1

@wenbo828
Copy link
Author

wenbo828 commented Mar 1, 2019

终于能正常连接了,没用手工配置,用的是vmess url导入了windows配置才成功,然后发现access log有内容,但之前运行不了的时候error.log没内容

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

2 participants