-
Notifications
You must be signed in to change notification settings - Fork 54
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
Timeout in verifyChallenge #31
Comments
I have done some digging in the code and looks like this is because you guys are using default DNS package of node in I believe the dns-socket package can solve this issue. |
Hi @moizhusnain, The behaviour you are experiencing is most likely not due to DNS timeouts, as they should only occur during network disruptions etc. By default
So if a valid challenge response is never produced, it will finally throw an error after 65 seconds with the default configuration. The reason for this is to counter possible delays (DNS propagation time, etc.) when verifying challenge responses. The default backoff configuration can be overridden when creating a client instance. Hope that helps clear things up! |
Thanks @nmorsman |
Hey guys, first of all thanks a lot for building such a useful library and for managing it so actively. I am using this package for a project where I have built an integration to generate SSL certificates (it is a kind of hosting service).
I have observed an issue that verifyChallenge don't really timeout in cases where DNS challenge has not been fulfilled.
So for example, I create an order for example.com and decided to go for DNS challenge but submitted a request to verifyChallange without actually creating a TXT record. In this case, verifyChallange function waits for a lot - like several minutes before generating an error/response.
The text was updated successfully, but these errors were encountered: