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

最新HP,订阅更新后,URLTest节点删除失败。 #278

Open
8 of 9 tasks
VIKINGYFY opened this issue Feb 1, 2025 · 0 comments
Open
8 of 9 tasks

最新HP,订阅更新后,URLTest节点删除失败。 #278

VIKINGYFY opened this issue Feb 1, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@VIKINGYFY
Copy link

Bug description

更新订阅后,节点名称有变化(🇸🇬 狮城 01 改为 🇸🇬 狮城 01 TR),URLTest节点删除失败,HP停止运行。

Image

Actual behavior

No response

Expected behavior

No response

Steps to reproduce

No response

HomeProxy configuration

config homeproxy 'infra'
option __warning 'DO NOT EDIT THIS SECTION, OR YOU ARE ON YOUR OWN!'
option common_port '22,53,80,143,443,465,853,873,993,995,5222,8080,8443,9418'
option mixed_port '5330'
option redirect_port '5331'
option tproxy_port '5332'
option dns_port '5333'
option tun_name 'singtun0'
option tun_addr4 '172.19.0.1/30'
option tun_addr6 'fdfe:dcba:9876::1/126'
option tun_mtu '9000'
option tun_gso '0'
option table_mark '100'
option self_mark '100'
option tproxy_mark '101'
option tun_mark '102'

config homeproxy 'config'
option main_node 'urltest'
option main_udp_node 'same'
option dns_server 'https://dns.quad9.net/dns-query'
option routing_mode 'bypass_mainland_china'
option routing_port 'common'
option proxy_mode 'redirect_tproxy'
option ipv6_support '1'
option china_dns_server 'https://dns.alidns.com/dns-query'
list main_urltest_nodes 'ca1e6080cd23b6da6c1b59e54e7570d7'
list main_urltest_nodes '33e000aed9de617ecc8c79688e4096f6'
list main_urltest_nodes '7c8f091da2b7920c0922f4009016bd68'
list main_urltest_nodes '2c1a27069c11f40252e1b4a16da51441'

config homeproxy 'control'
option lan_proxy_mode 'disabled'
list wan_proxy_ipv4_ips '91.105.192.0/23'
list wan_proxy_ipv4_ips '91.108.4.0/22'
list wan_proxy_ipv4_ips '91.108.8.0/21'
list wan_proxy_ipv4_ips '91.108.16.0/21'
list wan_proxy_ipv4_ips '91.108.56.0/22'
list wan_proxy_ipv4_ips '95.161.64.0/20'
list wan_proxy_ipv4_ips '149.154.160.0/20'
list wan_proxy_ipv4_ips '185.76.151.0/24'
list wan_proxy_ipv6_ips '2001:67c:4e8::/48'
list wan_proxy_ipv6_ips '2001:b28:f23c::/47'
list wan_proxy_ipv6_ips '2001:b28:f23f::/48'
list wan_proxy_ipv6_ips '2a0a:f280::/32'

config homeproxy 'routing'
option sniff_override '1'
option default_outbound 'direct-out'
option udp_timeout '300'
option bypass_cn_traffic '0'

config homeproxy 'dns'
option dns_strategy 'prefer_ipv4'
option default_server 'default-dns'

config homeproxy 'server'
option enabled '0'
option auto_firewall '0'

config dns_rule 'nodes_domain'
option label 'NodesDomain'
option enabled '1'
option mode 'default'
list outbound 'any-out'
option server 'default-dns'

sing-box configuration

cat: can't open '/var/run/homeproxy/sing-box-c.json': No such file or directory

HomeProxy log

2025-02-01 06:00:16 [SUBSCRIBE] Successfully fetched 10 nodes of total 67 from *********************************************************
2025-02-01 06:00:16 [SUBSCRIBE] Removing node: 🇸🇬 狮城 01.
2025-02-01 06:00:16 [SUBSCRIBE] Removing node: 🇸🇬 狮城 02.
2025-02-01 06:00:16 [SUBSCRIBE] Removing node: 🇸🇬 狮城 03.
2025-02-01 06:00:16 [SUBSCRIBE] Removing node: 🇸🇬 狮城 04.
2025-02-01 06:00:16 [SUBSCRIBE] Removing node: 🇸🇬 狮城 05.
2025-02-01 06:00:16 [SUBSCRIBE] Removing node: 🇸🇬 狮城 06.
2025-02-01 06:00:16 [SUBSCRIBE] Adding node: 🇸🇬 狮城 01 TR.
2025-02-01 06:00:16 [SUBSCRIBE] Adding node: 🇸🇬 狮城 02 TR.
2025-02-01 06:00:16 [SUBSCRIBE] Adding node: 🇸🇬 狮城 03 TR.
2025-02-01 06:00:16 [SUBSCRIBE] Adding node: 🇸🇬 狮城 04 TR.
2025-02-01 06:00:16 [SUBSCRIBE] Adding node: 🇸🇬 狮城 05 TR.
2025-02-01 06:00:16 [SUBSCRIBE] Adding node: 🇸🇬 狮城 06 TR.
2025-02-01 06:00:16 [SUBSCRIBE] Adding node: 🇸🇬 狮城 07 TR.
2025-02-01 06:00:16 [SUBSCRIBE] Adding node: 🇸🇬 狮城 08 TR.
2025-02-01 06:00:16 [SUBSCRIBE] [FATAL ERROR] An error occurred during updating subscriptions:
2025-02-01 06:00:16 [SUBSCRIBE] Reference error: access to undeclared variable node
2025-02-01 06:00:16 [SUBSCRIBE] In arrow function, file /etc/homeproxy/scripts/update_subscriptions.uc, line 577, byte 67:
called from function filter ([C])
called from function main (/etc/homeproxy/scripts/update_subscriptions.uc:581:6)
called from function call ([C])
called from anonymous function (/etc/homeproxy/scripts/update_subscriptions.uc:634:12)

log(sprintf('Node %s is gone, removing from urltest list.', node));
Near here --------------------------------------------------------------------------^

2025-02-01 06:00:16 [SUBSCRIBE] Restarting service...
2025-02-01 06:00:19 [DAEMON] Service stopped.
Type error: attempt to set property on null value
In /etc/homeproxy/scripts/generate_client.uc, line 633, byte 107:

config.outbounds[length(config.outbounds)-1].domain_strategy = (ipv6_support !== '1') ? 'prefer_ipv4' : null;
Near here ------------------------------------------------------------------------------------------------------^

2025-02-01 06:00:20 [DAEMON] Error: failed to generate client configuration.

sing-box log

cat: can't open '/var/run/homeproxy/sing-box-c.log': No such file or directory

OpenWrt/ImmortalWrt release

SNAPSHOT r0-0f2088d

Device

JDCloud RE-CS-03

Additional information

sing-box 1.10.7-r1
luci-app-homeproxy 25.028.48838~8b6b793

Terms

  • I confirm that the HomeProxy I installed is from official source, like GitHub artifacts or official ImmortalWrt opkg feeds.
  • I confirm that the Homeproxy I installed does not contain Clash mode support.
  • I confirm that the version of OpenWrt/ImmortalWrt I installed is >= 23.05.
  • I confirm that I have installed the latest version of HomeProxy and sing-box.
  • I confirm that I have read the sing-box documentation, understand the meaning of all the configuration items I added.
  • I confirm that I have not mixed iptables and nftables rules.
  • I confirm that I have not modified system DNS settings, or enabled any other DNS servers like MosDNS and SmartDNS.
  • I confirm that I have cleared the browser cache.
  • I confirm that I have selected all terms blindly.
@VIKINGYFY VIKINGYFY added the bug Something isn't working label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant