[solved] Timeout during connect (likely firewall problem)

Hi,

My domain is: snipsserver.spacetechnology.net

I ran this command: certbot -v renew --dry-run

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/snipsserver.spacetechnology.net.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Simulating renewal of an existing certificate for snipsserver.spacetechnology.net and snips.spacetechnology.net
Performing the following challenges:
http-01 challenge for snips.spacetechnology.net
http-01 challenge for snipsserver.spacetechnology.net
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Challenge failed for domain snips.spacetechnology.net
Challenge failed for domain snipsserver.spacetechnology.net
http-01 challenge for snips.spacetechnology.net
http-01 challenge for snipsserver.spacetechnology.net

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: snips.spacetechnology.net
  Type:   connection
  Detail: 91.64.50.159: Fetching http://snips.spacetechnology.net/.well-known/acme-challenge/CkUCTsSbQ3ic56B83caCl3KPkOD7PdbnhJ1thnYCvgg: Timeout during connect (likely firewall problem)

  Domain: snipsserver.spacetechnology.net
  Type:   connection
  Detail: 91.64.50.159: Fetching http://snipsserver.spacetechnology.net/.well-known/acme-challenge/lYJw0bLHDFxOE_P35kiC5nOe-5KWDVqLS3BmttBi4q4: Timeout during connect (likely firewall problem)

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

Cleaning up challenges
Failed to renew certificate snipsserver.spacetechnology.net with error: Some challenges have failed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All simulated renewals failed. The following certificates could not be renewed:
  /etc/letsencrypt/live/snipsserver.spacetechnology.net/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version): Apache/2.4.54

The operating system my web server runs on is (include version): Debian GNU/Linux bookworm/sid

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 version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 2.1.0

I can Access my Website from outside of my LAN.
The Apache access.log show me the connects from the Let's encrypt Servers with Status 200:

3.139.90.174 - - [09/Dec/2022:00:04:06 +0100] "GET /.well-known/acme-challenge/CkUCTsSbQ3ic56B83caCl3KPkOD7PdbnhJ1thnYCvgg HTTP/1.1" 200 310 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
35.90.230.200 - - [09/Dec/2022:00:04:06 +0100] "GET /.well-known/acme-challenge/CkUCTsSbQ3ic56B83caCl3KPkOD7PdbnhJ1thnYCvgg HTTP/1.1" 200 310 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
3.139.90.174 - - [09/Dec/2022:00:04:06 +0100] "GET /.well-known/acme-challenge/lYJw0bLHDFxOE_P35kiC5nOe-5KWDVqLS3BmttBi4q4 HTTP/1.1" 200 310 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
35.90.230.200 - - [09/Dec/2022:00:04:06 +0100] "GET /.well-known/acme-challenge/lYJw0bLHDFxOE_P35kiC5nOe-5KWDVqLS3BmttBi4q4 HTTP/1.1" 200 310 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"

snipsserver.spacetechnology.net - Make your website better - DNS, redirects, mixed content, certificates can also access my Page.

I don't understand where the Problem is.

1 Like

Do you have some kind of geo-IP blocking going on? Or a firewall rule set you got from the internet?

I can access your server from the US, but not from my home connection in Australia.

You should see 3 different IPs. One server is being blocked (probably 23.178.112.107).

6 Likes

Thanks for you help, yes it was a geo-IP Filter. :+1:

3 Likes

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