Certbot - Failed authorization procedure - Timeout after connect


#1

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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: jenkins.shawmer.com

I ran this command: certbot --staging --nginx -d jenkins.shawmer.com --agree-tos --non-interactive

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-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for jenkins.shawmer.com
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. jenkins.shawmer.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://jenkins.shawmer.com/.well-known/acme-challenge/YnSv9eh2XRxsmcMMtNF_2r3g_AP03mpXh2dnw-yLzF8: Timeout after connect (your server may be slow or overloaded)

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: jenkins.shawmer.com
    Type: connection
    Detail: Fetching
    http://jenkins.shawmer.com/.well-known/acme-challenge/YnSv9eh2XRxsmcMMtNF_2r3g_AP03mpXh2dnw-yLzF8:
    Timeout after connect (your server may be slow or overloaded)

    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

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

My hosting provider, if applicable, is: NA

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

FYI …

Both of the following works …
curl http://jenkins.shawmer.com/.well-known/acme-challenge/test.txt
curl -v -6 http://jenkins.shawmer.com/.well-known/acme-challenge/test.txt

The server allows traffic on port 443

Thanks!


#2

From where did you test that? I cannot connect to your server (port 80).


#3

Alrighty then. That’s all I needed to hear! Resolved :slight_smile:

It’s always the most obvious, simple thing.

Thanks!


#4

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