From ad247f69226b42ecf7fab787410f61115781143d Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Wed, 12 May 2021 09:11:54 +0200 Subject: [PATCH] shorten timeout on loopia dns acme-challange --- files/acme-auth-loopia.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/acme-auth-loopia.py b/files/acme-auth-loopia.py index 484c705..9f6471f 100755 --- a/files/acme-auth-loopia.py +++ b/files/acme-auth-loopia.py @@ -27,7 +27,9 @@ def main(): domain = os.environ['CERTBOT_DOMAIN'] subdomain = '_acme-challenge' token = os.environ['CERTBOT_VALIDATION'] - waittime = 600 + # According to inside sources: "If it takes longer than 2 minutes, + # something is probably wrong". Adding an extra minute to be sure. + waittime = 180 else: parser = argparse.ArgumentParser(description='Update acme-record for subdomain') parser.add_argument('--domain', '-d', nargs=1, required=True, help='domain to update')