[PR #261] [CLOSED] Retry invalid challenge responses, set number of retries to NUMBER #776

Closed
opened 2025-12-29 01:29:05 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/261
Author: @extremeshok
Created: 8/22/2016
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 75f49bc Retry invalid challenge responses, set number of retries to NUMBER

📊 Changes

2 files changed (+95 additions, -10 deletions)

View changed files

📝 README.md (+1 -0)
📝 letsencrypt.sh (+94 -10)

📄 Description

Coded to your coding standards, shellchecked

This will allow for the challenge to be retied for X times when it fails (returns invalid)

Allot of our servers are via cdn/load-balancers and they do not always sync quick enough, so will fail the first X attempts.

This also allows your script to have resiliency with bad connections/timeouts.

letsencrypt.sh --cron --force --retries 10

Processing test.extremeshok.com
 + Checking domain name(s) of existing cert... unchanged.
 + Checking expire date of existing cert...
 + Valid till Nov 19 22:26:00 2016 GMT (Longer than 30 days). Ignoring because renew was forced!
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting challenge for test.extremeshok.com...
 + Responding to challenge for test.extremeshok.com...attempt: 1
 + Invalid
 + Requesting challenge for test.extremeshok.com...
 + Responding to challenge for test.extremeshok.com...attempt: 2
 + Challenge is valid!
 + Requesting certificate...
 + Checking certificate...
 + Done!
 + Creating fullchain.pem...
 + Done!

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dehydrated-io/dehydrated/pull/261 **Author:** [@extremeshok](https://github.com/extremeshok) **Created:** 8/22/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`75f49bc`](https://github.com/dehydrated-io/dehydrated/commit/75f49bc6c2075a83f0930818fb5a3aabb00bfc5c) Retry invalid challenge responses, set number of retries to NUMBER ### 📊 Changes **2 files changed** (+95 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `letsencrypt.sh` (+94 -10) </details> ### 📄 Description Coded to your coding standards, shellchecked This will allow for the challenge to be retied for X times when it fails (returns invalid) Allot of our servers are via cdn/load-balancers and they do not always sync quick enough, so will fail the first X attempts. This also allows your script to have resiliency with bad connections/timeouts. ``` letsencrypt.sh --cron --force --retries 10 Processing test.extremeshok.com + Checking domain name(s) of existing cert... unchanged. + Checking expire date of existing cert... + Valid till Nov 19 22:26:00 2016 GMT (Longer than 30 days). Ignoring because renew was forced! + Signing domains... + Generating private key... + Generating signing request... + Requesting challenge for test.extremeshok.com... + Responding to challenge for test.extremeshok.com...attempt: 1 + Invalid + Requesting challenge for test.extremeshok.com... + Responding to challenge for test.extremeshok.com...attempt: 2 + Challenge is valid! + Requesting certificate... + Checking certificate... + Done! + Creating fullchain.pem... + Done! ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 01:29:05 +01:00
adam closed this issue 2025-12-29 01:29:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#776