v2fly / v2ray-core

A platform for building proxies to bypass network restrictions.
https://v2fly.org
MIT License
29.76k stars 4.68k forks source link

Can't access via Linux, but works on windows and ios #3013

Closed SynonZelra closed 2 months ago

SynonZelra commented 6 months ago

What version of V2Ray are you using?

5.14.1-1

What's your scenario of using V2Ray?

youtube, pixiv, etc via web browser.

What problems have you encountered?

cant connect via linux client ERR_EMPTY_RESPONSE ERR_EMPTY_RESPONSE

What's your expectation?

get access.

Please attach your configuration here

Client configuration: { "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "debug" }, "inbounds": [ { "tag": "socks", "port": 10808, "listen": "127.0.0.1", "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } }, { "tag": "http", "port": 10809, "listen": "127.0.0.1", "protocol": "http", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ], "routeOnly": false }, "settings": { "auth": "noauth", "udp": true, "allowTransparent": false } } ], "outbounds": [ { "tag": "proxy", "protocol": "vless", "settings": { "vnext": [ { "address": "", "port": 443, "users": [ { "id": "", "alterId": 0, "email": "t@t.tt", "security": "auto", "encryption": "none", "flow": "xtls-rprx-vision" } ] } ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { "allowInsecure": false, "serverName": "", "show": false } }, "mux": { "enabled": false, "concurrency": -1 } }, { "tag": "direct", "protocol": "freedom", "settings": {} }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "http" } } } ], "dns": { "hosts": { "dns.google": "8.8.8.8", "proxy.example.com": "127.0.0.1" }, "servers": [ { "address": "223.5.5.5", "domains": [ "geosite:cn", "geosite:geolocation-cn" ], "expectIPs": [ "geoip:cn" ] }, "1.1.1.1", "8.8.8.8", "https://dns.google/dns-query" ] }, "routing": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "inboundTag": [ "api" ], "outboundTag": "api" }, { "type": "field", "outboundTag": "direct", "domain": [ "domain:example-example.com", "domain:example-example2.com" ] }, { "type": "field", "outboundTag": "block", "domain": [ "geosite:category-ads-all" ] }, { "type": "field", "outboundTag": "direct", "domain": [ "geosite:cn", "geosite:geolocation-cn" ] }, { "type": "field", "outboundTag": "direct", "ip": [ "geoip:private", "geoip:cn" ] }, { "type": "field", "port": "0-65535", "outboundTag": "proxy" } ] } }

Please attach error logs here

Client error log: 2024/05/11 21:42:22 [Info] [3580519139] proxy/socks: TCP Connect request to tcp:google.com:80 2024/05/11 21:42:22 [Info] [3580519139] app/dispatcher: sniffed domain: google.com for tcp:google.com:80 2024/05/11 21:42:22 [Info] [3580519139] app/dispatcher: taking detour [proxy] for [tcp:google.com:80] 2024/05/11 21:42:22 [Info] [3580519139] transport/internet/tcp: dialing TCP to tcp::443 2024/05/11 21:42:22 [Info] [3580519139] proxy/vless/outbound: tunneling request to tcp:google.com:80 via :443 2024/05/11 21:42:22 [Info] [3580519139] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to decode response header > proxy/vless/encoding: failed to read response version > remote error: tls: internal error 2024/05/11 21:42:22 [Info] [3580519139] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe

other information

1.I'm sure system time is correct. 2.I use the same config.json on windows and linux client; windows worked and linux failed. Also I'm fine connecting via my iphone so I can say there's nothing wrong from the server side (maybe?).

github-actions[bot] commented 2 months ago

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