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

Clash转换报错 -- Template render failed! #216

Closed
am1006 opened this issue Jul 20, 2020 · 10 comments
Closed

Clash转换报错 -- Template render failed! #216

am1006 opened this issue Jul 20, 2020 · 10 comments

Comments

@am1006
Copy link

am1006 commented Jul 20, 2020

在请求 http://127.0.0.1:25500/sub?target=clash&url=https%3A...... 之后,得到:

Template render failed! Reason: [inja.exception.render_error] (at 9:7) variable 'request.clash.dns' not found

仔细查了所有issue,发现之前没有人碰到过这个情况。Google了也没有得到答案。我使用的是docker环境,直接pull的,没有任何更改。

感谢任何帮助!

@am1006
Copy link
Author

am1006 commented Jul 20, 2020

Follow up: 测试了surge作为target,是正常的。

@tindy2013
Copy link
Owner

@am1006 latest tag 中部分功能可能出现了问题 可以先使用 0.5.1 tag

@am1006
Copy link
Author

am1006 commented Jul 20, 2020

好的!我今晚再测试下,看看能从log里找到什么。
真的很感谢!

@Snowflake-Pink
Copy link

@am1006 latest tag 中部分功能可能出现了问题 可以先使用 0.5.1 tag

相同问题,顺便想问下现在支持旧 Clash 转新 Clash 配置文件格式的功能吗?@

@testforme233
Copy link

@am1006 latest tag 中部分功能可能出现了问题 可以先使用 0.5.1 tag

相同问题,但是今天clash内核更新支持ssr,请问如何使用0.5.1tag使得clash支持ssr

@am1006
Copy link
Author

am1006 commented Jul 23, 2020

我实测 0.6.1 Release 正常使用。建议docker使用者不要直接pull latest。

@hardy-one
Copy link

连接加上&clash.dns=1或者在all_base.tpl删除相关语句,应该可以。

am1006 added a commit to am1006/subconverter that referenced this issue Jul 23, 2020
@Mit2g
Copy link

Mit2g commented Jul 26, 2020

@am1006 latest tag 中部分功能可能出现了问题 可以先使用 0.5.1 tag

相同问题,顺便想问下现在支持旧 Clash 转新 Clash 配置文件格式的功能吗?@

#220
https://github.com/tindy2013/subconverter/releases/tag/v0.6.2 已更新相关

@ztyzbb
Copy link

ztyzbb commented Jul 30, 2020

请问现在是否支持Clash 1.x 版本的配置文件?
breaking changes in 1.0.0

@Mit2g
Copy link

Mit2g commented Jul 30, 2020

请问现在是否支持Clash 1.x 版本的配置文件?
breaking changes in 1.0.0

#duplicate #225 (comment)

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

7 participants