Replies: 2 comments
-
删掉alterid |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
你正在使用哪个版本的 V2Ray?
V2ray 4.33.0
你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。
使用v2rayN通过VMess代理上网
你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等)
V2rayN客户端无法连接服务端
你期待看到的正确表现是怎样的?
能连接上
请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
服务器端配置:
客户端配置:
/var/log/v2ray/error.log
文件中。服务器端错误日志:
客户端错误日志:
/var/log/v2ray/access.log
文件中。其它相关的配置文件(如 Nginx)和相关日志。
nginx配置 server节点内
location /ray { # 与 V2Ray 配置中的 path 保持一致
if ($http_upgrade != "websocket") { # WebSocket协商失败时返回404
return 404;
}
proxy_redirect off;
proxy_pass http://127.0.0.1:14424; # 假设WebSocket监听在环回地址的10000端口上
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
如果 V2Ray 无法启动,请附上
--test
输出。docker 容器列表已显示启动
其他说明。
服务端使用的是docker安装方式 防火墙端口已经放行14424端口
docker run -d --name v2ray -v /etc/v2ray:/etc/v2ray -v /var/log/v2ray:/var/log/v2ray -p 14424:14424 v2fly/v2fly-core v2ray -config=/etc/v2ray/config.json
套用的是CF 域名为二级域名
服务器时区为+8 时间和客服端时间相同
nginx日志
[23/Dec/2020:17:50:13 +0800] "GET /ray HTTP/1.1" 502 150 "-" "Go-http-client/1.1"
Beta Was this translation helpful? Give feedback.
All reactions