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

geo配置无法加载完整 #787

Open
5 of 6 tasks
ttyy33 opened this issue Apr 16, 2024 · 4 comments
Open
5 of 6 tasks

geo配置无法加载完整 #787

ttyy33 opened this issue Apr 16, 2024 · 4 comments
Labels
C: Backend T: Feature New feature or request

Comments

@ttyy33
Copy link

ttyy33 commented Apr 16, 2024

复现步骤 / Step to reproduce

config.yaml里的配置文件如下:
geodata-mode: true
geox-url:
geosite: "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat"
geodata-loader: standard
geo-auto-update: true #
geo-update-interval: 4

查看运行配置如下:
geox-url:
geosite: https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
geodata-mode: true

查看日志发现:Geodata Loader mode: memconservative

运行配置只有geox-url和geodate-mode这两个选项,没有geodata-loaader、geo-auto-update、geo-update-interval这些选项

预期行为 / Expected behaviour

运行配置不仅有geox-url和geodate-mode这两个设置,也要有geodata-loaader、geo-auto-update、geo-update-interval这些选项

实际行为 / Actual Behaviour

配置文件
image

运行配置
image

应用日志 / App logs

No response

备注 / Addition details

No response

Clash Nyanpasu 版本号 / Clash Nyanpasu

1.5.1

Clash 核心及其版本号 / Clash core and version

v1.18.3 Meta

是否为 Pre-release / Is pre-release version

操作系统及版本 / OS version

Microsoft Windows [版本 10.0.19044.4046]

自查步骤 / Verify steps

  • 如果您有足够的时间和能力,并愿意为此提交 PR ,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
  • 您已知悉如果没有提供正确的系统信息,以及日记,您的 Issue 会直接被关闭 / You have known that if you don't provide correct system information and logs, your issue will be closed directly
  • 您已仔细查看并知情 Q&AFAQ 中的内容 / You have read and understood the contents of Q&A and FAQ.
  • 您已搜索过 Issue Tracker,没有找到类似内容 / I have searched on Issue Tracker, No duplicate or related open issue has been found
  • 您确保这个 Issue 只提及一个问题。如果您有多个问题报告,烦请发起多个 Issue / Ensure there is only one bug report in this issue. Please make mutiply issue for mutiply bugs
  • 您确保已使用最新 Pre-release 版本测试,并且该问题在最新 Pre-release 版本中并未解决 / This bug have not solved in latest Pre-release version
@ttyy33 ttyy33 added S: Untriaged T: Bug Something isn't working labels Apr 16, 2024
@greenhat616
Copy link
Collaborator

请在 Clash 字段里勾选这些选项:
image

我们计划在 1.6.0 中添加关闭字段过滤的选项,维护白名单肯定是不及时的,Clash Meta 新增字段还是蛮频繁的。 cc @keiko233 @4o3F

@ttyy33
Copy link
Author

ttyy33 commented Apr 17, 2024

请在 Clash 字段里勾选这些选项: image

我们计划在 1.6.0 中添加关闭字段过滤的选项,维护白名单肯定是不及时的,Clash Meta 新增字段还是蛮频繁的。 cc @keiko233 @4o3F

勾选过了,本来就勾选过了这两个选项,无法正常加载geo的所有配置。有些第三方的geosite(https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download)是在维护的,每天在更新的

@greenhat616
Copy link
Collaborator

哦,你是说缺少后面三个字段是吧。这是 Feature 不是 bug,Clash Meta 新增字段我们是不知道,这也是隔壁 Verge Rev 砍掉白名单模式的原因——每次新增了字段都会导致不兼容。

@keiko233 @4o3F cc 这几天有空的话,新增一下这三个字段吧。

我们未来会通过 Manifest v2、或者自定义 URL 提供 geoip 的更新支持:#49

@greenhat616 greenhat616 reopened this Apr 17, 2024
@greenhat616 greenhat616 added T: Feature New feature or request C: Backend and removed T: Bug Something isn't working S: Untriaged labels Apr 17, 2024
@keiko233
Copy link
Collaborator

keiko233 commented Apr 17, 2024

哦,你是说缺少后面三个字段是吧。这是 Feature 不是 bug,Clash Meta 新增字段我们是不知道,这也是隔壁 Verge Rev 砍掉白名单模式的原因——每次新增了字段都会导致不兼容。

@keiko233 @4o3F cc 这几天有空的话,新增一下这三个字段吧。

我们未来会通过 Manifest v2、或者自定义 URL 提供 geoip 的更新支持:#49

计划将写一个脚本自动生成字段,或者如果有其他更好的方案

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Backend T: Feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants