Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Challenge starts to soon using dns challenge #74

Open
tkvw opened this issue Sep 9, 2020 · 0 comments
Open

[Bug] Challenge starts to soon using dns challenge #74

tkvw opened this issue Sep 9, 2020 · 0 comments

Comments

@tkvw
Copy link

tkvw commented Sep 9, 2020

Using a DNS challenge there needs to be time to manually setup the DNS TXT record with the provider.
As the challenge is started immediately, this fails (see the following lines).

AtomicInteger authRetryAttempts = new AtomicInteger(acmeConfiguration.getAuth().getRefreshAttempts());
challenge.trigger();

I think this should be something in the line of:

sleep_some_initial_configured_time()
challenge.trigger()

I know there's an option to set the

auth:
   pause: 3m 

But this is only used to check the validity of the response of the challenge. I think this should be the initial delay before calling challenge.trigger

As a workaround I am currently placing a breakpoint on the challenge.trigger which allows me to setup the dns with the provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant