fix(autocertifier-server): Wait for acme-challenge record to propagate #3347
+2
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Wait for 15 seconds after adding an acme-challenge record to wait for the change to propagate. This fixes the following errors:
Failed to create certificate for 12b93fa1-2eb1-4540-a64b-84829f9cc507.streamr-nodes.xyz with ip: 95.216.15.80 error: Error: Error while resolving DNS TXT records for _acme-challenge.12b93fa1-2eb1-4540-a64b-84829f9cc507.streamr-nodes.xyz.Failed to create certificate for 827b7512-342d-48f2-9481-bdcdb1e05597.streamr-nodes.xyz with ip: 95.216.15.80 error: Error: Did not find challenge value in TXT record.