启动sing-box 后,每隔一段时间出现 dns exchange failed 、use of closed network connection、等日志信息 #1761
Closed
4 of 5 tasks
Labels
from end user
An end user is asking a developer to fix their problem for free
question
Further information is requested
Operating system
macOS
System version
M2 chip ; mac os 14.4
Installation type
sing-box for macOS Graphical Client
If you are using a graphical client, please provide the version of the client.
1.8.13
Version
No response
Description
启动sing-box之后,有error日志,有一些日志要运行一段时间才会出现:
ERROR[2554][1942272427 5m22s] inbound/tun[e]: download: read tcp 10.15.212.107:52598->x.x.x.x:x:read: operation timed out
ERROR[0138][445769450 2m15s] inbound/tun[0]: download:read tcp 10.15.212.107:64349->x.x.x.x:x:read: operation timed out
ERROR[0147][2414471350 2m24s] inbound/tun[0]: download: read tcp 10.15.212.107:64354->x.x.x.x:x: read: operation timed out
ERROR[0208] dns: exchange failed for mask.apple-dns.net. IN A: Post "https://1.1.1.1/dns-query" : read tcp 10.15.212.107:64502->x.x.x.x:x:use of closed network connection
ERROR[0755]dns:exchange failed for api.github.com. IN A:Post "https://1.1.1.1/dns-query":read tcp 10.15.212.107:64804->x.x.x.x:x:useof closed network connection
ERROR[0755] dns:exchange failed for collector.github.com. IN A: Post "https://1.1.1.1/dns-query": read tcp
10.15.212.107:64804->x.x.x.x:x:use of closed network connection
Reproduction
在mac os 或者ios,使用下面的配置可复现:
{
"log":
{
"disabled": false,
"level": "warn",
"timestamp": true
},
"experimental":
{
"clash_api":
{
"external_controller": "127.0.0.1:9090",
"external_ui": "xd",
"external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/gh-pages.zip",
"external_ui_download_detour": "proxy",
"default_mode": "Rule"
}
},
"dns":
{
"servers":
[
{
"tag": "proxy_dns",
"address": "https://1.1.1.1/dns-query",
"detour": "proxy"
},
{
"tag": "local_dns",
"address": "https://223.5.5.5/dns-query",
"detour": "direct"
},
{
"tag": "block",
"address": "rcode://success"
}
],
"rules":
[
{
"outbound": "any",
"server": "local_dns"
},
{
"rule_set": "geosite-cn",
"server": "local_dns"
},
{
"rule_set": "geosite-geolocation-!cn",
"server": "proxy_dns"
}
],
"final": "proxy_dns",
"strategy": "ipv4_only"
},
"inbounds":
[
{
"type": "tun",
"inet4_address": "172.19.0.1/30",
"mtu": 9000,
"auto_route": true,
"strict_route": true,
"sniff": true,
"stack": "system",
"platform":
{
"http_proxy":
{
"enabled": true,
"server": "127.0.0.1",
"server_port": 2080
}
}
},
{
"type": "mixed",
"listen": "127.0.0.1",
"listen_port": 2080,
"sniff": true
}
],
"route":
{
"auto_detect_interface": true,
"final": "proxy",
"rules":
[
{
"type": "logical",
"mode": "or",
"rules":
[
{
"port": 53
},
{
"protocol": "dns"
}
],
"outbound": "dns-out"
},
{
"protocol": "quic",
"outbound": "block"
},
{
"ip_is_private": true,
"outbound": "direct"
},
{
"rule_set": "geosite-geolocation-!cn",
"outbound": "proxy"
},
{
"rule_set":
[
"geosite-cn"
],
"outbound": "direct"
},
{
"rule_set":
[
"geoip-cn"
],
"outbound": "direct"
}
],
"rule_set":
[
{
"tag": "geoip-cn",
"type": "remote",
"format": "binary",
"url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geoip/cn.srs",
"download_detour": "direct"
},
{
"tag": "geosite-cn",
"type": "remote",
"format": "binary",
"url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/cn.srs",
"download_detour": "direct"
},
{
"tag": "geosite-geolocation-!cn",
"type": "remote",
"format": "binary",
"url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/geolocation-!cn.srs",
"download_detour": "direct"
}
]
},
"outbounds":
[
{
"type": "direct",
"tag": "direct"
},
{
"type": "dns",
"tag": "dns-out"
},
{
"type": "block",
"tag": "block"
},
{
"tag": "proxy",
"type": "urltest",
"outbounds":
[
"🇸🇬 Singapore 1"
]
},
{
"type": "shadowsocks",
"tag": "🇸🇬 Singapore 1",
"server": "domain",
"server_port": 24462,
"method": "aes-256-cfb",
"password": "password"
},
}
Logs
Supporter
Integrity requirements
The text was updated successfully, but these errors were encountered: