Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Fix memory leaks with RequireFeatures() #4095

Merged
merged 9 commits into from
Dec 11, 2024
Merged

Core: Fix memory leaks with RequireFeatures() #4095

merged 9 commits into from
Dec 11, 2024

Conversation

yuhan6665
Copy link
Member

RequireFeatures() must be called at init.

It should fix memory leak at balancers, observatory and fakedns. Need some testing to confirm it is working as expected.

@yuhan6665 yuhan6665 mentioned this pull request Dec 1, 2024
4 tasks
@o0HalfLife0o
Copy link
Contributor

Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: panic: runtime error: invalid memory address or nil pointer dereference
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x707d28]
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]:
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: goroutine 89 [running]:
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: github.com/xtls/xray-core/app/router.(*LeastLoadStrategy).getNodes(0x4005c67260, {0x4000318680, 0x6, 0x6ff088?}, 0x0)
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/router/strategy_leastload.go:142 +0x38
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: github.com/xtls/xray-core/app/router.(*LeastLoadStrategy).pickOutbounds(0x4005c67260, {0x4000318680?, 0x0?, 0x6ffb00?})
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/router/strategy_leastload.go:80 +0x2c
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: github.com/xtls/xray-core/app/router.(*LeastLoadStrategy).PickOutbound(0x4005d84ee0?, {0x4000318680?, 0x4003f2dd40?, 0x7f916fca68?})
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/router/strategy_leastload.go:70 +0x20
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: github.com/xtls/xray-core/app/router.(*Balancer).PickOutbound(0x4005d84ee0)
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/router/balancing.go:108 +0x1ac
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: github.com/xtls/xray-core/app/router.(*Rule).GetTag(...)
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/router/config.go:22
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: github.com/xtls/xray-core/app/router.(*Router).PickRoute(0x107aca8?, {0x1084bf0?, 0x4003f2dd40?})
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/router/router.go:87 +0x58
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0x4002c04180, {0x107aca8, 0x4004452a80}, 0x4005da31c0, {{0x107a960, 0x4005e716f0}, 0x1bb, 0x2})
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/dispatcher/default.go:436 +0x28c
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch.func1()
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/dispatcher/default.go:297 +0x2d0
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: created by github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).Dispatch in goroutine 88
Tue Dec  3 17:41:26 2024 daemon.err xray[11559]: 	github.com/xtls/xray-core/app/dispatcher/default.go:270 +0x3dc

需要贴上具体配置吗,客户端入站socks和透明代理fakedns,出站leastload,vless+ws,同配置换到最新版本可以跑起来,换到这个版本就崩了

@yuhan6665
Copy link
Member Author

@o0HalfLife0o 是否配置了 observatory 或者 burstObservatory?

@o0HalfLife0o
Copy link
Contributor

o0HalfLife0o commented Dec 3, 2024

@o0HalfLife0o 是否配置了 observatory 或者 burstObservatory?

{
  "log": {
    "loglevel": "debug",
    "dnsLog": false,
    "access": "/var/log/xray/access.log",
    "error": "/var/log/xray/error.log"
  },
  "inbounds": [
    {
      "protocol": "dokodemo-door",
      "port": 5353,
      "tag": "dns-in",
      "settings": {
        "address": "127.0.0.1",
        "network": "udp"
      }
    },
    {
      "protocol": "dokodemo-door",
      "port": 10800,
      "tag": "tproxy-in",
      "settings": {
        "network": "tcp,udp",
        "followRedirect": true
      },
      "sniffing": {
        "enabled": true,
        "destOverride": "fakedns",
        "metadataOnly": true
      },
      "streamSettings": {
        "sockopt": {
          "tproxy": "tproxy"
        }
      }
    },
    {
      "port": 10810,
      "protocol": "socks",
      "tag": "socks-in",
      "settings": {
        "auth": "noauth",
        "userLevel": 0
      },
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "fakedns+others"
        ]
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "dns",
      "tag": "dns-out",
      "streamSettings": {
        "sockopt": {
          "mark": 2
        }
      }
    },
    {
      "protocol": "freedom",
      "tag": "direct",
      "streamSettings": {
        "sockopt": {
          "mark": 2,
          "domainStrategy": "UseIP"
        }
      }
    },
    {
      "protocol": "blackhole",
      "tag": "block",
      "settings": {
        "response": {
          "type": "http"
        }
      }
    }
  ],
  "dns": {
    "tag": "dns_inbound",
    "hosts": {
      "dns.pub": "119.29.29.29",
      "dns.alidns.com": "223.5.5.5",
      "black.qimo.ink": "127.0.0.1",
      "geosite:category-ads-all": "127.0.0.1"
    },
    "servers": [
      {
        "address": "127.0.0.1",
        "port": 55,
        "domains": [
          "geosite:cn",
          "geosite:geolocation-cn"
        ],
        "skipFallback": true
      },
      {
        "address": "127.0.0.1",
        "port": 55,
        "expectIPs": [
          "ext:geoip-only-cn-private.dat:cn"
        ]
      },
      {
        "address": "fakedns",
        "queryStrategy": "UseIPv4"
      }
    ]
  },
  "fakedns": {
    "ipPool": "198.18.0.0/15",
    "poolSize": 65535
  },
  "routing": {
    "domainStrategy": "AsIs",
    "rules": [
      {
        "inboundTag": [
          "dns-in"
        ],
        "outboundTag": "dns-out"
      },
      {
        "inboundTag": [
          "dns_inbound"
        ],
        "outboundTag": "direct"
      },
      {
        "domain": [
          "geosite:cn",
          "geosite:geolocation-cn"
        ],
        "outboundTag": "direct"
      },
      {
        "ip": [
          "ext:geoip-only-cn-private.dat:cn",
          "ext:geoip-only-cn-private.dat:private"
        ],
        "outboundTag": "direct"
      },
      {
        "network": "udp",
        "port": 443,
        "outboundTag": "block"
      },
      {
        "domain": [
          "geosite:category-ads-all"
        ],
        "outboundTag": "block"
      },
      {
        "port": "0-65535",
        "balancerTag": "balancer"
      }
    ],
    "balancers": [
      {
        "tag": "balancer",
        "selector": [
          "cft-ws-"
        ],
        "fallbackTag": "backup-cft-ws",
        "strategy": {
          "type": "leastLoad"
        }
      }
    ]
  },
  "burstObservatory": {
    "subjectSelector": [
      "cft-ws-"
    ],
    "pingConfig": {
      "destination": "https://www.gstatic.com/generate_204",
      "interval": "5m",
      "connectivity": "http://connectivitycheck.platform.hicloud.com/generate_204",
      "timeout": "30s",
      "sampling": 3
    }
  },
  "policy": {
    "levels": {
      "0": {
        "uplinkOnly": 0,
        "downlinkOnly": 0
      }
    }
  }
}

burstObservatory

@yuhan6665
Copy link
Member Author

@o0HalfLife0o 麻烦再试一下 https://github.com/XTLS/Xray-core/actions/runs/12150035104 应该不会崩溃 主要要看下 leastload 有没有起作用

@o0HalfLife0o
Copy link
Contributor

@o0HalfLife0o 麻烦再试一下 https://github.com/XTLS/Xray-core/actions/runs/12150035104 应该不会崩溃 主要要看下 leastload 有没有起作用

2024/12/04 10:28:05 [Debug] app/log: Logger started
2024/12/04 10:28:06 [Info] app/dns: DNS: created UDP client initialized for 127.0.0.1:55
2024/12/04 10:28:07 [Info] app/dns: DNS: created UDP client initialized for 127.0.0.1:55
2024/12/04 10:28:08 [Debug] app/router: MphDomainMatcher is enabled for 66489 domain rule(s)
2024/12/04 10:28:08 [Debug] app/router: MphDomainMatcher is enabled for 96333 domain rule(s)
2024/12/04 10:28:08 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:10800
2024/12/04 10:28:08 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:10810
2024/12/04 10:28:08 [Info] transport/internet/udp: listening UDP on 0.0.0.0:5353
2024/12/04 10:28:08 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:10800
2024/12/04 10:28:08 [Info] transport/internet/udp: listening UDP on 0.0.0.0:10800
2024/12/04 10:28:08 [Info] transport/internet/tcp: listening TCP on 0.0.0.0:10810
2024/12/04 10:28:08 [Warning] core: Xray 24.11.30 started
2024/12/04 10:28:08 [Info] app/observatory/burst: perform one-time health check for tags [cft-ws-0 cft-ws-1 cft-ws-2 cft-ws-3 cft-ws-4 cft-ws-5]
2024/12/04 10:28:08 [Debug] app/observatory/burst: checking cft-ws-1
2024/12/04 10:28:08 [Debug] app/observatory/burst: checking cft-ws-3
2024/12/04 10:28:08 [Debug] app/observatory/burst: checking cft-ws-5
2024/12/04 10:28:08 [Debug] app/observatory/burst: checking cft-ws-2
2024/12/04 10:28:08 [Debug] app/observatory/burst: checking cft-ws-0
2024/12/04 10:28:08 [Debug] app/observatory/burst: checking cft-ws-4
2024/12/04 10:28:08 [Info] app/dispatcher: taking platform initialized detour [cft-ws-3] for [tcp:www.gstatic.com:443]
2024/12/04 10:28:08 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:28:08 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:28:08 [Info] app/dispatcher: taking platform initialized detour [cft-ws-2] for [tcp:www.gstatic.com:443]
2024/12/04 10:28:08 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:28:08 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:28:08 [Info] app/dispatcher: taking platform initialized detour [cft-ws-5] for [tcp:www.gstatic.com:443]
2024/12/04 10:28:08 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:28:08 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:28:08 [Info] app/dispatcher: taking platform initialized detour [cft-ws-1] for [tcp:www.gstatic.com:443]
2024/12/04 10:28:08 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:28:08 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:28:08 [Info] app/dispatcher: taking platform initialized detour [cft-ws-4] for [tcp:www.gstatic.com:443]
2024/12/04 10:28:08 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:28:08 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:28:08 [Info] app/dispatcher: taking platform initialized detour [cft-ws-0] for [tcp:www.gstatic.com:443]
2024/12/04 10:28:08 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:28:08 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:28:08 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:28:08 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:28:08 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:28:08 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:28:08 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:28:08 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:28:09 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:28:09 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:28:09 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:28:09 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:28:10 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:28:10 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:28:50 [Info] [2315396159] proxy/socks: TCP Connect request to tcp:www.gstatic.com:443
2024/12/04 10:28:50 [Info] [2315396159] app/dispatcher: taking detour [direct] for [tcp:www.gstatic.com:443]
2024/12/04 10:28:50 [Info] [2315396159] transport/internet/tcp: dialing TCP to tcp:www.gstatic.com:443
2024/12/04 10:28:50 [Debug] app/dns: domain www.gstatic.com matches following rules: [geosite:cn(DNS idx:0) geosite:google-cn(DNS idx:0) geosite:geolocation-!cn(DNS idx:1)]
2024/12/04 10:28:50 [Debug] app/dns: domain www.gstatic.com will use DNS in order: [UDP:127.0.0.1:55 FakeDNS UDP:127.0.0.1:55 FakeDNS]
2024/12/04 10:28:50 [Debug] app/dns: UDP:127.0.0.1:55 querying DNS for: www.gstatic.com.
2024/12/04 10:28:50 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:28:50 [Info] transport/internet/udp: establishing new connection for udp:127.0.0.1:55
2024/12/04 10:28:50 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:28:50 [Info] app/dispatcher: taking detour [direct] for [udp:127.0.0.1:55]
2024/12/04 10:28:50 [Debug] transport/internet: dialing to udp:127.0.0.1:55
2024/12/04 10:28:50 [Info] proxy/freedom: connection opened to udp:127.0.0.1:55, local endpoint [::]:48158, remote endpoint 127.0.0.1:55
2024/12/04 10:28:50 [Info] app/dns: UDP:127.0.0.1:55 got answer: www.gstatic.com. TypeA -> [203.208.41.66 203.208.40.2] 2.680401ms
2024/12/04 10:28:50 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:www.gstatic.com.
2024/12/04 10:28:50 [Info] app/dns: UDP:127.0.0.1:55 got answer: www.gstatic.com. TypeAAAA -> [] 4.585587ms
2024/12/04 10:28:50 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:www.gstatic.com.
2024/12/04 10:28:50 [Info] [2315396159] transport/internet: replace destination with tcp:203.208.41.66:443
2024/12/04 10:28:50 [Debug] [2315396159] transport/internet: dialing to tcp:203.208.41.66:443
2024/12/04 10:28:50 [Info] [2315396159] proxy/freedom: connection opened to tcp:www.gstatic.com:443, local endpoint 27.156.78.44:49100, remote endpoint 203.208.41.66:443
2024/12/04 10:28:50 [Info] [2315396159] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP request > io: read/write on closed pipe
2024/12/04 10:28:53 [Debug] app/observatory/burst: checking cft-ws-5
2024/12/04 10:28:53 [Info] app/dispatcher: taking platform initialized detour [cft-ws-5] for [tcp:www.gstatic.com:443]
2024/12/04 10:28:53 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:28:53 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:28:53 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:28:54 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:29:04 [Info] [1880975750] proxy/socks: TCP Connect request to tcp:www.google.com:443
2024/12/04 10:29:04 [Error] app/router: observer is nil
2024/12/04 10:29:04 [Info] app/router: least load: no qualified outbound
2024/12/04 10:29:04 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:29:04 [Info] [1880975750] app/dispatcher: taking detour [backup-cft-ws] for [tcp:www.google.com:443]
2024/12/04 10:29:04 [Info] [1880975750] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:29:04 [Info] [1880975750] proxy/vless/outbound: tunneling request to tcp:www.google.com:443 via ip:443
2024/12/04 10:29:04 [Debug] [1880975750] transport/internet: dialing to tcp:ip:443
2024/12/04 10:29:05 [Info] [2146901991] proxy/socks: TCP Connect request to tcp:alive.github.com:443
2024/12/04 10:29:05 [Error] app/router: observer is nil
2024/12/04 10:29:05 [Info] app/router: least load: no qualified outbound
2024/12/04 10:29:05 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:29:05 [Info] [2146901991] app/dispatcher: taking detour [backup-cft-ws] for [tcp:alive.github.com:443]
2024/12/04 10:29:05 [Info] [2146901991] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:29:05 [Info] [2146901991] proxy/vless/outbound: tunneling request to tcp:alive.github.com:443 via ip:443
2024/12/04 10:29:05 [Debug] [2146901991] transport/internet: dialing to tcp:ip:443
2024/12/04 10:29:07 [Info] [871015741] proxy/socks: TCP Connect request to tcp:fonts.gstatic.com:443
2024/12/04 10:29:07 [Info] [871015741] app/dispatcher: taking detour [direct] for [tcp:fonts.gstatic.com:443]
2024/12/04 10:29:07 [Info] [871015741] transport/internet/tcp: dialing TCP to tcp:fonts.gstatic.com:443
2024/12/04 10:29:07 [Debug] app/dns: domain fonts.gstatic.com matches following rules: [geosite:cn(DNS idx:0) geosite:google-cn(DNS idx:0) geosite:geolocation-!cn(DNS idx:1)]
2024/12/04 10:29:07 [Debug] app/dns: domain fonts.gstatic.com will use DNS in order: [UDP:127.0.0.1:55 FakeDNS UDP:127.0.0.1:55 FakeDNS]
2024/12/04 10:29:07 [Debug] app/dns: UDP:127.0.0.1:55 querying DNS for: fonts.gstatic.com.
2024/12/04 10:29:07 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:29:07 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:29:07 [Info] app/dns: UDP:127.0.0.1:55 got answer: fonts.gstatic.com. TypeA -> [203.208.40.2] 1.376972ms
2024/12/04 10:29:07 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:fonts.gstatic.com.
2024/12/04 10:29:07 [Info] app/dns: UDP:127.0.0.1:55 got answer: fonts.gstatic.com. TypeAAAA -> [] 3.283741ms
2024/12/04 10:29:07 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:fonts.gstatic.com.
2024/12/04 10:29:07 [Info] [871015741] transport/internet: replace destination with tcp:203.208.40.2:443
2024/12/04 10:29:07 [Debug] [871015741] transport/internet: dialing to tcp:203.208.40.2:443
2024/12/04 10:29:07 [Info] [871015741] proxy/freedom: connection opened to tcp:fonts.gstatic.com:443, local endpoint 27.156.78.44:41622, remote endpoint 203.208.40.2:443
2024/12/04 10:29:07 [Info] [2691354999] proxy/socks: TCP Connect request to tcp:lh3.googleusercontent.com:443
2024/12/04 10:29:07 [Error] app/router: observer is nil
2024/12/04 10:29:07 [Info] app/router: least load: no qualified outbound
2024/12/04 10:29:07 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:29:07 [Info] [2691354999] app/dispatcher: taking detour [backup-cft-ws] for [tcp:lh3.googleusercontent.com:443]
2024/12/04 10:29:07 [Info] [2691354999] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:29:07 [Info] [2691354999] proxy/vless/outbound: tunneling request to tcp:lh3.googleusercontent.com:443 via ip:443
2024/12/04 10:29:07 [Debug] [2691354999] transport/internet: dialing to tcp:ip:443
2024/12/04 10:29:07 [Info] [800550436] proxy/socks: TCP Connect request to tcp:www.gstatic.com:443
2024/12/04 10:29:07 [Info] [800550436] app/dispatcher: taking detour [direct] for [tcp:www.gstatic.com:443]
2024/12/04 10:29:07 [Info] [800550436] transport/internet/tcp: dialing TCP to tcp:www.gstatic.com:443
2024/12/04 10:29:07 [Debug] app/dns: domain www.gstatic.com matches following rules: [geosite:cn(DNS idx:0) geosite:google-cn(DNS idx:0) geosite:geolocation-!cn(DNS idx:1)]
2024/12/04 10:29:07 [Debug] app/dns: domain www.gstatic.com will use DNS in order: [UDP:127.0.0.1:55 FakeDNS UDP:127.0.0.1:55 FakeDNS]
2024/12/04 10:29:07 [Debug] app/dns: UDP:127.0.0.1:55 querying DNS for: www.gstatic.com.
2024/12/04 10:29:07 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:29:07 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:29:07 [Info] app/dns: UDP:127.0.0.1:55 got answer: www.gstatic.com. TypeA -> [203.208.41.98 203.208.41.66] 699.715µs
2024/12/04 10:29:07 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:www.gstatic.com.
2024/12/04 10:29:07 [Info] app/dns: UDP:127.0.0.1:55 got answer: www.gstatic.com. TypeAAAA -> [] 862.342µs
2024/12/04 10:29:07 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:www.gstatic.com.
2024/12/04 10:29:07 [Info] [800550436] transport/internet: replace destination with tcp:203.208.41.98:443
2024/12/04 10:29:07 [Debug] [800550436] transport/internet: dialing to tcp:203.208.41.98:443
2024/12/04 10:29:07 [Info] [800550436] proxy/freedom: connection opened to tcp:www.gstatic.com:443, local endpoint 27.156.78.44:55878, remote endpoint 203.208.41.98:443
2024/12/04 10:29:08 [Info] [945772296] proxy/socks: TCP Connect request to tcp:apis.google.com:443
2024/12/04 10:29:08 [Error] app/router: observer is nil
2024/12/04 10:29:08 [Info] app/router: least load: no qualified outbound
2024/12/04 10:29:08 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:29:08 [Info] [945772296] app/dispatcher: taking detour [backup-cft-ws] for [tcp:apis.google.com:443]
2024/12/04 10:29:08 [Info] [945772296] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:29:08 [Info] [945772296] proxy/vless/outbound: tunneling request to tcp:apis.google.com:443 via ip:443
2024/12/04 10:29:08 [Debug] [945772296] transport/internet: dialing to tcp:ip:443
2024/12/04 10:29:11 [Info] [2007552903] proxy/socks: TCP Connect request to tcp:ogads-pa.clients6.google.com:443
2024/12/04 10:29:11 [Error] app/router: observer is nil
2024/12/04 10:29:11 [Info] app/router: least load: no qualified outbound
2024/12/04 10:29:11 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:29:11 [Info] [2007552903] app/dispatcher: taking detour [backup-cft-ws] for [tcp:ogads-pa.clients6.google.com:443]
2024/12/04 10:29:11 [Info] [2007552903] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:29:11 [Info] [2007552903] proxy/vless/outbound: tunneling request to tcp:ogads-pa.clients6.google.com:443 via ip:443
2024/12/04 10:29:11 [Debug] [2007552903] transport/internet: dialing to tcp:ip:443
2024/12/04 10:29:13 [Info] [1465012285] proxy/socks: TCP Connect request to tcp:ogads-pa.clients6.google.com:443
2024/12/04 10:29:13 [Error] app/router: observer is nil
2024/12/04 10:29:13 [Info] app/router: least load: no qualified outbound
2024/12/04 10:29:13 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:29:13 [Info] [1465012285] app/dispatcher: taking detour [backup-cft-ws] for [tcp:ogads-pa.clients6.google.com:443]
2024/12/04 10:29:13 [Info] [1465012285] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:29:13 [Info] [1465012285] proxy/vless/outbound: tunneling request to tcp:ogads-pa.clients6.google.com:443 via ip:443
2024/12/04 10:29:13 [Debug] [1465012285] transport/internet: dialing to tcp:ip:443
2024/12/04 10:29:22 [Info] [800550436] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:29:22 [Info] [1880975750] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:29:22 [Info] [945772296] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:29:22 [Info] [2691354999] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:29:22 [Info] [1465012285] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:29:28 [Debug] app/observatory/burst: checking cft-ws-5
2024/12/04 10:29:28 [Info] app/dispatcher: taking platform initialized detour [cft-ws-5] for [tcp:www.gstatic.com:443]
2024/12/04 10:29:28 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:29:28 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:29:28 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:29:29 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:29:30 [Info] [424744372] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2024/12/04 10:29:34 [Info] [2391456332] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2024/12/04 10:29:35 [Info] [4203936611] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2024/12/04 10:29:37 [Debug] app/observatory/burst: checking cft-ws-3
2024/12/04 10:29:37 [Info] app/dispatcher: taking platform initialized detour [cft-ws-3] for [tcp:www.gstatic.com:443]
2024/12/04 10:29:37 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:29:37 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:29:37 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:29:38 [Info] [3440445327] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2024/12/04 10:29:39 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:29:42 [Info] [1468219130] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2024/12/04 10:30:14 [Info] [2146901991] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1000 (normal)
2024/12/04 10:30:14 [Info] [2146901991] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
2024/12/04 10:30:24 [Debug] app/observatory/burst: checking cft-ws-4
2024/12/04 10:30:24 [Info] app/dispatcher: taking platform initialized detour [cft-ws-4] for [tcp:www.gstatic.com:443]
2024/12/04 10:30:24 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:30:24 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:30:24 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:30:25 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:30:50 [Info] transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe
2024/12/04 10:30:59 [Debug] app/observatory/burst: checking cft-ws-0
2024/12/04 10:30:59 [Info] app/dispatcher: taking platform initialized detour [cft-ws-0] for [tcp:www.gstatic.com:443]
2024/12/04 10:30:59 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:30:59 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:30:59 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:00 [Debug] app/observatory/burst: checking cft-ws-5
2024/12/04 10:31:00 [Info] app/dispatcher: taking platform initialized detour [cft-ws-5] for [tcp:www.gstatic.com:443]
2024/12/04 10:31:00 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:00 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:31:00 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:01 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:31:01 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:31:31 [Debug] app/observatory/burst: checking cft-ws-0
2024/12/04 10:31:31 [Info] app/dispatcher: taking platform initialized detour [cft-ws-0] for [tcp:www.gstatic.com:443]
2024/12/04 10:31:31 [Info] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:31 [Info] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:443 via ip:443
2024/12/04 10:31:31 [Debug] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:33 [Info] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1005 (no status)
2024/12/04 10:31:38 [Info] [1834284799] proxy/socks: TCP Connect request to tcp:ogs.google.com:443
2024/12/04 10:31:38 [Info] [282307444] proxy/socks: TCP Connect request to tcp:www.gstatic.com:443
2024/12/04 10:31:38 [Info] [282307444] app/dispatcher: taking detour [direct] for [tcp:www.gstatic.com:443]
2024/12/04 10:31:38 [Error] app/router: observer is nil
2024/12/04 10:31:38 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:38 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:38 [Info] [1834284799] app/dispatcher: taking detour [backup-cft-ws] for [tcp:ogs.google.com:443]
2024/12/04 10:31:38 [Info] [282307444] transport/internet/tcp: dialing TCP to tcp:www.gstatic.com:443
2024/12/04 10:31:38 [Info] [1834284799] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:38 [Info] [1834284799] proxy/vless/outbound: tunneling request to tcp:ogs.google.com:443 via ip:443
2024/12/04 10:31:38 [Debug] [1834284799] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:38 [Debug] app/dns: domain www.gstatic.com matches following rules: [geosite:cn(DNS idx:0) geosite:google-cn(DNS idx:0) geosite:geolocation-!cn(DNS idx:1)]
2024/12/04 10:31:38 [Debug] app/dns: domain www.gstatic.com will use DNS in order: [UDP:127.0.0.1:55 FakeDNS UDP:127.0.0.1:55 FakeDNS]
2024/12/04 10:31:38 [Debug] app/dns: UDP:127.0.0.1:55 querying DNS for: www.gstatic.com.
2024/12/04 10:31:38 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:31:38 [Info] transport/internet/udp: establishing new connection for udp:127.0.0.1:55
2024/12/04 10:31:38 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:31:38 [Info] app/dispatcher: taking detour [direct] for [udp:127.0.0.1:55]
2024/12/04 10:31:38 [Debug] transport/internet: dialing to udp:127.0.0.1:55
2024/12/04 10:31:38 [Info] proxy/freedom: connection opened to udp:127.0.0.1:55, local endpoint [::]:35272, remote endpoint 127.0.0.1:55
2024/12/04 10:31:38 [Info] app/dns: UDP:127.0.0.1:55 got answer: www.gstatic.com. TypeA -> [203.208.41.98 203.208.41.66] 1.51814ms
2024/12/04 10:31:38 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:www.gstatic.com.
2024/12/04 10:31:38 [Info] app/dns: UDP:127.0.0.1:55 got answer: www.gstatic.com. TypeAAAA -> [] 3.531785ms
2024/12/04 10:31:38 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:www.gstatic.com.
2024/12/04 10:31:38 [Info] [282307444] transport/internet: replace destination with tcp:203.208.41.66:443
2024/12/04 10:31:38 [Debug] [282307444] transport/internet: dialing to tcp:203.208.41.66:443
2024/12/04 10:31:38 [Info] [282307444] proxy/freedom: connection opened to tcp:www.gstatic.com:443, local endpoint 27.156.78.44:42226, remote endpoint 203.208.41.66:443
2024/12/04 10:31:41 [Info] [2181454192] proxy/socks: TCP Connect request to tcp:csp.withgoogle.com:443
2024/12/04 10:31:41 [Error] app/router: observer is nil
2024/12/04 10:31:41 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:41 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:41 [Info] [2181454192] app/dispatcher: taking detour [backup-cft-ws] for [tcp:csp.withgoogle.com:443]
2024/12/04 10:31:41 [Info] [2181454192] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:41 [Info] [2181454192] proxy/vless/outbound: tunneling request to tcp:csp.withgoogle.com:443 via ip:443
2024/12/04 10:31:41 [Debug] [2181454192] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:41 [Info] [362391847] proxy/socks: TCP Connect request to tcp:ssl.gstatic.com:443
2024/12/04 10:31:41 [Info] [362391847] app/dispatcher: taking detour [direct] for [tcp:ssl.gstatic.com:443]
2024/12/04 10:31:41 [Info] [362391847] transport/internet/tcp: dialing TCP to tcp:ssl.gstatic.com:443
2024/12/04 10:31:41 [Debug] app/dns: domain ssl.gstatic.com matches following rules: [geosite:cn(DNS idx:0) geosite:google-cn(DNS idx:0) geosite:geolocation-!cn(DNS idx:1)]
2024/12/04 10:31:41 [Debug] app/dns: domain ssl.gstatic.com will use DNS in order: [UDP:127.0.0.1:55 FakeDNS UDP:127.0.0.1:55 FakeDNS]
2024/12/04 10:31:41 [Debug] app/dns: UDP:127.0.0.1:55 querying DNS for: ssl.gstatic.com.
2024/12/04 10:31:41 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:31:41 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:31:41 [Info] app/dns: UDP:127.0.0.1:55 got answer: ssl.gstatic.com. TypeA -> [203.208.40.98 203.208.41.98] 1.562599ms
2024/12/04 10:31:41 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:ssl.gstatic.com.
2024/12/04 10:31:41 [Info] app/dns: UDP:127.0.0.1:55 got answer: ssl.gstatic.com. TypeAAAA -> [] 3.974998ms
2024/12/04 10:31:41 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:ssl.gstatic.com.
2024/12/04 10:31:41 [Info] [362391847] transport/internet: replace destination with tcp:203.208.40.98:443
2024/12/04 10:31:41 [Debug] [362391847] transport/internet: dialing to tcp:203.208.40.98:443
2024/12/04 10:31:41 [Info] [2907476427] proxy/socks: TCP Connect request to tcp:lh3.googleusercontent.com:443
2024/12/04 10:31:41 [Info] [3323815265] proxy/socks: TCP Connect request to tcp:fonts.gstatic.com:443
2024/12/04 10:31:41 [Error] app/router: observer is nil
2024/12/04 10:31:41 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:41 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:41 [Info] [2907476427] app/dispatcher: taking detour [backup-cft-ws] for [tcp:lh3.googleusercontent.com:443]
2024/12/04 10:31:41 [Info] [2907476427] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:41 [Info] [2907476427] proxy/vless/outbound: tunneling request to tcp:lh3.googleusercontent.com:443 via ip:443
2024/12/04 10:31:41 [Debug] [2907476427] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:41 [Info] [3323815265] app/dispatcher: taking detour [direct] for [tcp:fonts.gstatic.com:443]
2024/12/04 10:31:41 [Info] [3323815265] transport/internet/tcp: dialing TCP to tcp:fonts.gstatic.com:443
2024/12/04 10:31:41 [Debug] app/dns: domain fonts.gstatic.com matches following rules: [geosite:cn(DNS idx:0) geosite:google-cn(DNS idx:0) geosite:geolocation-!cn(DNS idx:1)]
2024/12/04 10:31:41 [Debug] app/dns: domain fonts.gstatic.com will use DNS in order: [UDP:127.0.0.1:55 FakeDNS UDP:127.0.0.1:55 FakeDNS]
2024/12/04 10:31:41 [Debug] app/dns: UDP:127.0.0.1:55 querying DNS for: fonts.gstatic.com.
2024/12/04 10:31:41 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:31:41 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:31:41 [Info] app/dns: UDP:127.0.0.1:55 got answer: fonts.gstatic.com. TypeA -> [203.208.40.66 203.208.40.2] 1.376013ms
2024/12/04 10:31:41 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:fonts.gstatic.com.
2024/12/04 10:31:41 [Info] app/dns: UDP:127.0.0.1:55 got answer: fonts.gstatic.com. TypeAAAA -> [] 3.147489ms
2024/12/04 10:31:41 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:fonts.gstatic.com.
2024/12/04 10:31:41 [Info] [3323815265] transport/internet: replace destination with tcp:203.208.40.66:443
2024/12/04 10:31:41 [Debug] [3323815265] transport/internet: dialing to tcp:203.208.40.66:443
2024/12/04 10:31:41 [Info] [362391847] proxy/freedom: connection opened to tcp:ssl.gstatic.com:443, local endpoint 27.156.78.44:50524, remote endpoint 203.208.40.98:443
2024/12/04 10:31:41 [Info] [3323815265] proxy/freedom: connection opened to tcp:fonts.gstatic.com:443, local endpoint 27.156.78.44:51096, remote endpoint 203.208.40.66:443
2024/12/04 10:31:42 [Info] [868075210] proxy/socks: TCP Connect request to tcp:www.youtube.com:443
2024/12/04 10:31:42 [Error] app/router: observer is nil
2024/12/04 10:31:42 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:42 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:42 [Info] [868075210] app/dispatcher: taking detour [backup-cft-ws] for [tcp:www.youtube.com:443]
2024/12/04 10:31:42 [Info] [868075210] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:42 [Info] [868075210] proxy/vless/outbound: tunneling request to tcp:www.youtube.com:443 via ip:443
2024/12/04 10:31:42 [Debug] [868075210] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:44 [Info] [1544492158] proxy/socks: TCP Connect request to tcp:m.youtube.com:443
2024/12/04 10:31:44 [Error] app/router: observer is nil
2024/12/04 10:31:44 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:44 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:44 [Info] [1544492158] app/dispatcher: taking detour [backup-cft-ws] for [tcp:m.youtube.com:443]
2024/12/04 10:31:44 [Info] [1544492158] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:44 [Info] [1544492158] proxy/vless/outbound: tunneling request to tcp:m.youtube.com:443 via ip:443
2024/12/04 10:31:44 [Debug] [1544492158] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:46 [Info] [2293323335] proxy/socks: TCP Connect request to tcp:alive.github.com:443
2024/12/04 10:31:46 [Error] app/router: observer is nil
2024/12/04 10:31:46 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:46 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:46 [Info] [2293323335] app/dispatcher: taking detour [backup-cft-ws] for [tcp:alive.github.com:443]
2024/12/04 10:31:46 [Info] [2293323335] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:46 [Info] [2293323335] proxy/vless/outbound: tunneling request to tcp:alive.github.com:443 via ip:443
2024/12/04 10:31:46 [Debug] [2293323335] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:47 [Info] [2905079491] proxy/socks: TCP Connect request to tcp:www.google.com:443
2024/12/04 10:31:47 [Error] app/router: observer is nil
2024/12/04 10:31:47 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:47 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:47 [Info] [2905079491] app/dispatcher: taking detour [backup-cft-ws] for [tcp:www.google.com:443]
2024/12/04 10:31:47 [Info] [2905079491] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:47 [Info] [2905079491] proxy/vless/outbound: tunneling request to tcp:www.google.com:443 via ip:443
2024/12/04 10:31:47 [Debug] [2905079491] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:47 [Info] [1752430755] proxy/socks: TCP Connect request to tcp:content-autofill.googleapis.com:443
2024/12/04 10:31:47 [Error] app/router: observer is nil
2024/12/04 10:31:47 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:47 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:47 [Info] [1752430755] app/dispatcher: taking detour [backup-cft-ws] for [tcp:content-autofill.googleapis.com:443]
2024/12/04 10:31:47 [Info] [1752430755] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:47 [Info] [1752430755] proxy/vless/outbound: tunneling request to tcp:content-autofill.googleapis.com:443 via ip:443
2024/12/04 10:31:47 [Debug] [1752430755] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:48 [Info] [4027589412] proxy/socks: TCP Connect request to tcp:www.gstatic.com:443
2024/12/04 10:31:48 [Info] [4027589412] app/dispatcher: taking detour [direct] for [tcp:www.gstatic.com:443]
2024/12/04 10:31:48 [Info] [4027589412] transport/internet/tcp: dialing TCP to tcp:www.gstatic.com:443
2024/12/04 10:31:48 [Debug] app/dns: domain www.gstatic.com matches following rules: [geosite:cn(DNS idx:0) geosite:google-cn(DNS idx:0) geosite:geolocation-!cn(DNS idx:1)]
2024/12/04 10:31:48 [Debug] app/dns: domain www.gstatic.com will use DNS in order: [UDP:127.0.0.1:55 FakeDNS UDP:127.0.0.1:55 FakeDNS]
2024/12/04 10:31:48 [Debug] app/dns: UDP:127.0.0.1:55 querying DNS for: www.gstatic.com.
2024/12/04 10:31:48 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:31:48 [Debug] transport/internet/udp: dispatch request to: udp:127.0.0.1:55
2024/12/04 10:31:48 [Info] app/dns: UDP:127.0.0.1:55 got answer: www.gstatic.com. TypeA -> [203.208.40.98 203.208.41.66] 1.494223ms
2024/12/04 10:31:48 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:www.gstatic.com.
2024/12/04 10:31:48 [Info] app/dns: UDP:127.0.0.1:55 got answer: www.gstatic.com. TypeAAAA -> [] 1.860893ms
2024/12/04 10:31:48 [Debug] app/dns: UDP:127.0.0.1:55 updating IP records for domain:www.gstatic.com.
2024/12/04 10:31:48 [Info] [4027589412] transport/internet: replace destination with tcp:203.208.41.66:443
2024/12/04 10:31:48 [Debug] [4027589412] transport/internet: dialing to tcp:203.208.41.66:443
2024/12/04 10:31:48 [Info] [4027589412] proxy/freedom: connection opened to tcp:www.gstatic.com:443, local endpoint 27.156.78.44:60906, remote endpoint 203.208.41.66:443
2024/12/04 10:31:48 [Info] [1184320178] proxy/socks: TCP Connect request to tcp:i.ytimg.com:443
2024/12/04 10:31:48 [Info] [226285901] proxy/socks: TCP Connect request to tcp:i.ytimg.com:443
2024/12/04 10:31:48 [Info] [355702893] proxy/socks: TCP Connect request to tcp:i.ytimg.com:443
2024/12/04 10:31:48 [Error] app/router: observer is nil
2024/12/04 10:31:48 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:48 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:48 [Info] [382972170] proxy/socks: TCP Connect request to tcp:yt3.ggpht.com:443
2024/12/04 10:31:48 [Info] [1184320178] app/dispatcher: taking detour [backup-cft-ws] for [tcp:i.ytimg.com:443]
2024/12/04 10:31:48 [Info] [1184320178] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:48 [Info] [1184320178] proxy/vless/outbound: tunneling request to tcp:i.ytimg.com:443 via ip:443
2024/12/04 10:31:48 [Debug] [1184320178] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:48 [Error] app/router: observer is nil
2024/12/04 10:31:48 [Error] app/router: observer is nil
2024/12/04 10:31:48 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:48 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:48 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:48 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:48 [Info] [355702893] app/dispatcher: taking detour [backup-cft-ws] for [tcp:i.ytimg.com:443]
2024/12/04 10:31:48 [Info] [226285901] app/dispatcher: taking detour [backup-cft-ws] for [tcp:i.ytimg.com:443]
2024/12/04 10:31:48 [Info] [226285901] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:48 [Info] [355702893] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:48 [Info] [226285901] proxy/vless/outbound: tunneling request to tcp:i.ytimg.com:443 via ip:443
2024/12/04 10:31:48 [Info] [355702893] proxy/vless/outbound: tunneling request to tcp:i.ytimg.com:443 via ip:443
2024/12/04 10:31:48 [Debug] [226285901] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:48 [Debug] [355702893] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:48 [Info] [4037014874] proxy/socks: TCP Connect request to tcp:yt3.ggpht.com:443
2024/12/04 10:31:48 [Error] app/router: observer is nil
2024/12/04 10:31:48 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:48 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:48 [Info] [382972170] app/dispatcher: taking detour [backup-cft-ws] for [tcp:yt3.ggpht.com:443]
2024/12/04 10:31:48 [Info] [382972170] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:48 [Info] [382972170] proxy/vless/outbound: tunneling request to tcp:yt3.ggpht.com:443 via ip:443
2024/12/04 10:31:48 [Debug] [382972170] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:48 [Error] app/router: observer is nil
2024/12/04 10:31:48 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:48 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:48 [Info] [4037014874] app/dispatcher: taking detour [backup-cft-ws] for [tcp:yt3.ggpht.com:443]
2024/12/04 10:31:48 [Info] [4037014874] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:48 [Info] [4037014874] proxy/vless/outbound: tunneling request to tcp:yt3.ggpht.com:443 via ip:443
2024/12/04 10:31:48 [Debug] [4037014874] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:48 [Info] [639232254] proxy/socks: TCP Connect request to tcp:yt3.ggpht.com:443
2024/12/04 10:31:48 [Error] app/router: observer is nil
2024/12/04 10:31:48 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:48 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:48 [Info] [639232254] app/dispatcher: taking detour [backup-cft-ws] for [tcp:yt3.ggpht.com:443]
2024/12/04 10:31:48 [Info] [639232254] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:48 [Info] [639232254] proxy/vless/outbound: tunneling request to tcp:yt3.ggpht.com:443 via ip:443
2024/12/04 10:31:48 [Debug] [639232254] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:50 [Info] [639232254] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP request > read tcp 192.168.2.2:10810->192.168.2.111:45196: read: connection reset by peer
2024/12/04 10:31:51 [Info] [1184320178] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:31:51 [Info] [382972170] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:31:51 [Info] [1623737557] proxy/socks: TCP Connect request to tcp:jnn-pa.googleapis.com:443
2024/12/04 10:31:51 [Error] app/router: observer is nil
2024/12/04 10:31:51 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:51 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:51 [Info] [1623737557] app/dispatcher: taking detour [backup-cft-ws] for [tcp:jnn-pa.googleapis.com:443]
2024/12/04 10:31:51 [Info] [1623737557] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:51 [Info] [1623737557] proxy/vless/outbound: tunneling request to tcp:jnn-pa.googleapis.com:443 via ip:443
2024/12/04 10:31:51 [Debug] [1623737557] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:51 [Info] [2113247342] proxy/socks: TCP Connect request to tcp:rr5---sn-5uh5o-f5fk.googlevideo.com:443
2024/12/04 10:31:51 [Info] [1749025204] proxy/socks: TCP Connect request to tcp:rr5---sn-5uh5o-f5fk.googlevideo.com:443
2024/12/04 10:31:51 [Error] app/router: observer is nil
2024/12/04 10:31:51 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:51 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:51 [Info] [2113247342] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr5---sn-5uh5o-f5fk.googlevideo.com:443]
2024/12/04 10:31:51 [Info] [2113247342] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:51 [Info] [2113247342] proxy/vless/outbound: tunneling request to tcp:rr5---sn-5uh5o-f5fk.googlevideo.com:443 via ip:443
2024/12/04 10:31:51 [Error] app/router: observer is nil
2024/12/04 10:31:51 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:51 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:51 [Info] [1749025204] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr5---sn-5uh5o-f5fk.googlevideo.com:443]
2024/12/04 10:31:51 [Debug] [2113247342] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:51 [Info] [1749025204] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:51 [Info] [1749025204] proxy/vless/outbound: tunneling request to tcp:rr5---sn-5uh5o-f5fk.googlevideo.com:443 via ip:443
2024/12/04 10:31:51 [Debug] [1749025204] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:53 [Info] [226285901] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:31:54 [Info] [3111586131] proxy/socks: TCP Connect request to tcp:rr1---sn-f5f7knee.googlevideo.com:443
2024/12/04 10:31:54 [Info] [3769364810] proxy/socks: TCP Connect request to tcp:rr1---sn-f5f7knee.googlevideo.com:443
2024/12/04 10:31:54 [Error] app/router: observer is nil
2024/12/04 10:31:54 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:54 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:54 [Info] [3111586131] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr1---sn-f5f7knee.googlevideo.com:443]
2024/12/04 10:31:54 [Info] [3111586131] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:54 [Info] [3111586131] proxy/vless/outbound: tunneling request to tcp:rr1---sn-f5f7knee.googlevideo.com:443 via ip:443
2024/12/04 10:31:54 [Debug] [3111586131] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:54 [Error] app/router: observer is nil
2024/12/04 10:31:54 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:54 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:54 [Info] [3769364810] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr1---sn-f5f7knee.googlevideo.com:443]
2024/12/04 10:31:54 [Info] [3769364810] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:54 [Info] [3769364810] proxy/vless/outbound: tunneling request to tcp:rr1---sn-f5f7knee.googlevideo.com:443 via ip:443
2024/12/04 10:31:54 [Debug] [3769364810] transport/internet: dialing to tcp:ip:443
2024/12/04 10:31:56 [Info] [520014089] proxy/socks: TCP Connect request to tcp:rr3---sn-4g5e6nsy.googlevideo.com:443
2024/12/04 10:31:56 [Error] app/router: observer is nil
2024/12/04 10:31:56 [Info] app/router: least load: no qualified outbound
2024/12/04 10:31:56 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:31:56 [Info] [520014089] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr3---sn-4g5e6nsy.googlevideo.com:443]
2024/12/04 10:31:56 [Info] [520014089] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:31:56 [Info] [520014089] proxy/vless/outbound: tunneling request to tcp:rr3---sn-4g5e6nsy.googlevideo.com:443 via ip:443
2024/12/04 10:31:56 [Debug] [520014089] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:01 [Info] [3769364810] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP request > read tcp 192.168.2.2:10810->192.168.2.111:49390: read: connection reset by peer
2024/12/04 10:32:02 [Info] [1593606484] proxy/socks: TCP Connect request to tcp:rr7---sn-5uh5o-f5fk.googlevideo.com:443
2024/12/04 10:32:02 [Info] [2831616574] proxy/socks: TCP Connect request to tcp:rr7---sn-5uh5o-f5fk.googlevideo.com:443
2024/12/04 10:32:02 [Error] app/router: observer is nil
2024/12/04 10:32:02 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:02 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:02 [Info] [1593606484] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr7---sn-5uh5o-f5fk.googlevideo.com:443]
2024/12/04 10:32:02 [Info] [1593606484] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:02 [Info] [1593606484] proxy/vless/outbound: tunneling request to tcp:rr7---sn-5uh5o-f5fk.googlevideo.com:443 via ip:443
2024/12/04 10:32:02 [Debug] [1593606484] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:02 [Error] app/router: observer is nil
2024/12/04 10:32:02 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:02 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:02 [Info] [2831616574] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr7---sn-5uh5o-f5fk.googlevideo.com:443]
2024/12/04 10:32:02 [Info] [2831616574] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:02 [Info] [2831616574] proxy/vless/outbound: tunneling request to tcp:rr7---sn-5uh5o-f5fk.googlevideo.com:443 via ip:443
2024/12/04 10:32:02 [Debug] [2831616574] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:04 [Info] [4198654056] proxy/socks: TCP Connect request to tcp:rr3---sn-f5f7knee.googlevideo.com:443
2024/12/04 10:32:04 [Error] app/router: observer is nil
2024/12/04 10:32:04 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:04 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:04 [Info] [4198654056] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr3---sn-f5f7knee.googlevideo.com:443]
2024/12/04 10:32:04 [Info] [4198654056] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:04 [Info] [4198654056] proxy/vless/outbound: tunneling request to tcp:rr3---sn-f5f7knee.googlevideo.com:443 via ip:443
2024/12/04 10:32:04 [Debug] [4198654056] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:11 [Info] [2293323335] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to transfer response payload > websocket: close 1006 (abnormal closure): unexpected EOF
2024/12/04 10:32:11 [Info] [2293323335] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
2024/12/04 10:32:17 [Info] [3632937285] proxy/socks: TCP Connect request to tcp:alive.github.com:443
2024/12/04 10:32:17 [Error] app/router: observer is nil
2024/12/04 10:32:17 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:17 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:17 [Info] [3632937285] app/dispatcher: taking detour [backup-cft-ws] for [tcp:alive.github.com:443]
2024/12/04 10:32:17 [Info] [3632937285] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:17 [Info] [3632937285] proxy/vless/outbound: tunneling request to tcp:alive.github.com:443 via ip:443
2024/12/04 10:32:17 [Debug] [3632937285] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:21 [Info] [1593606484] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP request > read tcp 192.168.2.2:10810->192.168.2.111:48292: read: connection reset by peer
2024/12/04 10:32:22 [Info] [3650249159] proxy/socks: TCP Connect request to tcp:rr2---sn-5uh5o-f5fk.googlevideo.com:443
2024/12/04 10:32:22 [Error] app/router: observer is nil
2024/12/04 10:32:22 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:22 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:22 [Info] [3650249159] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr2---sn-5uh5o-f5fk.googlevideo.com:443]
2024/12/04 10:32:22 [Info] [3650249159] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:22 [Info] [3650249159] proxy/vless/outbound: tunneling request to tcp:rr2---sn-5uh5o-f5fk.googlevideo.com:443 via ip:443
2024/12/04 10:32:22 [Info] [3320929541] proxy/socks: TCP Connect request to tcp:rr2---sn-5uh5o-f5fk.googlevideo.com:443
2024/12/04 10:32:22 [Debug] [3650249159] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:22 [Error] app/router: observer is nil
2024/12/04 10:32:22 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:22 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:22 [Info] [3320929541] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr2---sn-5uh5o-f5fk.googlevideo.com:443]
2024/12/04 10:32:22 [Info] [3320929541] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:22 [Info] [3320929541] proxy/vless/outbound: tunneling request to tcp:rr2---sn-5uh5o-f5fk.googlevideo.com:443 via ip:443
2024/12/04 10:32:22 [Debug] [3320929541] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:24 [Info] [3084841939] proxy/socks: TCP Connect request to tcp:rr4---sn-f5f7lnl7.googlevideo.com:443
2024/12/04 10:32:24 [Error] app/router: observer is nil
2024/12/04 10:32:24 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:24 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:24 [Info] [3084841939] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr4---sn-f5f7lnl7.googlevideo.com:443]
2024/12/04 10:32:24 [Info] [3084841939] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:24 [Info] [3084841939] proxy/vless/outbound: tunneling request to tcp:rr4---sn-f5f7lnl7.googlevideo.com:443 via ip:443
2024/12/04 10:32:24 [Debug] [3084841939] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:24 [Info] [3688795068] proxy/socks: TCP Connect request to tcp:rr4---sn-f5f7lnl7.googlevideo.com:443
2024/12/04 10:32:24 [Error] app/router: observer is nil
2024/12/04 10:32:24 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:24 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:24 [Info] [3688795068] app/dispatcher: taking detour [backup-cft-ws] for [tcp:rr4---sn-f5f7lnl7.googlevideo.com:443]
2024/12/04 10:32:24 [Info] [3688795068] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:24 [Info] [3688795068] proxy/vless/outbound: tunneling request to tcp:rr4---sn-f5f7lnl7.googlevideo.com:443 via ip:443
2024/12/04 10:32:24 [Debug] [3688795068] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:41 [Info] [2415863153] proxy/socks: TCP Connect request to tcp:play.google.com:443
2024/12/04 10:32:41 [Info] [988877472] proxy/socks: TCP Connect request to tcp:play.google.com:443
2024/12/04 10:32:41 [Error] app/router: observer is nil
2024/12/04 10:32:41 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:41 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:41 [Info] [2415863153] app/dispatcher: taking detour [backup-cft-ws] for [tcp:play.google.com:443]
2024/12/04 10:32:41 [Error] app/router: observer is nil
2024/12/04 10:32:41 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:41 [Info] [2415863153] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:41 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:41 [Info] [988877472] app/dispatcher: taking detour [backup-cft-ws] for [tcp:play.google.com:443]
2024/12/04 10:32:41 [Info] [2415863153] proxy/vless/outbound: tunneling request to tcp:play.google.com:443 via ip:443
2024/12/04 10:32:41 [Info] [988877472] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:41 [Info] [988877472] proxy/vless/outbound: tunneling request to tcp:play.google.com:443 via ip:443
2024/12/04 10:32:41 [Debug] [2415863153] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:41 [Debug] [988877472] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:41 [Info] [3728015807] proxy/socks: TCP Connect request to tcp:play.google.com:443
2024/12/04 10:32:41 [Error] app/router: observer is nil
2024/12/04 10:32:41 [Info] app/router: least load: no qualified outbound
2024/12/04 10:32:41 [Info] app/router: fallback to [backup-cft-ws], due to empty tag returned
2024/12/04 10:32:41 [Info] [3728015807] app/dispatcher: taking detour [backup-cft-ws] for [tcp:play.google.com:443]
2024/12/04 10:32:41 [Info] [3728015807] transport/internet/websocket: creating connection to tcp:ip:443
2024/12/04 10:32:41 [Info] [3728015807] proxy/vless/outbound: tunneling request to tcp:play.google.com:443 via ip:443
2024/12/04 10:32:41 [Debug] [3728015807] transport/internet: dialing to tcp:ip:443
2024/12/04 10:32:41 [Info] [3084841939] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > writev tcp 192.168.2.2:10810->192.168.2.111:40600: writev: broken pipe
2024/12/04 10:32:43 [Info] [2415863153] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:45 [Info] [3728015807] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [3650249159] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [2907476427] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [3111586131] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [3688795068] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [2181454192] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [1623737557] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [282307444] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [362391847] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [2831616574] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [1749025204] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [4037014874] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [1544492158] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [2905079491] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [868075210] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [1834284799] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [4198654056] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [520014089] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [988877472] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2024/12/04 10:32:54 [Info] [355702893] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled

不生效,空返回,一直回落到备用节点

@yuhan6665
Copy link
Member Author

好吧 我回头再改下

@yuhan6665
Copy link
Member Author

发现是 *ray 的一个老问题:一直以来 DI 的模块必须遵循一个启动顺序 router 模块启动的时候还没有 observer 所以失败了 现在加了一个 Async DI 以后可以不需要关注启动顺序了 274bbc7
@o0HalfLife0o 麻烦再试下

@o0HalfLife0o
Copy link
Contributor

error.log

看日志似乎没有什么变化,依然还是启动就全部测试失败,回落到备用,等了7分钟,1个测试周期都过去了依然回落到备用

@yuhan6665
Copy link
Member Author

yuhan6665 commented Dec 9, 2024

@o0HalfLife0o 你确定用了这个 https://github.com/XTLS/Xray-core/actions/runs/12226583682
我这边测试已经没有 “observer is nil” 这个错误日志了

@o0HalfLife0o
Copy link
Contributor

o0HalfLife0o commented Dec 10, 2024

@o0HalfLife0o 你确定用了这个 https://github.com/XTLS/Xray-core/actions/runs/12226583682 ? 我这边测试已经没有 “observer is nil” 这个错误日志了

刚刚重新下载对比了下版本号,没有错的

Xray 24.11.30 (Xray, Penetrates Everything.) 65a3c77 (go1.23.4 linux/arm64)
A unified platform for anti-censorship.

@yuhan6665
Copy link
Member Author

@o0HalfLife0o 加点日志看看是哪里出问题了 https://github.com/XTLS/Xray-core/actions/runs/12257300053

@o0HalfLife0o
Copy link
Contributor

@o0HalfLife0o 加点日志看看是哪里出问题了 https://github.com/XTLS/Xray-core/actions/runs/12257300053

error-xh.log
error-ws.log
更新到这个版本好了,log估计也看不出问题

@yuhan6665
Copy link
Member Author

@o0HalfLife0o 感谢测试!应该没问题了

@o0HalfLife0o
Copy link
Contributor

o0HalfLife0o commented Dec 10, 2024

@o0HalfLife0o 感谢测试!应该没问题了

error.log
revert后的版本 https://github.com/XTLS/Xray-core/actions/runs/12260164916 又出现了,好奇怪的问题,只是debug显示更多内容就正常了

It is said these log help resolve an issue
#4095
@yuhan6665
Copy link
Member Author

感觉哪里不对但是你说有 log 可以就先加上吧。。

This reverts commit ce241cb.
@o0HalfLife0o
Copy link
Contributor

o0HalfLife0o commented Dec 10, 2024

感觉哪里不对但是你说有 log 可以就先加上吧。。

https://github.com/XTLS/Xray-core/actions/runs/12260440947
新的加上log的版本现在也出现了,但是我注意到log里,刚刚正常的时候没有
core: RequireFeaturesAsync failed after count 1001
error-xh.log
error-ws.log

@yuhan6665
Copy link
Member Author

我也注意到了 原来问题是 ray 的 injection 速度超过我想象的慢 ;)
我的设备比较快所以这解释了我永远复现不了这个问题
你试一下 100 秒总可以了吧。。

@o0HalfLife0o
Copy link
Contributor

最新 https://github.com/XTLS/Xray-core/actions/runs/12260640616 目前看是没问题了,我放在路由器n1上测试的,性能可能比不上最新的路由器芯片,但是应该不会太糟糕

@yuhan6665
Copy link
Member Author

yeah I guessed you must be using a router device. That's good as we need to make sure it works in all kinds of environment. Thanks again!

@RPRX
Copy link
Member

RPRX commented Dec 10, 2024

#3338 这个问题也被修复了吗

@yuhan6665
Copy link
Member Author

#3338 这个问题也被修复了吗

有可能 需要原po测试

@RPRX
Copy link
Member

RPRX commented Dec 10, 2024

@yuhan6665 看下这个 #4149 ,快的话我们能发一版 v24.12.11 或 v25.0.11

@RPRX RPRX changed the title Fix memory leak with RequireFeatures() Core: Fix memory leaks with RequireFeatures() Dec 11, 2024
@RPRX RPRX merged commit 0e2304c into main Dec 11, 2024
36 checks passed
@RPRX RPRX deleted the memory branch December 11, 2024 01:07
@RPRX
Copy link
Member

RPRX commented Dec 11, 2024

Thanks a lot!

@o0HalfLife0o
Copy link
Contributor

o0HalfLife0o commented Dec 11, 2024

@yuhan6665 @RPRX 这个pr在freebsd amd64上启动失败,提示

Xray 24.11.30 (Xray, Penetrates Everything.) 0e2304c (go1.23.4 freebsd/amd64)
A unified platform for anti-censorship.
Failed to start: main: failed to create server > core: not all dependencies are resolved.

我刚刚本来是在服务端更新最新commit结果遇到这个问题,于是一个个commit回退测试出来的

@yuhan6665
Copy link
Member Author

感谢报告 重开一个issue 发完整日志我看一下

@o0HalfLife0o
Copy link
Contributor

感谢报告 重开一个issue 发完整日志我看一下

#4155

zxspirit pushed a commit to zxspirit/Xray-core that referenced this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants