yanue / V2rayU

V2rayU,基于v2ray核心的mac版客户端,用于科学上网,使用swift编写,支持trojan,vmess,shadowsocks,socks5等服务协议,支持订阅, 支持二维码,剪贴板导入,手动配置,二维码分享等
https://github.com/yanue/V2rayU
18.72k stars 2.88k forks source link

在Mac上vless带tls方式的上不了网,不带tls的vless能正常使用,但是这个带tls的vless在手机上Shadowrocket能正常使用 #1388

Open sky8282 opened 8 months ago

sky8282 commented 8 months ago

1.本人在使用intel的Mac12.0.1 v2rayU为最新的4.1

  1. 在Mac上vless带tls方式的上不了网,不带tls的vless能正常使用,但是这个带tls的vless在手机上Shadowrocket能正常使用,

3.以下为带tls的配置信息 { "log": { "error": "", "loglevel": "error", "access": "" }, "inbounds": [ { "listen": "127.0.0.1", "protocol": "socks", "settings": { "udp": false, "auth": "noauth" }, "port": "1088" }, { "listen": "127.0.0.1", "protocol": "http", "settings": { "timeout": 360 }, "port": "1089" } ], "outbounds": [ { "mux": { "enabled": false, "concurrency": 8 }, "protocol": "vless", "streamSettings": { "wsSettings": { "path": "/?ed=2048", "headers": { "host": "xxx.com" } }, "security": "tls", "tlsSettings": { "serverName": "", "allowInsecure": false, "fingerprint": "chrome" }, "network": "ws" }, "tag": "proxy", "settings": { "vnext": [ { "address": "xxxx.xxxx.com", "users": [ { "encryption": "none", "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx", "level": 0, "flow": "" } ], "port": 443 } ] } }, { "tag": "direct", "protocol": "freedom", "settings": { "domainStrategy": "UseIP", "userLevel": 0 } }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "none" } } } ], "dns": {}, "routing": { "settings": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "outboundTag": "direct", "domain": [ "geosite:cn", "localhost" ] }, { "type": "field", "ip": [ "geoip:cn", "geoip:private" ], "outboundTag": "direct" } ] } } }

4.以下为错误日志。 2024/01/14 21:11:58 tcp:127.0.0.1:64269 accepted tcp:www.google.com:443 [proxy] 2024/01/14 21:11:58 tcp:127.0.0.1:64271 accepted tcp:www.google.com:443 [proxy] 2024/01/14 21:12:00 tcp:127.0.0.1:64273 accepted tcp:www.google.com:443 [proxy] 2024/01/14 21:12:00 tcp:127.0.0.1:64275 accepted tcp:www.google.com:443 [proxy] 2024/01/14 21:12:06 tcp:127.0.0.1:64279 accepted tcp:www.google.com:443 [proxy] 2024/01/14 21:12:06 tcp:127.0.0.1:64281 accepted tcp:www.google.com:443 [proxy] 2024/01/14 21:12:10 tcp:127.0.0.1:64285 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:11 tcp:127.0.0.1:64287 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64289 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64291 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64292 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64296 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64295 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64297 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64298 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64304 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64306 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64309 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64311 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64313 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64315 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64317 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:13 tcp:127.0.0.1:64319 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64325 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64327 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64329 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64331 accepted tcp:accounts.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64333 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64335 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64337 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64339 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64341 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64343 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64345 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64347 accepted tcp:jnn-pa.googleapis.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64349 accepted tcp:accounts.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64351 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64353 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:14 tcp:127.0.0.1:64354 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64357 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64359 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64361 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64363 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64365 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64367 accepted tcp:jnn-pa.googleapis.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64369 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64371 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64373 accepted tcp:rr2---sn-ntqe6n7k.googlevideo.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64375 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64377 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64379 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:15 tcp:127.0.0.1:64381 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:16 tcp:127.0.0.1:64382 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:16 tcp:127.0.0.1:64387 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:16 tcp:127.0.0.1:64389 accepted tcp:www.youtube.com:443 [proxy] 2024/01/14 21:12:16 tcp:127.0.0.1:64392 accepted tcp:www.youtube.com:443 [proxy] Xray 1.8.4 (Xray, Penetrates Everything.) Custom (go1.21.0 darwin/amd64) A unified platform for anti-censorship. 2024/01/14 21:14:20 [Info] infra/conf/serial: Reading config: config.json 2024/01/14 21:14:21 tcp:127.0.0.1:64499 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:14:22 tcp:127.0.0.1:64501 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:14:23 127.0.0.1:64504 accepted http://www.gstatic.com/generate_204 [proxy] 2024/01/14 21:14:44 tcp:127.0.0.1:64517 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:14:44 tcp:127.0.0.1:64519 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:15:06 tcp:127.0.0.1:64531 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:15:07 tcp:127.0.0.1:64533 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:15:31 tcp:127.0.0.1:64554 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:15:32 tcp:127.0.0.1:64556 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:15:45 tcp:127.0.0.1:64563 accepted tcp:github.com:443 [proxy] 2024/01/14 21:15:45 tcp:127.0.0.1:64565 accepted tcp:github.com:443 [proxy] 2024/01/14 21:15:47 tcp:127.0.0.1:64567 accepted tcp:github.com:443 [proxy] 2024/01/14 21:15:48 tcp:127.0.0.1:64570 accepted tcp:github.com:443 [proxy] 2024/01/14 21:15:58 tcp:127.0.0.1:64575 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:15:58 tcp:127.0.0.1:64577 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:15:58 tcp:127.0.0.1:64580 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:15:58 tcp:127.0.0.1:64582 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:00 tcp:127.0.0.1:64585 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:00 tcp:127.0.0.1:64587 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:03 tcp:127.0.0.1:64591 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:03 tcp:127.0.0.1:64593 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:08 tcp:127.0.0.1:64596 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:08 tcp:127.0.0.1:64600 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:17 tcp:127.0.0.1:64606 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:18 tcp:127.0.0.1:64608 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:30 tcp:127.0.0.1:64620 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:31 tcp:127.0.0.1:64622 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:31 tcp:127.0.0.1:64624 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:32 tcp:127.0.0.1:64626 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:32 tcp:127.0.0.1:64628 accepted tcp:github.com:443 [proxy] 2024/01/14 21:16:33 tcp:127.0.0.1:64630 accepted tcp:github.com:443 [proxy] 2024/01/14 21:16:34 tcp:127.0.0.1:64633 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:35 tcp:127.0.0.1:64636 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:35 tcp:127.0.0.1:64640 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:36 tcp:127.0.0.1:64642 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:16:39 tcp:127.0.0.1:64645 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:39 tcp:127.0.0.1:64648 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:50 tcp:127.0.0.1:64654 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:16:51 tcp:127.0.0.1:64656 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:05 tcp:127.0.0.1:64688 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:07 tcp:127.0.0.1:64690 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:09 tcp:127.0.0.1:64718 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:17:09 tcp:127.0.0.1:64720 accepted tcp:alive.github.com:443 [proxy] 2024/01/14 21:17:10 tcp:127.0.0.1:64722 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:10 tcp:127.0.0.1:64724 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:10 tcp:127.0.0.1:64727 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:10 tcp:127.0.0.1:64729 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:12 tcp:127.0.0.1:64731 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:12 tcp:127.0.0.1:64733 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:15 tcp:127.0.0.1:64736 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:16 tcp:127.0.0.1:64738 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:20 tcp:127.0.0.1:64742 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:21 tcp:127.0.0.1:64744 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:21 tcp:127.0.0.1:64746 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:22 tcp:127.0.0.1:64748 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:29 tcp:127.0.0.1:64753 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:30 tcp:127.0.0.1:64755 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:37 tcp:127.0.0.1:64785 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:38 tcp:127.0.0.1:64788 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:41 tcp:127.0.0.1:64792 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:41 tcp:127.0.0.1:64794 accepted tcp:content-autofill.googleapis.com:443 [proxy] 2024/01/14 21:17:47 tcp:127.0.0.1:64798 accepted tcp:github.com:443 [proxy] 2024/01/14 21:17:47 tcp:127.0.0.1:64801 accepted tcp:github.com:443 [proxy]

quartets commented 6 months ago

你把配置里的这句删掉就能用了: "fingerprint": "chrome"