LetsEncrypt challenge request times out too soon

Issue #739 resolved
Paul Verity created an issue

The /opt/admin/vendor/analogic/lescript/Lescript.php script that sends the request to challenge (around line 158) gives up too soon and responds with a validation error. It gives each attempt just one second grace before attempting the challenge again, making 5 attempts in total. This is not long enough for some servers and would fail every time until I modified the script to attempt 6 times at 10 second intervals to allow up to one minute for the verification result. It finally succeeded in obtaining the certificate and applying it after making this change.

I’d like to propose the grace period/retry count is made configurable through the UI, or uses a slightly more sophisticated back-off/retry algorithm

Comments (5)

  1. Log in to comment