mac15.2,m2芯片,使用v2rayu 4.2.6版本,server端经windows测试没问题,mac chorme代理设置看起来也生效,但无法实现连接
1、
2、
{
"log": {
"loglevel": "warning",
"error": "",
"access": ""
},
"inbounds": [
{
"settings": {
"auth": "noauth",
"udp": true
},
"protocol": "socks",
"port": "0",
"listen": "127.0.0.1"
},
{
"protocol": "http",
"port": "9000",
"listen": "127.0.0.1",
"settings": {
"timeout": 360
}
}
],
"outbounds": [
{
"protocol": "vmess",
"tag": "proxy",
"mux": {
"enabled": true,
"concurrency": 8
},
"streamSettings": {
"network": "tcp",
"security": "none",
"tcpSettings": {
"header": {
"type": "http",
"request": {
"method": "GET",
"headers": {
"Connection": [
"keep-alive"
],
"Accept-Encoding": [
"gzip",
"deflate"
],
"User-Agent": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
],
"Pragma": "no-cache",
"Host": [
""
]
},
"path": [
""
],
"version": "1.1"
}
}
}
},
"settings": {
"vnext": [
{
"port": 6666,
"address": "xxx.215.xxx.xxx",
"users": [
{
"id": "f54a982f-26f1-475d-8f4d-xxxxxxxx",
"security": "auto",
"level": 0,
"alterId": 0
}
]
}
]
}
},
{
"protocol": "freedom",
"tag": "direct",
"settings": {
"domainStrategy": "UseIP",
"userLevel": 0
}
},
{
"tag": "block",
"settings": {
"response": {
"type": "none"
}
},
"protocol": "blackhole"
}
],
"dns": {},
"routing": {
"domainStrategy": "AsIs",
"balancers": [],
"rules": [
{
"ip": [
"geoip:cn"
],
"outboundTag": "direct",
"type": "field"
},
{
"domain": [
"geosite:cn"
],
"type": "field",
"outboundTag": "direct"
}
]
}
}
3、日志 Xray 25.4.30 (Xray, Penetrates Everything.) 87ab8e5 (go1.24.2 darwin/arm64) A unified platform for anti-censorship. 2025/07/15 08:20:20.747476 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json} panic: Calling Domain() on an IPv4Address.
goroutine 1 [running]: github.com/xtls/xray-core/common/net.ipv4Address.Domain(...) github.com/xtls/xray-core/common/net/address.go:140 github.com/xtls/xray-core/transport/internet/tcp.ListenTCP({0x105ba3f00, 0x106555b60}, {0x105ba44b0, 0x14002440070}, 0x0, 0x140005ab1a0, 0x140000a6870) github.com/xtls/xray-core/transport/internet/tcp/hub.go:46 +0x134 github.com/xtls/xray-core/transport/internet.ListenTCP({0x105ba3f00, 0x106555b60}, {0x105ba44b0, 0x14002440070}, 0x0, 0x140000ddb80?, 0x140000a6870) github.com/xtls/xray-core/transport/internet/tcp_hub.go:74 +0x20c github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start(0x1400242e000) github.com/xtls/xray-core/app/proxyman/inbound/worker.go:122 +0x80 github.com/xtls/xray-core/app/proxyman/inbound.(*AlwaysOnInboundHandler).Start(0x1400004bb68?) github.com/xtls/xray-core/app/proxyman/inbound/always.go:155 +0x54 github.com/xtls/xray-core/app/proxyman/inbound.(*Manager).Start(0x140002cf6c0) github.com/xtls/xray-core/app/proxyman/inbound/inbound.go:106 +0x124 github.com/xtls/xray-core/core.(*Instance).Start(0x140000a07e0) github.com/xtls/xray-core/core/xray.go:385 +0xf0 main.executeRun(0x1065188a0?, {0x1400003a0e0?, 0x140001d3e28?, 0x104b6eb2c?}) github.com/xtls/xray-core/main/run.go:90 +0x11c github.com/xtls/xray-core/main/commands/base.Execute() github.com/xtls/xray-core/main/commands/base/execute.go:64 +0x510 main.main() github.com/xtls/xray-core/main/main.go:22 +0x1a0 Xray 25.4.30 (Xray, Penetrates Everything.) 87ab8e5 (go1.24.2 darwin/arm64) A unified platform for anti-censorship. 2025/07/15 08:20:31.438063 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json} panic: Calling Domain() on an IPv4Address.
goroutine 1 [running]: github.com/xtls/xray-core/common/net.ipv4Address.Domain(...) github.com/xtls/xray-core/common/net/address.go:140 github.com/xtls/xray-core/transport/internet/tcp.ListenTCP({0x105b87f00, 0x106539b60}, {0x105b884b0, 0x140021e63a8}, 0x0, 0x14000b352c0, 0x140000cc900) github.com/xtls/xray-core/transport/internet/tcp/hub.go:46 +0x134 github.com/xtls/xray-core/transport/internet.ListenTCP({0x105b87f00, 0x106539b60}, {0x105b884b0, 0x140021e63a8}, 0x0, 0x140000a4a80?, 0x140000cc900) github.com/xtls/xray-core/transport/internet/tcp_hub.go:74 +0x20c github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start(0x1400002d040) github.com/xtls/xray-core/app/proxyman/inbound/worker.go:122 +0x80 github.com/xtls/xray-core/app/proxyman/inbound.(*AlwaysOnInboundHandler).Start(0x1400004bb68?) github.com/xtls/xray-core/app/proxyman/inbound/always.go:155 +0x54 github.com/xtls/xray-core/app/proxyman/inbound.(*Manager).Start(0x1400003b480) github.com/xtls/xray-core/app/proxyman/inbound/inbound.go:106 +0x124 github.com/xtls/xray-core/core.(*Instance).Start(0x1400010a770) github.com/xtls/xray-core/core/xray.go:385 +0xf0 main.executeRun(0x1064fc8a0?, {0x140000d8060?, 0x14000223e28?, 0x104b52b2c?}) github.com/xtls/xray-core/main/run.go:90 +0x11c github.com/xtls/xray-core/main/commands/base.Execute() github.com/xtls/xray-core/main/commands/base/execute.go:64 +0x510 main.main() github.com/xtls/xray-core/main/main.go:22 +0x1a0 Xray 25.4.30 (Xray, Penetrates Everything.) 87ab8e5 (go1.24.2 darwin/arm64) A unified platform for anti-censorship. 2025/07/15 08:24:37.709823 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json} panic: Calling Domain() on an IPv4Address.
goroutine 1 [running]: github.com/xtls/xray-core/common/net.ipv4Address.Domain(...) github.com/xtls/xray-core/common/net/address.go:140 github.com/xtls/xray-core/transport/internet/tcp.ListenTCP({0x1015aff00, 0x101f61b60}, {0x1015b04b0, 0x140021b6390}, 0x0, 0x140016f5380, 0x140000a6a10) github.com/xtls/xray-core/transport/internet/tcp/hub.go:46 +0x134 github.com/xtls/xray-core/transport/internet.ListenTCP({0x1015aff00, 0x101f61b60}, {0x1015b04b0, 0x140021b6390}, 0x0, 0x140000c6a80?, 0x140000a6a10) github.com/xtls/xray-core/transport/internet/tcp_hub.go:74 +0x20c github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start(0x140002cb540) github.com/xtls/xray-core/app/proxyman/inbound/worker.go:122 +0x80 github.com/xtls/xray-core/app/proxyman/inbound.(*AlwaysOnInboundHandler).Start(0x1400004bb68?) github.com/xtls/xray-core/app/proxyman/inbound/always.go:155 +0x54 github.com/xtls/xray-core/app/proxyman/inbound.(*Manager).Start(0x14000361740) github.com/xtls/xray-core/app/proxyman/inbound/inbound.go:106 +0x124 github.com/xtls/xray-core/core.(*Instance).Start(0x1400030e850) github.com/xtls/xray-core/core/xray.go:385 +0xf0 main.executeRun(0x101f248a0?, {0x1400013c060?, 0x14000209e28?, 0x10057ab2c?}) github.com/xtls/xray-core/main/run.go:90 +0x11c github.com/xtls/xray-core/main/commands/base.Execute() github.com/xtls/xray-core/main/commands/base/execute.go:64 +0x510 main.main() github.com/xtls/xray-core/main/main.go:22 +0x1a0 Xray 25.4.30 (Xray, Penetrates Everything.) 87ab8e5 (go1.24.2 darwin/arm64) A unified platform for anti-censorship. 2025/07/15 08:24:48.330468 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json} panic: Calling Domain() on an IPv4Address.
goroutine 1 [running]: github.com/xtls/xray-core/common/net.ipv4Address.Domain(...) github.com/xtls/xray-core/common/net/address.go:140 github.com/xtls/xray-core/transport/internet/tcp.ListenTCP({0x102043f00, 0x1029f5b60}, {0x1020444b0, 0x140024f45b8}, 0x0, 0x1400166b380, 0x140000468e0) github.com/xtls/xray-core/transport/internet/tcp/hub.go:46 +0x134 github.com/xtls/xray-core/transport/internet.ListenTCP({0x102043f00, 0x1029f5b60}, {0x1020444b0, 0x140024f45b8}, 0x0, 0x1400014ab80?, 0x140000468e0) github.com/xtls/xray-core/transport/internet/tcp_hub.go:74 +0x20c github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start(0x14000140960) github.com/xtls/xray-core/app/proxyman/inbound/worker.go:122 +0x80 github.com/xtls/xray-core/app/proxyman/inbound.(*AlwaysOnInboundHandler).Start(0x1400004bb68?) github.com/xtls/xray-core/app/proxyman/inbound/always.go:155 +0x54 github.com/xtls/xray-core/app/proxyman/inbound.(*Manager).Start(0x14000261bc0) github.com/xtls/xray-core/app/proxyman/inbound/inbound.go:106 +0x124 github.com/xtls/xray-core/core.(*Instance).Start(0x14000280770) github.com/xtls/xray-core/core/xray.go:385 +0xf0 main.executeRun(0x1029b88a0?, {0x1400003a0e0?, 0x140001e3e28?, 0x10100eb2c?}) github.com/xtls/xray-core/main/run.go:90 +0x11c github.com/xtls/xray-core/main/commands/base.Execute() github.com/xtls/xray-core/main/commands/base/execute.go:64 +0x510 main.main() github.com/xtls/xray-core/main/main.go:22 +0x1a0
提交 Issue 之前请先在issue上搜索是否有相似问题, 看看能不能解决问题 (有太多相同的issue,没精力处理)。 除非特殊情况,请完整填写以下所有问题,不按模板发的 issue 将直接被关闭。
-
你正在使用的 V2RayU 和 Mac 版本 ?
-
你遇到的问题是什么?(请描述具体现象,比如访问超时,TLS 证书错误等)
-
请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
// 在这里附上配置信息
- 请附上出错时软件输出的错误日志。
// 在这里附上日志信息
请预览一下你填的内容再提交。
"protocol": "socks", "port": "0", 进入设置改一下端口,不能小于1024,默认是1080
"protocol": "socks", "port": "0", 进入设置改一下端口,不能小于1024,默认是1080 我的设置了: "listen": "127.0.0.1", "protocol": "socks", "settings": { "udp": true, "auth": "noauth" }, "port": "1080" ,ping貌似也没问题,但是日志报错:proxy/socks: TCP Connect request to tcp:firebaselogging-pa.googleapis.com:443,我的系统是15.3.1,M4的mac mini,使用的最新客户端。依然连不上,但是我另一台设备也用ssr协议,客户端2.3.1(ssr协议配置同一个),却是好使的
我用shadowsocket可以使用了
Get Outlook for iOShttps://aka.ms/o0ukef
From: abnceo @.> Sent: Tuesday, July 22, 2025 9:09:16 PM To: yanue/V2rayU @.> Cc: loveip @.>; Author @.> Subject: Re: [yanue/V2rayU] mac15.2,m2芯片,使用v2rayu 4.2.6版本,server端经windows测试没问题,mac chorme代理设置看起来也生效,但无法实现连接 (Issue #1561)
[https://avatars.githubusercontent.com/u/93933145?s=20&v=4]abnceo left a comment (yanue/V2rayU#1561)https://github.com/yanue/V2rayU/issues/1561#issuecomment-3102647332
一样的问题,Windows/ios端都可以正常访问。 但是新买的macOS就没法work, 一直是-1
― Reply to this email directly, view it on GitHubhttps://github.com/yanue/V2rayU/issues/1561#issuecomment-3102647332, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALZMJ6KXMNQQCXYRYRCBH433JYZXZAVCNFSM6AAAAACBQOYHC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMBSGY2DOMZTGI. You are receiving this because you authored the thread.Message ID: @.***>
设置里面手动允许在后台即可。