sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

我的配置在Windows、macOS、iOS上都能成功跑起来,一到安卓机上,直接报错,rule-set无法下载

Open FaithAluten opened this issue 1 year ago • 0 comments

Operating system

Android

System version

14 UKQ1.230804.001

Installation type

sing-box for Android Graphical Client

If you are using a graphical client, please provide the version of the client.

1.9.3

Version

No response

Description

initialize rule-set[8]: initial rule-set:
geosite-geolocation-apple: Get "https
//testingcf.isdelivr.net/gh/MetaCubeX
/meta-rules-dat@sing/geo/geosite/apple
.srs": dial udp 223.5.5.5:53:operation
not permittedinitialize rule-set8 :
initial rule-set:geosite-geolocation-cn:
Get "https://testingcf.isdelivr.net/gh
/MetaCubeX/meta-rules-dat@sing/geo
geosite/cn.srs":context canceled
initialize rule-setl8l:initialrule-set
geosite-geolocation-microsoft:Get
https://testingcf.isdelivr.net/gh
/MetaCubeX/meta-rules-dat@sing/geo
geosite/microsoft.srs":context canceled
initialize rule-set[8]: initial rule-set:
geoip-apple:Get "https://testingcf
isdelivr.net/gh/MetaCubeX/meta-rules
-dat@sing/geo-lite/geoip/apple.srs".
context canceled linitialize rule-set[8]:
initial rule-set:geosite-geolocation-!
cn:Get "https://testingcf.isdelivr.net/gh
/MetaCubeX/meta-rules-dat@sing/geo
geosite/geolocation-!cn.srs":context
canceled

Reproduction

配置如下:

{
  "log": {
    "disabled": false,
    "level": "debug",
    "timestamp": true
  },
  "experimental": {
    "cache_file": {
      "enabled": true,
      "store_fakeip": false,
      "store_rdrc": false
    },
    "clash_api": {
      "external_controller": "127.0.0.1:9090",
      "external_ui": "ui",
      "secret": "",
      "external_ui_download_url": "https://mirror.ghproxy.com/https://github.com/MetaCubeX/Yacd-meta/archive/gh-pages.zip",
      "external_ui_download_detour": "direct",
      "default_mode": "Rule"
    }
  },
  "dns": {
    "servers": [
      {
        "tag": "Google",
        "address": "tls://8.8.8.8"
      },
      {
        "tag": "Local",
        "address": "223.5.5.5",
        "detour": "Direct"
      }
    ],
    "rules": [
      {
        "outbound": "any",
        "server": "Local"
      },
      {
        "clash_mode": "Direct",
        "server": "Local"
      },
      {
        "clash_mode": "Global",
        "server": "Google"
      },
      {
        "rule_set": "geosite-geolocation-cn",
        "server": "Local"
      },
      {
        "rule_set": "geosite-geolocation-!cn",
        "server": "Google"
      }
    ],
    "strategy": "ipv4_only",
    "disable_cache": false,
    "disable_expire": false,
    "independent_cache": false,
    "final": "Google"
  },
  "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "interface_name": "sing-box",
      "inet4_address": "172.19.0.1/30",
      "mtu": 9000,
      "auto_route": true,
      "strict_route": true,
      "stack": "system",
      "sniff": true,
      "sniff_override_destination": false,
      "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,
      "users": []
    }
  ],
  "outbounds": [
    {
      "type": "direct",
      "tag": "Direct",
      "routing_mark": 100
    },
    {
      "type": "dns",
      "tag": "dns-out"
    },
    {
      "type": "block",
      "tag": "Reject"
    },
    {
      "tag": "🚀 节点选择",
      "type": "selector",
      "outbounds": [
        "♻️ 自动选择",
        "🚀 手动切换",
        "🇯🇵 日本节点",
        "🇺🇸 美国节点",
        "🇸🇬 狮城节点",
        "🇭🇰 香港节点",
        "Direct"
      ],
      "default": "♻️ 自动选择",
      "interrupt_exist_connections": true
    },
    {
      "tag": "🚀 手动切换",
      "type": "selector",
      "outbounds": [

      ],
      "interrupt_exist_connections": true
    },
    {
      "tag": "♻️ 自动选择",
      "type": "urltest",
      "outbounds": [

      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "10m",
      "idle_timeout": "30m",
      "interrupt_exist_connections": false
    },
    {
      "tag": "🍎 苹果服务",
      "type": "selector",
      "outbounds": [
        "🚀 节点选择",
        "🚀 手动切换",
        "🇯🇵 日本节点",
        "🇺🇸 美国节点",
        "🇸🇬 狮城节点",
        "🇭🇰 香港节点",
        "Direct"
      ],
      "default": "Direct",
      "interrupt_exist_connections": true
    },
    {
      "tag": "🌌 微软云盘",
      "type": "selector",
      "outbounds": [
        "🚀 节点选择",
        "🚀 手动切换",
        "🇯🇵 日本节点",
        "🇺🇸 美国节点",
        "🇸🇬 狮城节点",
        "🇭🇰 香港节点",
        "Direct"
      ],
      "default": "🚀 节点选择",
      "interrupt_exist_connections": true
    },
    {
      "tag": "🇨🇳 微软中国",
      "type": "selector",
      "outbounds": [
        "🚀 节点选择",
        "🚀 手动切换",
        "🇯🇵 日本节点",
        "🇺🇸 美国节点",
        "🇸🇬 狮城节点",
        "🇭🇰 香港节点",
        "Direct"
      ],
      "default": "Direct",
      "interrupt_exist_connections": true
    },
    {
      "tag": "Ⓜ️ 微软服务",
      "type": "selector",
      "outbounds": [
        "🚀 节点选择",
        "🚀 手动切换",
        "🇯🇵 日本节点",
        "🇺🇸 美国节点",
        "🇸🇬 狮城节点",
        "🇭🇰 香港节点",
        "Direct"
      ],
      "default": "🚀 节点选择",
      "interrupt_exist_connections": true
    },
    {
      "tag": "🎮 游戏平台",
      "type": "selector",
      "outbounds": [
        "🚀 节点选择",
        "🚀 手动切换",
        "🇯🇵 日本节点",
        "🇺🇸 美国节点",
        "🇸🇬 狮城节点",
        "🇭🇰 香港节点",
        "Direct"
      ],
      "default": "Direct",
      "interrupt_exist_connections": true
    },
    {
      "tag": "🌏 全球加速",
      "type": "selector",
      "outbounds": [
        "🚀 节点选择",
        "🚀 手动切换",
        "🇯🇵 日本节点",
        "🇺🇸 美国节点",
        "🇸🇬 狮城节点",
        "🇭🇰 香港节点",
        "Direct"
      ],
      "default": "🚀 节点选择",
      "interrupt_exist_connections": true
    },
    {
      "tag": "🐟 兜底分流",
      "type": "selector",
      "outbounds": [
        "🚀 节点选择",
        "🚀 手动切换",
        "🇯🇵 日本节点",
        "🇺🇸 美国节点",
        "🇸🇬 狮城节点",
        "🇭🇰 香港节点",
        "Direct"
      ],
      "default": "🚀 节点选择",
      "interrupt_exist_connections": true
    },
    {
      "tag": "🇯🇵 日本节点",
      "type": "urltest",
      "outbounds": [

      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "10m",
      "idle_timeout": "30m"
    },
    {
      "tag": "🇺🇸 美国节点",
      "type": "urltest",
      "outbounds": [

      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "10m",
      "idle_timeout": "30m"
    },
    {
      "tag": "🇸🇬 狮城节点",
      "type": "urltest",
      "outbounds": [

      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "10m",
      "idle_timeout": "30m"
    },
    {
      "tag": "🇭🇰 香港节点",
      "type": "urltest",
      "outbounds": [

      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "10m",
      "idle_timeout": "30m"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "final": "🐟 兜底分流",
    "rules": [
      {
        "protocol": "dns",
        "outbound": "dns-out"
      },
      {
        "clash_mode": "Direct",
        "outbound": "Direct"
      },
      {
        "clash_mode": "Global",
        "outbound": "🚀 节点选择"
      },
      {
        "domain": [
          "clash.razord.top",
          "yacd.metacubex.one",
          "yacd.haishan.me",
          "d.metacubex.one"
        ],
        "outbound": "Direct"
      },
      {
        "ip_is_private": true,
        "outbound": "Direct"
      },
      {
        "rule_set": [
          "geoip-apple",
          "geosite-geolocation-apple"
        ],
        "outbound": "🍎 苹果服务"
      },
      {
        "rule_set": "geosite-geolocation-onedrive",
        "outbound": "🌌 微软云盘"
      },
      {
        "rule_set": "geosite-geolocation-microsoft@cn",
        "outbound": "🇨🇳 微软中国"
      },
      {
        "rule_set": "geosite-geolocation-microsoft",
        "outbound": "Ⓜ️ 微软服务"
      },
      {
        "rule_set": "geosite-category-games",
        "outbound": "🎮 游戏平台"
      },
      {
        "rule_set": "geosite-geolocation-!cn",
        "outbound": "🌏 全球加速"
      },
      {
        "rule_set": [
          "geoip-cn",
          "geosite-geolocation-cn"
        ],
        "outbound": "Direct"
      }
    ],
    "rule_set": [
      {
        "tag": "geoip-apple",
        "type": "remote",
        "format": "binary",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo-lite/geoip/apple.srs",
        "download_detour": "Direct"
      },
      {
        "tag": "geosite-geolocation-apple",
        "type": "remote",
        "format": "binary",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/apple.srs",
        "download_detour": "Direct"
      },
      {
        "tag": "geosite-geolocation-onedrive",
        "type": "remote",
        "format": "binary",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/onedrive.srs",
        "download_detour": "Direct"
      },
      {
        "tag": "geosite-geolocation-microsoft@cn",
        "type": "remote",
        "format": "binary",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/[email protected]",
        "download_detour": "Direct"
      },
      {
        "tag": "geosite-geolocation-microsoft",
        "type": "remote",
        "format": "binary",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/microsoft.srs",
        "download_detour": "Direct"
      },
      {
        "tag": "geosite-category-games",
        "type": "remote",
        "format": "binary",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/category-games.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"
      },
      {
        "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-geolocation-cn",
        "type": "remote",
        "format": "binary",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/cn.srs",
        "download_detour": "Direct"
      }
    ]
  }
}

Logs

No response

Supporter

Integrity requirements

  • [X] I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • [X] I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
  • [X] I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
  • [X] I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.

FaithAluten avatar Jul 27 '24 13:07 FaithAluten