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

无用的引用 导致新版certbot报错 #13

Open
Whads1985 opened this issue Dec 15, 2021 · 6 comments
Open

无用的引用 导致新版certbot报错 #13

Whads1985 opened this issue Dec 15, 2021 · 6 comments

Comments

@Whads1985
Copy link

本次certbot更新后 提示
An unexpected error occurred: pkg_resources.ContextualVersionConflict: (cryptography 36.0.0 (/var/lib/snapd/snap/certbot/1670/lib/python3.8/site-packages), Requirement.parse('cryptography<4,>=2'), {'dns-lexicon'}) Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/tmpsg4ueu0p/log or re-run Certbot with -v for more details.

去掉setup.py里面的 dns-lexicon
以及certbot_dns_aliyun/dns_aliyun.py 引用 from certbot.plugins import dns_common_lexicon
后 我本地测试没啥问题

@alvinhu
Copy link

alvinhu commented Dec 22, 2021

同样的问题,snap 安装的咋办?

@oscxc
Copy link

oscxc commented Feb 3, 2023

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

@tengattack
Copy link
Owner

tengattack commented Feb 5, 2023

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

最后一次是指 b3472d9 这个吗?应该这个 commit 是修复了这个问题才对,能看下你的 certbot 版本吗

@oscxc
Copy link

oscxc commented Feb 8, 2023

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

最后一次是指 b3472d9 这个吗?应该这个 commit 是修复了这个问题才对,能看下你的 certbot 版本吗

哦,现在用的是 certbot 2.2.0版本,以前用的应该是1.0版本,难道这个插件只支持1.0,不过无所谓了,我现在使用 --manual + hook 的方式了,不再依赖插件了自己写个脚本就ok。不过我觉得你最好能跟着官方及时更新一下,他们已经提了2次Pull Request

@zmlgit
Copy link

zmlgit commented Feb 20, 2023

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

最后一次是指 b3472d9 这个吗?应该这个 commit 是修复了这个问题才对,能看下你的 certbot 版本吗

哦,现在用的是 certbot 2.2.0版本,以前用的应该是1.0版本,难道这个插件只支持1.0,不过无所谓了,我现在使用 --manual + hook 的方式了,不再依赖插件了自己写个脚本就ok。不过我觉得你最好能跟着官方及时更新一下,他们已经提了2次Pull Request

求详细教程

@oscxc
Copy link

oscxc commented Feb 20, 2023

snap 安装报错了:

An unexpected error occurred:
TypeError: 'type' object is not iterable

本来能用的,最后一次commit改出问题来了

最后一次是指 b3472d9 这个吗?应该这个 commit 是修复了这个问题才对,能看下你的 certbot 版本吗

哦,现在用的是 certbot 2.2.0版本,以前用的应该是1.0版本,难道这个插件只支持1.0,不过无所谓了,我现在使用 --manual + hook 的方式了,不再依赖插件了自己写个脚本就ok。不过我觉得你最好能跟着官方及时更新一下,他们已经提了2次Pull Request

求详细教程

这个项目挺好的,可以直接用,也可以参考。
https://github.com/ywdblog/certbot-letencrypt-wildcardcertificates-alydns-au

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

5 participants