Timeout Nginx Certbot

Hi I get a timeout error when trying to get a certificate on nginx :

My domain is: biwicovoiturage.fr

I ran this command: sudo certbot --nginx --staging -d biwicovoiturage.fr

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for biwicovoiturage.fr
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. biwicovoiturage.fr (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://biwicovoiturage.fr/.well-known/acme-challenge/BTRUtdBwvL-ZsyDfBbKmAA1aw7OLX5czcNKBmp26CDk: Timeout


  • The following errors were reported by the server:

    Domain: biwicovoiturage.fr
    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): nginx/1.10.3 (Ubuntu)

The operating system my web server runs on is (include version): Ubuntu 16.04.4 LTS

My hosting provider, if applicable, is: AWS

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

Thank you for your help !

biwicovoiturage.fr.  (unsigned)  13   A
biwicovoiturage.fr.  (unsigned)  253  AAAA  2a05:d014:b1e:2b00:9ec5:9326:7d18:3f42

The site has an IPv6 address and an IPv4 address, but connecting to the IPv6 address times out.

Can you make sure that the address is correct and there isn’t a firewall blocking it or something?

1 Like

Thank you! I just removed the AAAA reccord and it is working now

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