Commit e2ddab12 authored by Adrien Dorsaz's avatar Adrien Dorsaz

Update acme_dns_tiny.py to update the magic waiting time so all CI tests pass

parent dfcb899b
Pipeline #183 failed with stage
in 17 minutes and 18 seconds
......@@ -208,8 +208,8 @@ def get_crt(config, log=LOGGER):
number_check_fail = number_check_fail + 1
time.sleep(2)
log.info("Waiting for {0} seconds before asking ACME server to validate challenge.".format(max(5, config["acmednstiny"].getint("CheckChallengeDelay"))))
time.sleep(max(5, config["acmednstiny"].getint("CheckChallengeDelay")))
log.info("Waiting for {0} seconds before asking ACME server to validate challenge.".format(max(10, config["acmednstiny"].getint("CheckChallengeDelay"))))
time.sleep(max(10, config["acmednstiny"].getint("CheckChallengeDelay")))
code, result, headers = _send_signed_request(challenge["url"], {"keyAuthorization": keyauthorization})
if code != 200:
raise ValueError("Error triggering challenge: {0} {1}".format(code, result))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment