v2fly / discussion

5 stars 0 forks source link

使用了VLESS+XTLS+TCP (direct模式)安装,同时想设置DNS 流媒体分流,总是出错 #86

Closed y8d4w1 closed 3 years ago

y8d4w1 commented 3 years ago

这是我的配置文件 inbounds { "inbounds":[ { "port": 443, "protocol": "vless", "tag":"VLESSTCP", "sniffing": { "enabled": true, "destOverride": ["http", "tls"] }, "settings": { "clients": [ { "id": "ID值1", "add": "", "flow":"xtls-rprx-origin", "email": "域名_VLESS_XTLS/TLS-origin_TCP" }, { "id": "ID值2", "flow":"xtls-rprx-direct", "email": "域名_VLESS_XTLS/TLS-direct_TCP" } ], "decryption": "none", "fallbacks": [ {"dest":80,"xver":0} ] }, "streamSettings": { "network": "tcp", "security": "xtls", "xtlsSettings": { "alpn": [ "http/1.1" ], "certificates": [ { "certificateFile": "/etc/v2ray-agent/tls/域名.crt", "keyFile": "/etc/v2ray-agent/tls/域名.key" } ] } } } ] } outbounds { "outbounds": [ { "protocol": "freedom", "settings": { "domainStrategy": "UseIP" } } ] } DNS { "dns": { "servers": [ "8.8.8.8", { "address": "流媒体解锁的IP", "port": 53, "domains": [ "domain:hboasia.com", "domain:hbogoasia.com", "domain:hbogoasia.hk", "domain:hbogo.com", "domain:hbonow.com", "domain:hbo.com", "domain:nowe.com" ] }, "localhost" ] } }

总是出现错误: 2020/11/17 22:52:30 [Info] [91277595] v2ray.com/core/proxy/vless/inbound: firstLen = 439 2020/11/17 22:52:30 [Info] [91277595] v2ray.com/core/proxy/vless/inbound: received request for tcp:119.255.133.93:443 2020/11/17 22:52:30 [Info] [91277595] v2ray.com/core/app/dispatcher: default route for tcp:119.255.133.93:443 2020/11/17 22:52:30 [Info] [91277595] v2ray.com/core/proxy/freedom: opening connection to tcp:119.255.133.93:443 2020/11/17 22:52:30 [Info] [91277595] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:119.255.133.93:443 2020/11/17 22:52:30 [Info] v2ray.com/core/app/dns: UDP:8.8.8.8:53 got answer: btrace.qq.com. TypeAAAA -> [] 109.148412ms 2020/11/17 22:52:30 [Debug] v2ray.com/core/app/dns: UDP:8.8.8.8:53 updating IP records for domain:btrace.qq.com. 2020/11/17 22:52:30 [Info] v2ray.com/core/app/dns: UDP:8.8.8.8:53 got answer: dc1.ksn.kaspersky-labs.com. TypeAAAA -> [] 104.600649ms 2020/11/17 22:52:30 [Debug] v2ray.com/core/app/dns: UDP:8.8.8.8:53 updating IP records for domain:dc1.ksn.kaspersky-labs.com. 2020/11/17 22:52:30 [Info] [1098223823] v2ray.com/core/proxy/freedom: dialing to to tcp:180.87.4.229:443 2020/11/17 22:52:30 [Info] [1098223823] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:180.87.4.229:443 2020/11/17 22:52:30 [Info] [3850174239] v2ray.com/core/proxy/vless/inbound: firstLen = 711 2020/11/17 22:52:30 [Info] [3850174239] v2ray.com/core/proxy/vless/inbound: received request for tcp:119.255.133.93:443 2020/11/17 22:52:30 [Info] [3850174239] v2ray.com/core/app/dispatcher: default route for tcp:119.255.133.93:443 2020/11/17 22:52:30 [Info] [3850174239] v2ray.com/core/proxy/freedom: opening connection to tcp:119.255.133.93:443 2020/11/17 22:52:30 [Info] [3850174239] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:119.255.133.93:443 2020/11/17 22:52:31 [Info] [1644243738] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: fallback ends > context canceled 2020/11/17 22:52:31 [Info] [1509898559] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: fallback ends > context canceled 2020/11/17 22:52:31 [Info] [3037994208] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: fallback ends > context canceled 2020/11/17 22:52:31 [Info] [78302597] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: fallback ends > context canceled 2020/11/17 22:52:31 [Info] [4193689305] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: fallback ends > context canceled 2020/11/17 22:52:31 [Info] [1505639601] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: fallback ends > context canceled 2020/11/17 22:52:31 [Info] v2ray.com/core/app/dns: UDP:8.8.8.8:53 got answer: btrace.qq.com. TypeA -> [203.205.235.243 203.205.255.191] 1.009718945s 2020/11/17 22:52:31 [Debug] v2ray.com/core/app/dns: UDP:8.8.8.8:53 updating IP records for domain:btrace.qq.com. 2020/11/17 22:52:31 [Info] [2108978769] v2ray.com/core/proxy/freedom: dialing to to tcp:203.205.235.243:80 2020/11/17 22:52:31 [Info] [2108978769] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:203.205.235.243:80 2020/11/17 22:52:38 [Info] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled 2020/11/17 22:52:38 [Info] v2ray.com/core/transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe 2020/11/17 22:52:42 [Info] [287433342] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: connection ends > context canceled 2020/11/17 22:52:42 [Info] [287433342] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled 2020/11/17 22:52:53 [Info] [91277595] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: connection ends > context canceled 2020/11/17 22:52:53 [Info] [91277595] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled 2020/11/17 22:52:53 [Info] [2144166884] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled 2020/11/17 22:52:53 [Info] [2144166884] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: failed to transfer response payload > io: read/write on closed pipe 2020/11/17 22:52:53 [Info] [3850174239] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled 2020/11/17 22:52:53 [Info] [3850174239] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: failed to transfer response payload > io: read/write on closed pipe 2020/11/17 22:53:19 [Info] [662757417] v2ray.com/core/proxy/vless/inbound: firstLen = 77 2020/11/17 22:53:19 [Info] [662757417] v2ray.com/core/proxy/vless/inbound: fallback starts > v2ray.com/core/proxy/vless/encoding: invalid request version 2020/11/17 22:53:20 [Info] [662757417] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: fallback ends > context canceled 2020/11/17 22:53:28 [Info] [1331654123] v2ray.com/core/proxy/vless/inbound: firstLen = 0 2020/11/17 22:53:28 [Info] [1331654123] v2ray.com/core/proxy/vless/inbound: fallback starts > v2ray.com/core/proxy/vless/inbound: fallback directly 2020/11/17 22:53:29 [Info] [1331654123] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: fallback ends > context canceled 2020/11/17 22:54:08 [Info] [1098223823] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: connection ends > v2ray.com/core/proxy/vless/inbound: failed to transfer request payload > read tcp 103.118.41.178:443->171.88.115.185:7561: read: connection reset by peer 2020/11/17 22:54:08 [Info] [1098223823] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/freedom: connection ends > context canceled

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days