Closed rainingNya closed 5 years ago
提交 Issue 之前请先阅读 Issue 指引,然后回答下面的问题,谢谢。 除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。 如果你遇到的问题不是 V2Ray 的 bug,比如你不清楚要如何配置,请使用Discussion进行讨论。
1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) 4.20.0 2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 使用 Chrome 通过VMess 代理浏览网页 3) 你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) 经常无法加载网页 ERR_PROXY_CONNECTION_FAILED,加载失败的内容没有产生日志 4) 你期待看到的正确表现是怎样的? 可以正常上网 5) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
服务器端配置:
// 在这里附上服务器端配置文件 { "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbounds": [ { "port": 443, "protocol": "vmess", "settings": { "clients": [ { "id": "********-8cdc-484d-9191-446c439e435b", "level": 1, "alterId": 64 } ] }, "streamSettings": { "network": "h2", "security": "tls", "httpSettings": { "path": "/DE8468" }, "quicSettings": { "security": "acs-128-gcm", "key": "********-8cdc-484d-9191-446c439e435b", "header": { "type": "none", "request": null, "response": null } }, "tlsSettings": { "allowInsecure": true, "certificates": [ { "certificateFile": "/etc/v2ray/******.tk_chain.crt", "keyFile": "/etc/v2ray/******.tk_key.key" } ] } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } } ], "outbounds": [ { "protocol": "freedom", "settings": {} } ], "dns": { "server": [ "1.1.1.1", "1.0.0.1", "8.8.8.8", "8.8.4.4", "2606:4700:4700::1111", "2606:4700:4700::1001", "localhost" ] }, "routing": { "domainStrategy": "IPOnDemand", "rules": [ { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "blocked" }, { "type": "field", "inboundTag": ["tg-in"], "outboundTag": "tg-out" } ] }, "transport": { "kcpSettings": { "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true }, "sockopt": { "tcpFastOpen": true } }, "bufferSize": 1024 }
客户端配置:
// 在这里附上客户端配置 // 客户端使用V2RayN,最新版V2RayCore { "log": { "access": "", "error": "", "loglevel": "warning" }, "inbounds": [ { "port": 10808, "listen": "127.0.0.1", "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] }, "settings": { "auth": "noauth", "udp": true, "ip": null, "clients": null }, "streamSettings": null } ], "outbounds": [ { "tag": "proxy", "protocol": "vmess", "settings": { "vnext": [ { "address": "********.tk", "port": 443, "users": [ { "id": "********-8cdc-484d-9191-446c439e435b", "alterId": 64, "email": "t@t.tt", "security": "aes-128-gcm" } ] } ], "servers": null, "response": null }, "streamSettings": { "network": "h2", "security": "tls", "tlsSettings": { "allowInsecure": true, "serverName": null }, "tcpSettings": null, "kcpSettings": null, "wsSettings": null, "httpSettings": { "path": "/DE8468", "host": null }, "quicSettings": null }, "mux": { "enabled": false } }, { "tag": "direct", "protocol": "freedom", "settings": { "vnext": null, "servers": null, "response": null }, "streamSettings": null, "mux": null }, { "tag": "block", "protocol": "blackhole", "settings": { "vnext": null, "servers": null, "response": { "type": "http" } }, "streamSettings": null, "mux": null } ], "dns": null, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "port": null, "outboundTag": "direct", "ip": [ "geoip:private" ], "domain": null }, { "type": "field", "port": null, "outboundTag": "direct", "ip": [ "geoip:cn" ], "domain": null }, { "type": "field", "port": null, "outboundTag": "direct", "ip": null, "domain": [ "geosite:cn" ] } ] } }
6) 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在 /var/log/v2ray/error.log 文件中。
/var/log/v2ray/error.log
服务器端错误日志:
// 在这里附上服务器端日志 // 没有产生错误日志
客户端错误日志:
// 在这里附上客户端日志 // 没有产生错误日志
7) 请附上访问日志。在 Linux 中,日志通常在 /var/log/v2ray/access.log 文件中。
/var/log/v2ray/access.log
// 在这里附上服务器端日志 2019/08/03 02:41:48 113.229.145.114:14136 accepted tcp:lh3.googleusercontent.com:443 2019/08/03 02:41:49 113.229.145.114:14136 accepted tcp:www.google.com:443 2019/08/03 02:42:43 113.229.145.114:14136 accepted tcp:www.google.com:443 2019/08/03 02:42:50 113.229.145.114:14136 accepted tcp:www.youtube.com:443 2019/08/03 02:43:08 113.229.145.114:14136 accepted tcp:twitter.com:443 2019/08/03 02:43:08 113.229.145.114:14136 accepted tcp:abs.twimg.com:443 2019/08/03 02:43:09 113.229.145.114:14136 accepted tcp:clients1.google.com:443 2019/08/03 02:43:10 113.229.145.114:14136 accepted tcp:www.youtube.com:443 2019/08/03 02:43:10 113.229.145.114:14136 accepted tcp:analytics.twitter.com:443 2019/08/03 02:43:11 113.229.145.114:14136 accepted tcp:twitter.com:443 2019/08/03 02:43:11 113.229.145.114:14136 accepted tcp:twitter.com:443 2019/08/03 02:43:11 113.229.145.114:14136 accepted tcp:ton.twimg.com:443 2019/08/03 02:43:29 113.229.145.114:14136 accepted tcp:pbs.twimg.com:443 2019/08/03 02:45:28 113.229.145.114:14136 accepted tcp:beacons4.gvt2.com:443 2019/08/03 02:46:19 113.229.145.114:14136 accepted tcp:filters.adtidy.org:443 2019/08/03 02:46:42 113.229.145.114:14136 accepted tcp:github.com:443 2019/08/03 02:48:13 113.229.145.114:14136 accepted tcp:github.com:443 2019/08/03 02:49:28 113.229.145.114:14136 accepted tcp:live.github.com:443 2019/08/03 02:49:30 113.229.145.114:14136 accepted tcp:history.google.com:443 2019/08/03 02:49:57 113.229.145.114:14136 accepted tcp:s3.amazonaws.com:443 2019/08/03 02:49:57 113.229.145.114:14136 accepted tcp:img-sketch.pximg.net:443 2019/08/03 02:50:19 113.229.145.114:14136 accepted tcp:www.pixiv.net:443 2019/08/03 02:50:37 113.229.145.114:14136 accepted tcp:apis.google.com:443
8) 其它相关的配置文件(如 Nginx)和相关日志。
9) 如果 V2Ray 无法启动,请附上 --test 输出。
--test
通常的命令为 /usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json。请按实际情况修改。
/usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json
10) 如果 V2Ray 服务运行不正常,请附上 journal 日志。
通常的命令为 journalctl -u v2ray。
journalctl -u v2ray
请预览一下你填的内容再提交。
已经解决
提交 Issue 之前请先阅读 Issue 指引,然后回答下面的问题,谢谢。 除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。 如果你遇到的问题不是 V2Ray 的 bug,比如你不清楚要如何配置,请使用Discussion进行讨论。
1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) 4.20.0 2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 使用 Chrome 通过VMess 代理浏览网页 3) 你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) 经常无法加载网页 ERR_PROXY_CONNECTION_FAILED,加载失败的内容没有产生日志 4) 你期待看到的正确表现是怎样的? 可以正常上网 5) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
服务器端配置:
客户端配置:
6) 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在
/var/log/v2ray/error.log
文件中。服务器端错误日志:
客户端错误日志:
7) 请附上访问日志。在 Linux 中,日志通常在
/var/log/v2ray/access.log
文件中。8) 其它相关的配置文件(如 Nginx)和相关日志。
9) 如果 V2Ray 无法启动,请附上
--test
输出。通常的命令为
/usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json
。请按实际情况修改。10) 如果 V2Ray 服务运行不正常,请附上 journal 日志。
通常的命令为
journalctl -u v2ray
。请预览一下你填的内容再提交。