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

AdGuardHome_template模板中的neoHosts链接失效 #115

Open
2 tasks done
haswelliris opened this issue Jan 1, 2021 · 0 comments
Open
2 tasks done

AdGuardHome_template模板中的neoHosts链接失效 #115

haswelliris opened this issue Jan 1, 2021 · 0 comments

Comments

@haswelliris
Copy link

  • 我用着最新版的 luci-app-adguardhome
  • 我检查了没有人提交同样的问题

问题详细信息

希望的执行结果

启用neoHosts过滤

实际的执行结果

配置中的url已经失效,无法更新

日志(重要)

2021/01/01 13:46:42 [info] Failed to update filter https://hosts.nfz.moe/full/hosts: Get "https://hosts.nfz.moe/full/hosts": x509: certificate is valid for *.netlify.com, netlify.com, not hosts.nfz.moe
2021/01/01 13:46:42 [error] os.Chtimes(): chtimes /usr/bin/AdGuardHome/data/filters/1575618240.txt: no such file or directory
2021/01/01 13:46:42 [info] Couldn't request filter from URL https://hosts.nfz.moe/full/hosts, skipping: Get "https://hosts.nfz.moe/full/hosts": x509: certificate is valid for *.netlify.com, netlify.com, not hosts.nfz.moe

更多的信息

修复:
修改root/usr/share/AdGuardHome/AdGuardHome_template.yaml中关于newHosts的8行:

- enabled: false
  url: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/full/hosts.txt
  name: neoHosts full
  id: 1575618240
- enabled: false
  url: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/basic/hosts.txt
  name: neoHosts basic
  id: 1575618241
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

No branches or pull requests

1 participant