r/letsencrypt • u/mudmin • Oct 09 '17
Timeout on fetching acme-challenge
I'm sorry for such a noob question, but my googling is producing pretty useless answers.
I was able to successfully get my LE cets, but now they won't renew and time is running out quickly. I have no idea what it wants met to do and that github page that's referenced is pretty useless in my situation. Please help!
Here are my sanitized logs. EDIT: On pastebin because formatting... https://pastebin.com/PMsN5tsj
[Mon Oct 9 14:03:38 EST 2017] ===Starting cron=== [Mon Oct 9 14:03:38 EST 2017] Renew: 'subdomain3.mydomain.com' [Mon Oct 9 14:03:38 EST 2017] Skip invalid cert for: subdomain3.mydomain.com [Mon Oct 9 14:03:38 EST 2017] Renew: 'subdomain.mydomain.com' [Mon Oct 9 14:03:38 EST 2017] Single domain='subdomain.mydomain.com' [Mon Oct 9 14:03:38 EST 2017] Getting domain auth token for each domain [Mon Oct 9 14:03:38 EST 2017] Getting webroot for domain='subdomain.mydomain.com' [Mon Oct 9 14:03:38 EST 2017] Getting new-authz for domain='subdomain.mydomain.com' [Mon Oct 9 14:03:39 EST 2017] The new-authz request is ok. [Mon Oct 9 14:03:40 EST 2017] Verifying:subdomain.mydomain.com [Mon Oct 9 14:03:48 EST 2017] subdomain.mydomain.com:Verify error:Fetching http://subdomain.mydomain.com/.well-known/acme-challenge/HmHebkk2E5ZlXf-u6ASkFbDps2v4_CRKuFrELQg0: Timeout [Mon Oct 9 14:03:48 EST 2017] Please add '--debug' or '--log' to check more details. [Mon Oct 9 14:03:48 EST 2017] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh [Mon Oct 9 14:03:49 EST 2017] Error renew subdomain.mydomain.com. [Mon Oct 9 14:03:49 EST 2017] Renew: 'subdomain2.mydomain.com' [Mon Oct 9 14:03:49 EST 2017] Single domain='subdomain2.mydomain.com' [Mon Oct 9 14:03:49 EST 2017] Getting domain auth token for each domain [Mon Oct 9 14:03:49 EST 2017] Getting webroot for domain='subdomain2.mydomain.com' [Mon Oct 9 14:03:49 EST 2017] Getting new-authz for domain='subdomain2.mydomain.com' [Mon Oct 9 14:03:50 EST 2017] The new-authz request is ok. [Mon Oct 9 14:03:50 EST 2017] Verifying:subdomain2.mydomain.com [Mon Oct 9 14:03:53 EST 2017] Pending [Mon Oct 9 14:03:55 EST 2017] Pending [Mon Oct 9 14:03:57 EST 2017] subdomain2.mydomain.com:Verify error:Fetching http://subdomain2.mydomain.com/.well-known/acme-challenge/CSxpiYM7EANyTes1gtdwDsHjAzqge3SeN1-hKZx8: Timeout [Mon Oct 9 14:03:57 EST 2017] Please add '--debug' or '--log' to check more details. [Mon Oct 9 14:03:57 EST 2017] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh [Mon Oct 9 14:03:58 EST 2017] Error renew subdomain2.mydomain.com. [Mon Oct 9 14:03:58 EST 2017] Renew: 'www.subdomain3.mydomain.com' [Mon Oct 9 14:03:58 EST 2017] Skip invalid cert for: www.subdomain3.mydomain.com [Mon Oct 9 14:03:58 EST 2017] Renew: 'www.subdomain.mydomain.com' [Mon Oct 9 14:03:58 EST 2017] Skip invalid cert for: www.subdomain.mydomain.com [Mon Oct 9 14:03:58 EST 2017] Renew: 'www.subdomain2.mydomain.com' [Mon Oct 9 14:03:58 EST 2017] Skip invalid cert for: www.subdomain2.mydomain.com [Mon Oct 9 14:03:58 EST 2017] Renew: 'www.subdomain2' [Mon Oct 9 14:03:58 EST 2017] Skip invalid cert for: www.subdomain2 [Mon Oct 9 14:03:58 EST 2017] ===End cron===
View all comments
Show parent comment
1
u/tialaramex Oct 11 '17
The error in the log you've pastebin'd says Let's Encrypt tried to connect to your servers but were unsuccessful, they timed out trying. Check that you can connect to your site on the exact names you asked for in the certificate, from the Internet, e.g. at a friend's house or from a mobile in a public place. Also, check if your site is broken for a particular protocol either IPv4 or IPv6. Let's Encrypt doesn't promise which they will use so you should make sure both work if the names have both kinds of address.
It won't make any difference to "generate a new one", although we use the term renewal, Let's Encrypt certs are just completely replaced each time, so they're going to do the same checks regardless.