da-letsencrypt
da-letsencrypt copied to clipboard
Error while completing domain challenges (Nginx)
It's show error message when submit form
Error while completing domain challenges
Details
Could not obtain directory.
OS : CentOS 6 (x64) DirectAdmin with Custombuild Nginx Web Server PHP-FPM : 7.0.1
Hmm, I'll look into this. Thanks.
Same problem on my box. with the latest version pulled from git (18:30)
http://IP:2222/CMD_PLUGINS/da-letsencrypt/actions/request.html Error while completing domain challenges
Details
Could not obtain directory.
Back
@WaaaghNL
Which version of PHP and which webserver(s) do you use?
Apache 2.4.17 Running DirectAdmin 1.49.1 Running Php 5.5.30 Installed
Hmm, are you able to debug this issue? I'm not sure why this error accords.
Is it possible to run this in debug mode? Because the logs are empty.
Just pulled the latest update from git but i still getting the same problem.
steps i take as a user: Login > Domain > Let's Encrypt Certificates > supplying an email and accepting the ToS > Send > Error page.
Error while completing domain challenges
Details
Could not obtain directory.
Back
It doesn't seems to be related to our plugin. This error is thrown by the library we use.
Could you put some var_dump
's in these catch statements, to know what's going wrong? See this.
maybe a strange question but where can i find the file on my server?
/usr/local/directadmin/plugins/da-letsencrypt/vendor/kelunik/acme/lib/AcmeClient.php
I'm experiencing the same problem using PHP 7. One thing I noticed viewing print_r/var_dump is the first line:
Amp\Dns\ResolutionException Object ( [message:protected] => Connection to udp://2a01:7c8:a::c53:53 failed: [Error #0] php_network_getaddresses: getaddrinfo failed: Name or service not known [string:Exception:private] => [code:protected] => 0 [file:protected] => /usr/local/directadmin/plugins/da-letsencrypt/vendor/amphp/dns/lib/functions.php [line:protected] => 442
If you need a full var_dump let me know. ( pretty big )
Hmm, are you able to debug that issue more? I'm unsure why it's unable to connect over IPv6.