VPS侦探论坛

 找回密码
 注册
查看: 5300|回复: 5

军哥,帮忙看下letsencrypt的新型错误是怎么回事

[复制链接]
发表于 2016-11-21 09:12:29 | 显示全部楼层 |阅读模式

错误提示如下:
An unexpected error occurred:                                                                                
ConnectionError: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xa6ac90c>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-11-21 09:21:45 | 显示全部楼层


看上去貌似是重试次数过多?

但我这次是对新域名在另一个IP上首次进行letsencrypt的。该IP在18号晚曾经一次通过成功生成另一个域名的证书,本次是在该IP第二次运行certbot-auto,为新域名生成证书,失败了

[ 本帖最后由 yanqzh 于 2016-11-21 09:25 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-11-21 09:29:47 | 显示全部楼层

在上面错误显示之前,还有这样的信息:
Version: 1.1-20080819                                                                                       
/root/.local/share/letsencrypt/lib/python2.6/site-packages/dialog.py:779: DeprecationWarning: the DIALOG_OK attribute of Dialog instances is obsolete; use the Dialog.OK class attribute instead.
  DeprecationWarning)

vi /var/log/letsencrypt/letsencrypt.log  得到如下信息:

2016-11-21 01:05:00,869EBUG:certbot.main:Root logging level set at 20
2016-11-21 01:05:00,870:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-11-21 01:05:00,878EBUG:certbot.main:certbot version: 0.9.3
2016-11-21 01:05:00,878EBUG:certbot.main:Arguments: ['--email', 'admin@aaaaaa.com', '--agree-tos', '--webroot', '-w', '/home/wwwroot/wwwwww', '-d', 'aaaaaa.com', '-d', 'www.aaaaaa.com', '-d', 'beijing.aaaaaa.com', '-d', 'gd.aaaaaa.com', '-d', 'zhongyuan.aaaaaa.com', '-d', 'dongbu.aaaaaa.com', '-d', 'dongnan.aaaaaa.com', '-d', 'un.aaaaaa.com', '-d', 'li.aaaaaa.com', '-d', 'yue.aaaaaa.com', '-d', 'shufa.aaaaaa.com', '-d', 'hua.aaaaaa.com', '-d', 'kaogu.aaaaaa.com', '-d', 'dao.aaaaaa.com', '-d', 'ru.aaaaaa.com', '-d', 'fa.aaaaaa.com', '-d', 'yi.aaaaaa.com', '-d', 'zhuzi.aaaaaa.com', '-d', 'hanfu.aaaaaa.com', '-d', 'hfyd.aaaaaa.com', '-d', 'renwu.aaaaaa.com', '-d', 'zongzu.aaaaaa.com', '-d', 'jieri.aaaaaa.com', '-d', 'xinan.aaaaaa.com', '-d', 'xibu.aaaaaa.com', '-d', 'xibei.aaaaaa.com', '-d', 'dongbei.aaaaaa.com', '-d', 'plsg.aaaaaa.com', '-d', 'guangzhou.aaaaaa.com', '-d', 'shenzhen.aaaaaa.com', '-d', 'zhanjiang.aaaaaa.com', '-d', 'shaoguan.aaaaaa.com', '-d', 'home.aaaaaa.com', '-d', 'm.aaaaaa.com']
2016-11-21 01:05:00,879EBUG:certbot.mainiscovered plugins: PluginsRegistry(PluginEntryPoint#nginx,PluginEntryPoint#standalone,PluginEntryPoint#manual,PluginEntryPoint#webroot,PluginEntryPoint#apache,PluginEntryPoint#null)
2016-11-21 01:05:00,901EBUG:certbot.plugins.selection:Requested authenticator webroot and installer None
2016-11-21 01:05:00,912EBUG:certbot.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot.plugins.webroot:Authenticator
Initialized: <certbot.plugins.webroot.Authenticator object at 0xa036d0c>
Prep: True
2016-11-21 01:05:00,912EBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.webroot.Authenticator object at 0xa036d0c> and installer None
2016-11-21 01:05:01,343EBUG:certbot.mainicked account: <Account(b8774fc1f7242133802797cfd251f7dd)>
2016-11-21 01:05:01,345EBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/directory. args: (), kwargs: {}
2016-11-21 01:05:01,383:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2016-11-21 01:05:01,457:DEBUG:certbot.main:Exiting abnormally:
Traceback (most recent call last):
  File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
    sys.exit(main())
  File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 776, in main
    return config.func(config, plugins)
  File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 558, in obtain_cert
    le_client = _init_le_client(config, auth, installer)
  File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 375, in _init_le_client
    return client.Client(config, acc, authenticator, installer, acme=acme)
  File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/client.py", line 190, in __init__
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-11-21 09:34:08 | 显示全部楼层



1楼上有次数过多和域名无法解析的错误

3楼这个不大清楚,建议letsencrypt官方反馈看看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-11-21 09:34:45 | 显示全部楼层

18号用certbot-auto为bbbbbbbbbb.com生成证书成功,一次过的。

今天运行certbot-auto,仅仅为aaaaaaaaa.com生成证书,并没有带上bbbbbbbbbb.com一起玩,是否与此有关?
今天运行certbot-auto命令如下:
./certbot-auto certonly --email admin@aaaaaa.com --agree-tos --webroot -w /home/wwwroot/wwwww -d aaaaaa.com -d www.aaaaaa.com -d beijing.aaaaaa.com -d gd.aaaaaa.com -d zhongyuan.aaaaaa.com -d dongbu.aaaaaa.com -d dongnan.aaaaaa.com -d un.aaaaaa.com -d li.aaaaaa.com -d yue.aaaaaa.com -d shufa.aaaaaa.com -d hua.aaaaaa.com -d kaogu.aaaaaa.com -d dao.aaaaaa.com -d ru.aaaaaa.com -d fa.aaaaaa.com -d yi.aaaaaa.com -d zhuzi.aaaaaa.com -d hanfu.aaaaaa.com -d hfyd.aaaaaa.com -d renwu.aaaaaa.com -d zongzu.aaaaaa.com -d jieri.aaaaaa.com -d xinan.aaaaaa.com -d xibu.aaaaaa.com -d xibei.aaaaaa.com -d dongbei.aaaaaa.com -d plsg.aaaaaa.com -d guangzhou.aaaaaa.com -d shenzhen.aaaaaa.com -d zhanjiang.aaaaaa.com -d shaoguan.aaaaaa.com -d home.aaaaaa.com -d m.aaaaaa.com
并没有为bbbbbbbbbb.com重发证书

军哥运维代购:http://shop63846532.taobao.com/

发表于 2016-11-21 16:50:49 | 显示全部楼层

和bbb.com没关系

好像没重新签发的参数,可以加 --force-renew 试试,不行去他们官网问问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 11:20 , Processed in 0.026307 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表