Lets Encpty 错误

问答中心分类: OneinStackLets Encpty 错误
wbx123 asked 7 年 ago

An unexpected error occurred:
ContextualVersionConflict: (idna 2.6 (/usr/local/python/lib/python2.7/site-packages), Requirement.parse('idna<2.6,>=2.5'), set(['requests']))
Please see the logfile '/tmp/tmpl0obhm' for more details.
Error: Let's Encrypt SSL certificate installation failed!

11 Answers
wbx123 answered 7 年 ago
我有多台服务器 都显示这个问题

wbx123 answered 7 年 ago
2017-08-10 15:48:48,678EBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/python/bin/certbot", line 11, in <module>
sys.exit(main())
File "/usr/local/python/lib/python2.7/site-packages/certbot/main.py", line 733, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/python/lib/python2.7/site-packages/certbot/plugins/disco.py", line 203, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File "/usr/local/python/lib/python2.7/site-packages/certbot/plugins/disco.py", line 50, in __init__
self.plugin_cls = entry_point.load()
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2290, in load
self.require(*args, **kwargs)
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2307, in require
items = working_set.resolve(reqs, env, installer)
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 854, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (idna 2.6 (/usr/local/python/lib/python2.7/site-packages), Requirement.parse('idna<2.6,>=2.5'), set(['requests']))

mastershu answered 7 年 ago
我也是,遇到了相同的问题,是什么鬼!!!??

wbx123 answered 7 年 ago
是不是服务器崩了啥的?

mastershu answered 7 年 ago
我觉得应该不是, 因为是刚配的服务器,搞不懂!!

wbx123 answered 7 年 ago
我不是指我们的服务器 是他们的服务器炸了

mastershu answered 7 年 ago
不会吧, 感觉是配置问题 !
 

wbx123 answered 7 年 ago
我3台服务器 重装了N次都这样

mastershu answered 7 年 ago
搞不懂, 但好像是上下文要求 2.5 的idna , 却提供的是idna 2.6 的意思!!??

oneinstack answered 7 年 ago
/usr/local/python/bin/pip install requests

执行上面命令试试

mastershu answered 7 年 ago
靠谱!! 我也是在论坛上发现的这个答案!!!