You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why after I use vmess:// for configuration, the source code of the web page is displayed! Normal web pages cannot be displayed. I have tested TikTok, Google and other websites, and they are all web page source codes! Why? My version is v2ray-core5.22.0
#3318
Open
Marklucif opened this issue
Nov 25, 2024
· 0 comments
除非特殊情况,请完整填写所有问题。不按模板发的 issue 将直接被关闭。
如果你遇到的问题不是 V2Ray 的 bug,比如你不清楚要如何配置,请使用Discussion进行讨论。
你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明)
5.22.0
你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。
VMess Webview
你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等)
只能显示网页源码!
你期待看到的正确表现是怎样的?
正常网页
请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
{
"log": {
"loglevel": "debug",
"access": "access.log",
"error": "error.log"
},
"inbounds": [
{
"port": 10808,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
},
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls", "quic"],
"metadataOnly": false
},
"listen": "127.0.0.1"
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "",
"port": 50210,
"users": [
{
"id": "9d90a1e2-f43f-300a-85cf-a5645eec3ade",
"alterId": 0,
"security": "auto"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "",
"wsSettings": {
"path": "*************",
"headers": {
"Host": "******"
}
}
},
"tag": "vmess"
}
]
}
服务器端配置:
// 在这里附上服务器端配置文件
客户端配置:
// 在这里附上客户端配置
/var/log/v2ray/error.log
文件中。服务器端错误日志:(未知,公用服务器)
// 在这里附上服务器端日志
客户端错误日志:
// 在这里附上客户端日志
/var/log/v2ray/access.log
文件中。blueline:/storage/emulated/0/Android/Data/com.example.v2ray/files $ cat access.log
2024/11/24 18:50:14 tcp:127.0.0.1:43510 accepted tcp:www.google.com:443 [vmess]
blueline:/storage/emulated/0/Android/Data/com.example.v2ray/files $ cat error.log
2024/11/24 18:50:07 [Debug] app/log: Logger started
2024/11/24 18:50:07 [Info] app/dns: DNS: created UDP client initialized for 8.8.8.8:53
2024/11/24 18:50:07 [Info] app/dns: DNS: created UDP client initialized for 8.8.4.4:53
2024/11/24 18:50:07 [Info] app/dns: DNS: created localhost client
2024/11/24 18:50:07 [Debug] app/dns: using default domain matcher
2024/11/24 18:50:07 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:10808
2024/11/24 18:50:07 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:10808
2024/11/24 18:50:07 [Info] transport/internet/udp: listening UDP on 127.0.0.1:10808
2024/11/24 18:50:07 [Warning] V2Ray 5.22.0 started
2024/11/24 18:50:14 [Info] [962248988] proxy/socks: TCP Connect request to tcp:www.google.com:443
2024/11/24 18:50:14 [Info] [962248988] app/dispatcher: sniffed domain: www.google.com for tcp:www.google.com:443
2024/11/24 18:50:14 [Info] [962248988] app/dispatcher: taking detour [vmess] for [tcp:www.google.com:443]
2024/11/24 18:50:14 [Info] [962248988] transport/internet/websocket: creating connection to tcp:dcv69.cdn.node.a.ddnsmgtq.xyz:50210
2024/11/24 18:50:15 [Info] [962248988] proxy/vmess/outbound: tunneling request to tcp:www.google.com:443 via dcv69.cdn.node.a.ddnsmgtq.xyz:50210
其它相关的配置文件(如 Nginx)和相关日志。
如果 V2Ray 无法启动,请附上
--test
输出。通常的命令为
/usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json
。请按实际情况修改。通常的命令为
journalctl -u v2ray
。请预览一下你填的内容再提交。
The text was updated successfully, but these errors were encountered: