Hi, I have a really strange problem. This issue Suddenly appeared last 24 or 48 hours (before all was runing well for the last 18 months!)
My domain is: laresidencia.net
I ran this command: plesk bin extension --exec letsencrypt cli.php -d laresidencia.net -d www.laresidencia.net -m me@domain.tld
It produced this output:
# plesk bin extension --exec letsencrypt cli.php -d laresidencia.net -m me@domain.tld
# plesk bin extension --exec letsencrypt cli.php -d laresidencia.net -d www.laresidencia.net -m me@domain.tld
[2022-04-21 08:45:38.541] 3877622:6260fd928408e ERR [extension/letsencrypt] The execution of cli.php has failed with the following message:
[2022-04-21 08:45:38.528] 3877624:6260fd82a7081 ERR [extension/letsencrypt] Domain validation failed for www.laresidencia.net: Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/100274279387.
Details:
Type: urn:ietf:params:acme:error:connection
Status: 400
Detail: Fetching http://www.laresidencia.net/.well-known/acme-challenge/mENo2ZDDnaXDr0qRD3rk7ZYB2xQEGNsiCDPo4Tyj9AQ: Timeout during connect (likely firewall problem)
[2022-04-21 08:45:38.531] 3877624:6260fd82a7081 ERR [extension/letsencrypt] Domain validation failed: Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/100274279387.
Details:
Type: urn:ietf:params:acme:error:connection
Status: 400
Detail: Fetching http://www.laresidencia.net/.well-known/acme-challenge/mENo2ZDDnaXDr0qRD3rk7ZYB2xQEGNsiCDPo4Tyj9AQ: Timeout during connect (likely firewall problem)
Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/100274279387.
Details:
Type: urn:ietf:params:acme:error:connection
Status: 400
Detail: Fetching http://www.laresidencia.net/.well-known/acme-challenge/mENo2ZDDnaXDr0qRD3rk7ZYB2xQEGNsiCDPo4Tyj9AQ: Timeout during connect (likely firewall problem)
The execution of cli.php has failed with the following message:
[2022-04-21 08:45:38.528] 3877624:6260fd82a7081 ERR [extension/letsencrypt] Domain validation failed for www.laresidencia.net: Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/100274279387.
Details:
Type: urn:ietf:params:acme:error:connection
Status: 400
Detail: Fetching http://www.laresidencia.net/.well-known/acme-challenge/mENo2ZDDnaXDr0qRD3rk7ZYB2xQEGNsiCDPo4Tyj9AQ: Timeout during connect (likely firewall problem)
[2022-04-21 08:45:38.531] 3877624:6260fd82a7081 ERR [extension/letsencrypt] Domain validation failed: Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/100274279387.
Details:
Type: urn:ietf:params:acme:error:connection
Status: 400
Detail: Fetching http://www.laresidencia.net/.well-known/acme-challenge/mENo2ZDDnaXDr0qRD3rk7ZYB2xQEGNsiCDPo4Tyj9AQ: Timeout during connect (likely firewall problem)
Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/100274279387.
Details:
Type: urn:ietf:params:acme:error:connection
Status: 400
Detail: Fetching http://www.laresidencia.net/.well-known/acme-challenge/mENo2ZDDnaXDr0qRD3rk7ZYB2xQEGNsiCDPo4Tyj9AQ: Timeout during connect (likely firewall problem)
exit status 1
As you can see, the first command without de www subdomain, worked! but when I add the www failt.
My web server is: Apache 2.4.41
The operating system my web server runs on is (include version): ubuntu 20.04
My hosting provider, if applicable, is: IONOS
I can login to a root shell on my machine: yes
I'm using a control panel to manage my site: Plesk obsidian
The version of my client is: I'm using the latest plesk SSL IT! extension
Nmap port 80 and 443 tests (tested from another machine, not the hosting server)...
# nmap -P 80 laresidencia.net
Starting Nmap 7.80 ( https://nmap.org ) at 2022-04-21 08:27 CEST
Nmap done: 2 IP addresses (0 hosts up) scanned in 2.17 seconds
root@oismarclinux:/home/m_serra# nmap -p 80 laresidencia.net
Starting Nmap 7.80 ( https://nmap.org ) at 2022-04-21 08:27 CEST
Nmap scan report for laresidencia.net (212.227.149.7)
Host is up (0.020s latency).
rDNS record for 212.227.149.7: webolot.com
PORT STATE SERVICE
80/tcp open http
Nmap done: 1 IP address (1 host up) scanned in 0.28 seconds
# nmap -p 80 www.laresidencia.net
Starting Nmap 7.80 ( https://nmap.org ) at 2022-04-21 08:27 CEST
Nmap scan report for www.laresidencia.net (212.227.149.7)
Host is up (0.020s latency).
rDNS record for 212.227.149.7: webolot.com
PORT STATE SERVICE
80/tcp open http
Nmap done: 1 IP address (1 host up) scanned in 0.30 seconds
# nmap -p 443 www.laresidencia.net
Starting Nmap 7.80 ( https://nmap.org ) at 2022-04-21 08:27 CEST
Nmap scan report for www.laresidencia.net (212.227.149.7)
Host is up (0.020s latency).
rDNS record for 212.227.149.7: webolot.com
PORT STATE SERVICE
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 0.26 seconds
# nmap -p 443 laresidencia.net
Starting Nmap 7.80 ( https://nmap.org ) at 2022-04-21 08:27 CEST
Nmap scan report for laresidencia.net (212.227.149.7)
Host is up (0.020s latency).
rDNS record for 212.227.149.7: webolot.com
PORT STATE SERVICE
443/tcp open https
DNS test (tested from another machine, not the hosting server) ...
# dig +short NS laresidencia.net
ns1045.ui-dns.de.
ns1045.ui-dns.com.
ns1045.ui-dns.biz.
ns1045.ui-dns.org.
# dig +short www.laresidencia.net
212.227.149.7
# dig +short laresidencia.net
212.227.149.7
The same happens with some other domains, for example: ecarta.cat and delitgastronomic.cat, ...
This server has a UFW (disabled now) and a Firewall at hosting provider level (IONOS) with the ports 80 and 443 open and unfiltered.
I tried to change the www DNS record from A to CNAME, with the same results.
I tried to change the www DNS record from www to *, with the same results.
I'm really lost!