Failed authorization procedure. Timeout Ubuntu 16.04/Apache

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: sudo certbot --authenticator webroot --installer apache

It produced this output: name(s) (comma and/or space separated) (Enter ‘c’ to cancel):
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for
Input the webroot for (Enter ‘c’ to cancel): /var/www/html/
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching Timeout


  • The following errors were reported by the server:

    Type: connection
    Detail: Fetching

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you’re using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.

My web server is (include version): apache2 (2.4.18-2ubuntu3.5)

The operating system my web server runs on is (include version): Ubuntu Server 16.04

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No

The immediate reason for the failure is that your domain has an AAAA record but isn’t reachable over IPv6.

$ curl -vv -6 --connect-timeout 10
* About to connect() to port 80 (#0)
*   Trying 2604:6000:ffc0:72:491b:fed4:387b:79dd...
* Connection timed out after 10000 milliseconds
* Closing connection 0
curl: (28) Connection timed out after 10000 milliseconds

Is that usually a problem with my DNS service. I’m using DYNU DNS and I have a record for that IPv6 address directed to my domain.

The problem is that IPv6 address isn’t actually responding to internet traffic.

So you could either:

  • Fix the IPv6 address/networking on the server so it actually responds to internet traffic on that IPv6 address, or
  • Give up on IPv6 and delete the AAAA record
1 Like

I deleted the AAAA record and it works . Thanks.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.