sub-store-org / Sub-Store

Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket!
https://www.notion.so/Sub-Store-6259586994d34c11a4ced5c406264b46
GNU Affero General Public License v3.0
4.67k stars 523 forks source link

检测脚本使用问题 #294

Closed jockstrap1044 closed 3 months ago

jockstrap1044 commented 3 months ago
[sub-store] INFO: 使用 GET 方法获取流量信息: https://sub.5112233.xyz/auto
[INTERVAL] check PID: 7
[sub-store] INFO: 正在更新订阅: 1
[sub-store] INFO: 正在下载订阅:1
[sub-store] INFO: 使用缓存: https://sub.5112233.xyz/auto
[sub-store] INFO: Pre-processor [Clash Pre-processor] activated
[sub-store] INFO: Clash Parser is activated
[sub-store] INFO: Applying "Quick Setting Operator" with arguments:
 >>> {
  "useless": "DISABLED",
  "udp": "DEFAULT",
  "scert": "DEFAULT",
  "tfo": "DEFAULT",
  "vmess aead": "DEFAULT"
}
[sub-store] INFO: 使用缓存: https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_gpt.js
[sub-store] INFO: Applying "Script Operator" with arguments:
 >>> {
  "content": "https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_gpt.js#timeout=1000&retries=1&retry_delay=1000&concurrency=10&client=iOS&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000",
  "mode": "link"
}
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: 核心支持节点数: 52/52
[META] STARTED
[PID] 458
[CONFIG] /tmp/http-meta.blFDlHT96oDiW4VZieHKR.yaml
[LOG] /tmp/http-meta.blFDlHT96oDiW4VZieHKR.log

[sub-store] INFO: 
======== HTTP META 启动 ====
[端口] 65535,65534,65533,65532,65531,65530,65529,65528,65527,65526,65525,65524,65523,65522,65521,65520,65519,65518,65517,65516,65515,65514,65513,65512,65511,65510,65509,65508,65507,65506,65505,65504,65503,65502,65501,65500,65499,65498,65497,65496,65495,65494,65493,65492,65491,65490,65489,65488,65487,65486,65485,65484
[PID] 458
[超时] 若未手动关闭 8.716666666666667 分钟后自动关闭

[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65535
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65534
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65533
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65532
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65531
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65530
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65529
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65528
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65527
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65526
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
ps: unrecognized option: p
BusyBox v1.36.1 (2023-11-07 18:53:09 UTC) multi-call binary.

Usage: ps [-o COL1,COL2=HEADER] [-T]

Show list of processes

    -o COL1,COL2=HEADER Select columns for display
    -T          Show threads
[META] STOPPED
[PID] 458
[CONFIG] /tmp/http-meta.blFDlHT96oDiW4VZieHKR.yaml
[LOG] /tmp/http-meta.blFDlHT96oDiW4VZieHKR.log

[sub-store] INFO: 
======== HTTP META 关闭 ====
{
  "statusCode": 200,
  "headers": {
    "content-type": "application/json; charset=utf-8",
    "content-length": "10",
    "date": "Tue, 12 Mar 2024 08:08:14 GMT",
    "connection": "keep-alive",
    "keep-alive": "timeout=5"
  },
  "body": "{\"pid\":[]}"
}
[sub-store] INFO: Producing proxies for target: JSON
[sub-store] INFO: 使用 GET 方法获取流量信息: https://sub.5112233.xyz/auto

这是失败了吗? image 使用脚本

https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_gpt.js#timeout=1000&retries=1&retry_delay=1000&concurrency=10&client=iOS&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000
[sub-store] INFO: 使用 GET 方法获取流量信息: https://sub.5112233.xyz/auto
[sub-store] INFO: 正在下载订阅:1
[sub-store] INFO: 使用缓存: https://sub.5112233.xyz/auto
[sub-store] INFO: Pre-processor [Clash Pre-processor] activated
[sub-store] INFO: Clash Parser is activated
[sub-store] INFO: Applying "Quick Setting Operator" with arguments:
 >>> {
  "useless": "DISABLED",
  "udp": "DEFAULT",
  "scert": "DEFAULT",
  "tfo": "DEFAULT",
  "vmess aead": "DEFAULT"
}
[sub-store] INFO: Downloading...
User-Agent: clash.meta
Timeout: undefined
URL: https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_availability.js
[sub-store] INFO: Applying "Script Operator" with arguments:
 >>> {
  "content": "https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_availability.js#show_latency=true&keep_incompatible=true&status=200&url=http%3A%2F%2Fwww.apple.com%2Flibrary%2Ftest%2Fsuccess.html&timeout=1000&retries=1&retry_delay=1000&concurrency=10&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000",
  "mode": "link"
}
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: 核心支持节点数: 52/52
[META] STARTED
[PID] 475
[CONFIG] /tmp/http-meta.eA1UKPTGxkluRqU7hGHBD.yaml
[LOG] /tmp/http-meta.eA1UKPTGxkluRqU7hGHBD.log

[sub-store] INFO: 
======== HTTP META 启动 ====
[端口] 65535,65534,65533,65532,65531,65530,65529,65528,65527,65526,65525,65524,65523,65522,65521,65520,65519,65518,65517,65516,65515,65514,65513,65512,65511,65510,65509,65508,65507,65506,65505,65504,65503,65502,65501,65500,65499,65498,65497,65496,65495,65494,65493,65492,65491,65490,65489,65488,65487,65486,65485,65484
[PID] 475
[超时] 若未手动关闭 8.716666666666667 分钟后自动关闭

[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65535
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65534
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65533
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65532
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65531
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65530
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65529
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65528
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65527
[sub-store] ERROR: Error: connect ECONNREFUSED 127.0.0.1:65526
[sub-store] INFO: status: 200, latency: 1351
[sub-store] INFO: status: 200, latency: 1430
[sub-store] INFO: status: 200, latency: 1486
[sub-store] INFO: status: 200, latency: 1487
[sub-store] INFO: status: 200, latency: 1487
[sub-store] INFO: status: 200, latency: 1487
[sub-store] INFO: status: 200, latency: 1487
[sub-store] INFO: status: 200, latency: 1488
[sub-store] INFO: status: 200, latency: 1490
[sub-store] INFO: status: 200, latency: 1550
[sub-store] INFO: status: 200, latency: 330
[sub-store] INFO: status: 200, latency: 342
[sub-store] INFO: status: 200, latency: 351
[sub-store] INFO: status: 200, latency: 354
[sub-store] INFO: status: 200, latency: 361
[sub-store] INFO: status: 200, latency: 371
[sub-store] INFO: status: 200, latency: 378
[sub-store] INFO: status: 200, latency: 379
[sub-store] INFO: status: 200, latency: 387
[sub-store] INFO: status: 200, latency: 387
[sub-store] INFO: status: 200, latency: 231
[sub-store] INFO: status: 200, latency: 334
[sub-store] INFO: status: 200, latency: 335
[sub-store] INFO: status: 200, latency: 335
[sub-store] INFO: status: 200, latency: 336
[sub-store] INFO: status: 200, latency: 335
[sub-store] INFO: status: 200, latency: 336
[sub-store] INFO: status: 200, latency: 387
[sub-store] INFO: status: 200, latency: 396
[sub-store] INFO: status: 200, latency: 397
[sub-store] INFO: status: 200, latency: 151
[sub-store] INFO: status: 200, latency: 184
[sub-store] INFO: status: 200, latency: 305
[sub-store] INFO: status: 200, latency: 306
[sub-store] INFO: status: 200, latency: 308
[sub-store] INFO: status: 200, latency: 353
[sub-store] INFO: status: 200, latency: 361
[sub-store] INFO: status: 200, latency: 360
[sub-store] INFO: status: 200, latency: 372
[sub-store] INFO: status: 200, latency: 432
[sub-store] INFO: status: 200, latency: 226
[sub-store] INFO: status: 200, latency: 236
[sub-store] INFO: status: 200, latency: 236
[sub-store] INFO: status: 200, latency: 244
[sub-store] INFO: status: 200, latency: 246
[sub-store] INFO: status: 200, latency: 254
[sub-store] INFO: status: 200, latency: 281
[sub-store] INFO: status: 200, latency: 283
[sub-store] INFO: status: 200, latency: 319
[sub-store] INFO: status: 200, latency: 747
[sub-store] INFO: status: 200, latency: 120
[sub-store] INFO: status: 200, latency: 126
ps: unrecognized option: p
BusyBox v1.36.1 (2023-11-07 18:53:09 UTC) multi-call binary.

Usage: ps [-o COL1,COL2=HEADER] [-T]

Show list of processes

    -o COL1,COL2=HEADER Select columns for display
    -T          Show threads
[META] STOPPED
[PID] 475
[CONFIG] /tmp/http-meta.eA1UKPTGxkluRqU7hGHBD.yaml
[LOG] /tmp/http-meta.eA1UKPTGxkluRqU7hGHBD.log

[sub-store] INFO: 
======== HTTP META 关闭 ====
{
  "statusCode": 200,
  "headers": {
    "content-type": "application/json; charset=utf-8",
    "content-length": "10",
    "date": "Tue, 12 Mar 2024 08:10:17 GMT",
    "connection": "keep-alive",
    "keep-alive": "timeout=5"
  },
  "body": "{\"pid\":[]}"
}
[sub-store] INFO: Producing proxies for target: JSON
[sub-store] INFO: 使用 GET 方法获取流量信息: https://sub.5112233.xyz/auto

换了一个脚本,这个看样子好像成功了?但节点没什么变化?我使用错了吗?

image

使用脚本

https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_availability.js#show_latency=true&keep_incompatible=true&status=200&url=http%3A%2F%2Fwww.apple.com%2Flibrary%2Ftest%2Fsuccess.html&timeout=1000&retries=1&retry_delay=1000&concurrency=10&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000
jockstrap1044 commented 3 months ago

又看了一遍大概弄明白了,检测后会重命名节点,所以节点测活的那个成功了,但GPT检测那个脚本好像不行?

还有

      const status = parseInt(res.status || res.statusCode || 200)
      // $.info(status)
      // 判断响应
      if (status === 403) {
        proxies[proxy._proxies_index].name = `[GPT] ${proxies[proxy._proxies_index].name}`
      }
    } catch (e) {
      $.error(e)
    }

这个判断逻辑是不是反了?是403就加一个GPT?逻辑不应该是不为403的时候加吗

xream commented 3 months ago

@jockstrap1044 403 加是对的, 403 就是没被拦然后走到鉴权了. 比如 cf 地区拦截就会返回 400

xream commented 3 months ago

@jockstrap1044 GPT检测脚本我自己测试是 OK 的, 你可以自己排查一下.

jockstrap1044 commented 3 months ago

@jockstrap1044 GPT检测脚本我自己测试是 OK 的, 你可以自己排查一下.

节点测活成功运行了,证明我的HTTP META应该是没错的吧,GPT检测脚本日志

[sub-store] INFO: Downloading...
User-Agent: clash.meta
Timeout: undefined
URL: https://sub.5112233.xyz/auto
[sub-store] INFO: Pre-processor [Clash Pre-processor] activated
[sub-store] INFO: Clash Parser is activated
[sub-store] INFO: Applying "Quick Setting Operator" with arguments:
 >>> {
  "useless": "DISABLED",
  "udp": "DEFAULT",
  "scert": "DEFAULT",
  "tfo": "DEFAULT",
  "vmess aead": "DEFAULT"
}
[sub-store] INFO: Downloading...
User-Agent: clash.meta
Timeout: undefined
URL: https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_gpt.js
[sub-store] INFO: Applying "Script Operator" with arguments:
 >>> {
  "content": "https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_gpt.js#timeout=1000&retries=1&retry_delay=1000&concurrency=10&client=iOS&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000",
  "mode": "link"
}
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: 核心支持节点数: 52/52
[META] STARTED
[PID] 749
[CONFIG] /tmp/http-meta.roRKYaTO8YLUXjwmF1baZ.yaml
[LOG] /tmp/http-meta.roRKYaTO8YLUXjwmF1baZ.log

[sub-store] INFO: 
======== HTTP META 启动 ====
[端口] 65535,65534,65533,65532,65531,65530,65529,65528,65527,65526,65525,65524,65523,65522,65521,65520,65519,65518,65517,65516,65515,65514,65513,65512,65511,65510,65509,65508,65507,65506,65505,65504,65503,65502,65501,65500,65499,65498,65497,65496,65495,65494,65493,65492,65491,65490,65489,65488,65487,65486,65485,65484
[PID] 749
[超时] 若未手动关闭 8.716666666666667 分钟后自动关闭

[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65535
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65534
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65533
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65532
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65531
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65530
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65529
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65528
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65527
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65526
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[INTERVAL] check PID: 749
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: HEAD URL: https://ios.chat.openai.com exceeds the timeout 1000 ms
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: HEAD URL: https://ios.chat.openai.com exceeds the timeout 1000 ms
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
ps: unrecognized option: p
BusyBox v1.36.1 (2023-11-07 18:53:09 UTC) multi-call binary.

Usage: ps [-o COL1,COL2=HEADER] [-T]

Show list of processes

    -o COL1,COL2=HEADER Select columns for display
    -T          Show threads
[META] STOPPED
[PID] 749
[CONFIG] /tmp/http-meta.roRKYaTO8YLUXjwmF1baZ.yaml
[LOG] /tmp/http-meta.roRKYaTO8YLUXjwmF1baZ.log

[sub-store] INFO: 
======== HTTP META 关闭 ====
{
  "statusCode": 200,
  "headers": {
    "content-type": "application/json; charset=utf-8",
    "content-length": "10",
    "date": "Tue, 12 Mar 2024 09:08:49 GMT",
    "connection": "keep-alive",
    "keep-alive": "timeout=5"
  },
  "body": "{\"pid\":[]}"
}
xream commented 3 months ago

@jockstrap1044 可能是 timeout 设的太小了, 全超时了. 你可以先把参数改改

jockstrap1044 commented 3 months ago

@jockstrap1044 可能是 timeout 设的太小了, 全超时了. 你可以先把参数改改

https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_gpt.js#timeout=5000&retries=1&retry_delay=1000&concurrency=10&client=iOS&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000

已经改成 timeout=5000 还是不行,日志

[sub-store] INFO: 使用 GET 方法获取流量信息: https://sub.5112233.xyz/auto
[sub-store] INFO: 使用缓存: https://sub.5112233.xyz/auto
[sub-store] INFO: Pre-processor [Clash Pre-processor] activated
[sub-store] INFO: Clash Parser is activated
[sub-store] INFO: Applying "Quick Setting Operator" with arguments:
 >>> {
  "useless": "DISABLED",
  "udp": "DEFAULT",
  "scert": "DEFAULT",
  "tfo": "DEFAULT",
  "vmess aead": "DEFAULT"
}
[sub-store] INFO: 使用缓存: https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_gpt.js
[sub-store] INFO: Applying "Script Operator" with arguments:
 >>> {
  "content": "https://raw.githubusercontent.com/xream/scripts/main/surge/modules/sub-store-scripts/check/http_meta_gpt.js#timeout=5000&retries=1&retry_delay=1000&concurrency=10&client=iOS&http_meta_protocol=http&http_meta_host=127.0.0.1&http_meta_port=9876&http_meta_start_delay=3000&http_meta_proxy_timeout=10000",
  "mode": "link"
}
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: Producing proxies for target: ClashMeta
[sub-store] INFO: 核心支持节点数: 52/52
[META] STARTED
[PID] 783
[CONFIG] /tmp/http-meta.5KwItoIvV1vhNz8mbEMkP.yaml
[LOG] /tmp/http-meta.5KwItoIvV1vhNz8mbEMkP.log

[sub-store] INFO: 
======== HTTP META 启动 ====
[端口] 65535,65534,65533,65532,65531,65530,65529,65528,65527,65526,65525,65524,65523,65522,65521,65520,65519,65518,65517,65516,65515,65514,65513,65512,65511,65510,65509,65508,65507,65506,65505,65504,65503,65502,65501,65500,65499,65498,65497,65496,65495,65494,65493,65492,65491,65490,65489,65488,65487,65486,65485,65484
[PID] 783
[超时] 若未手动关闭 8.716666666666667 分钟后自动关闭

[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65535
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65534
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65533
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65532
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65531
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65530
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65529
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65528
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65527
[sub-store] ERROR: Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:65526
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')
ps: unrecognized option: p
BusyBox v1.36.1 (2023-11-07 18:53:09 UTC) multi-call binary.

Usage: ps [-o COL1,COL2=HEADER] [-T]

Show list of processes

    -o COL1,COL2=HEADER Select columns for display
    -T          Show threads
[META] STOPPED
[PID] 783
[CONFIG] /tmp/http-meta.5KwItoIvV1vhNz8mbEMkP.yaml
[LOG] /tmp/http-meta.5KwItoIvV1vhNz8mbEMkP.log

[sub-store] INFO: 
======== HTTP META 关闭 ====
{
  "statusCode": 200,
  "headers": {
    "content-type": "application/json; charset=utf-8",
    "content-length": "10",
    "date": "Tue, 12 Mar 2024 09:13:00 GMT",
    "connection": "keep-alive",
    "keep-alive": "timeout=5"
  },
  "body": "{\"pid\":[]}"
}
jockstrap1044 commented 3 months ago

始终是报

[sub-store] ERROR: Error: Client network socket disconnected before secure TLS connection was established
[sub-store] ERROR: TypeError: Cannot read properties of undefined (reading 'status')

整不明白了

xream commented 3 months ago

我觉得你有点那啥了 真实情况就是没有一个节点支持 GPT

xream commented 3 months ago

你可以尝试使用别的免费节点测试 比如 https://mareep.netlify.app/sub/merged_proxies_new.yaml#noFlow 可以测出有结果 image

jockstrap1044 commented 3 months ago

你可以尝试使用别的免费节点测试 比如 https://mareep.netlify.app/sub/merged_proxies_new.yaml#noFlow 可以测出有结果 image

好吧,今日份笑料😂小丑是我自己🤡,折腾半天弄懵了,没想过这个可能,以为是部署出错了🤡🤡🤡