Open xiatengwei opened 4 years ago
"protocol" : "socks",改成http 如果还不成,看日志
好能用,安卓版的,一填就连上了!!!!感谢Alvin9999
你这是啥系统啊? Ubuntu的配置?
macOs的,V2ray客户端我用的是Version 1.5.1版本,没找到地方可以配置protocol。 日志如下 2019/09/28 16:54:22 [Warning] [4155550778] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (ws://www.free6666.net:443/): 400 Bad Request > websocket: bad handshake] > v2ray.com/core/common/retry: all retry attempts failed
最新错误日志: 2019/09/28 17:07:20 [Warning] v2ray.com/core: V2Ray 4.15.1 started 2019/09/28 17:07:22 [Info] [708256277] v2ray.com/core/proxy/http: request to Method [GET] Host [www.gstatic.com] with URL [http://www.gstatic.com/generate_204] 2019/09/28 17:07:22 [Info] [708256277] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:www.gstatic.com:80] 2019/09/28 17:07:22 [Info] [708256277] v2ray.com/core/proxy/freedom: opening connection to tcp:www.gstatic.com:80 2019/09/28 17:07:22 [Info] [708256277] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:www.gstatic.com:80 2019/09/28 17:07:26 [Info] [708256277] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/http: failed to read http request > read tcp 127.0.0.1:8001->127.0.0.1:63063: i/o timeout 2019/09/28 17:07:36 [Info] [22162704] v2ray.com/core/proxy/http: request to Method [GET] Host [www.gstatic.com] with URL [http://www.gstatic.com/generate_204] 2019/09/28 17:07:36 [Info] [22162704] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:www.gstatic.com:80] 2019/09/28 17:07:36 [Info] [22162704] v2ray.com/core/proxy/freedom: opening connection to tcp:www.gstatic.com:80 2019/09/28 17:07:36 [Info] [22162704] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp:www.gstatic.com:80 2019/09/28 17:07:41 [Info] [22162704] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/http: failed to read http request > read tcp 127.0.0.1:8001->127.0.0.1:63067: i/o timeout
你的本地8001端口开了吗?
xiatengwei notifications@github.com 于2019年9月28日周六 下午5:09写道:
最新错误日志: 2019/09/28 17:07:20 [Warning] v2ray.com/core: V2Ray 4.15.1 started 2019/09/28 17:07:22 [Info] [708256277] v2ray.com/core/proxy/http: request to Method [GET] Host [www.gstatic.com] with URL [ http://www.gstatic.com/generate_204] 2019/09/28 17:07:22 [Info] [708256277] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:www.gstatic.com:80] 2019/09/28 17:07:22 [Info] [708256277] v2ray.com/core/proxy/freedom: opening connection to tcp:www.gstatic.com:80 2019/09/28 17:07:22 [Info] [708256277] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp: www.gstatic.com:80 2019/09/28 17:07:26 [Info] [708256277] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/http: failed to read http request
read tcp 127.0.0.1:8001->127.0.0.1:63063: i/o timeout 2019/09/28 17:07:36 [Info] [22162704] v2ray.com/core/proxy/http: request to Method [GET] Host [www.gstatic.com] with URL [ http://www.gstatic.com/generate_204] 2019/09/28 17:07:36 [Info] [22162704] v2ray.com/core/app/dispatcher: taking detour [direct] for [tcp:www.gstatic.com:80] 2019/09/28 17:07:36 [Info] [22162704] v2ray.com/core/proxy/freedom: opening connection to tcp:www.gstatic.com:80 2019/09/28 17:07:36 [Info] [22162704] v2ray.com/core/transport/internet/tcp: dialing TCP to tcp: www.gstatic.com:80 2019/09/28 17:07:41 [Info] [22162704] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/http: failed to read http request read tcp 127.0.0.1:8001->127.0.0.1:63067: i/o timeout
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Alvin9999/new-pac/issues/663?email_source=notifications&email_token=AKIPAVB5RKC5IMEFELQHJXDQL4NNLA5CNFSM4I3MZBG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD72UQ4Q#issuecomment-536168562, or mute the thread https://github.com/notifications/unsubscribe-auth/AKIPAVDMJQTBVH7V7ER4DRLQL4NNLANCNFSM4I3MZBGQ .
端口我查了没有问题呢。
端口我查了没有问题呢。
连上了么? 就装一个客户端吧?
好能用,安卓版的,一填就连上了!!!!感谢Alvin9999
你这是啥系统啊? Ubuntu的配置?
你的安卓配置可以用了?
好能用,安卓版的,一填就连上了!!!!感谢Alvin9999 你这是啥系统啊? Ubuntu的配置?
你的安卓配置可以用了?
可以,今天是号上不去,估计被封了
@xiatengwei json配置文件太难写了,我用jq检查工具老是错误,能否给一个你的配置,我也是linux系统,自定义代理端口,
{ "log": { "loglevel": "warning" }, "inbound": { "listen": "127.0.0.1", "port": 1080, "protocol": "http", "settings": { "auth": "noauth", "udp": true, "ip": "127.0.0.1" } }, "outbound": { "protocol": "vmess", "settings": { "vnext": [ { "address": "www.free6666.net", "port": 443, "users": [ { "id": "1382eedb-da7e-4f4f-87d4-29ad00e8187b", "level": 1, "alterId": 64 } ] } ] }, "mux": { "enabled": true, "concurrency": 8 }, "streamSettings": { "network": "ws", "security": "tls", "tlsSettings": { "serverName": "www.free6666.net", "allowInsecure": true } } }, "wsSettings": { "path": "/18425739/", "headers": {} }, "outboundDetour": [ { "protocol": "freedom", "settings": {}, "tag": "direct" } ], "routing": { "strategy": "rules", "settings": { "rules": [ { "type": "field", "port": "54-79", "outboundTag": "direct" }, { "type": "field", "port": "81-442", "outboundTag": "direct" }, { "type": "field", "port": "444-65535", "outboundTag": "direct" }, { "type": "field", "domain": [ "gc.kis.scr.kaspersky-labs.com" ], "outboundTag": "direct" }, { "type": "chinasites", "outboundTag": "direct" }, { "type": "field", "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "127.0.0.0/8", "169.254.0.0/16", "172.16.0.0/12", "192.0.0.0/24", "192.0.2.0/24", "192.168.0.0/16", "198.18.0.0/15", "198.51.100.0/24", "203.0.113.0/24", "::1/128", "fc00::/7", "fe80::/10" ], "outboundTag": "direct" }, { "type": "chinaip", "outboundTag": "direct" } ] } } }
这是我自已改的json文件,jq检查通过,能启动v2ray服务,但设置代理后无法上谷歌,我用win版生成的配置导入linux也无法成功过墙.
增加了一个v2ray账号,可以试试看
这是客户端的配置, "dns" : { "servers" : [ "localhost" ] }, "inbounds" : [ { "listen" : "127.0.0.1", "port" : 1081, "protocol" : "socks", "tag" : "socksinbound", "settings" : { "auth" : "noauth", "udp" : false, "ip" : "127.0.0.1" } }, { "listen" : "127.0.0.1", "port" : 8001, "protocol" : "http", "tag" : "httpinbound", "settings" : { "timeout" : 0 } } ], "outbounds" : [ { "sendThrough" : "0.0.0.0", "mux" : { "enabled" : false, "concurrency" : 8 }, "protocol" : "vmess", "settings" : { "vnext" : [ { "address" : "www.free6666.net", "users" : [ { "id" : "1382eedb-da7e-4f4f-87d4-29ad00e8187b", "alterId" : 64, "security" : "auto", "level" : 0 } ], "port" : 443 } ] }, "tag" : "test server", "streamSettings" : { "wsSettings" : { "path" : "\/18425739\/", "headers" : {
],