Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SynonZelra opened this issue May 11, 2024 · 0 comments
Open

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

SynonZelra opened this issue May 11, 2024 · 0 comments

Comments

@SynonZelra
Copy link

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?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant