Nextcloud Lets Encrypt Error

My domain is: Davidcloud.ddns.net

I ran this command: The default Lets Encrypt command on the NextCloud Admin site

It produced this output: [ letsencrypt ]
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for davidcloud.ddns.net
Using the webroot path /var/www/nextcloud for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. davidcloud.ddns.net (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://davidcloud.ddns.net/.well-known/acme-challenge/tC02A6NHiQtY7nIxufXZkHIF48T1UmO7hh7pmOjRbps: Timeout during connect (likely firewall problem)
IMPORTANT NOTES:

  • The following errors were reported by the server:

Domain: davidcloud.ddns.net
Type: connection
Detail: Fetching
https://davidcloud.ddns.net/.well-known/acme-challenge/tC02A6NHiQtY7nIxufXZkHIF48T1UmO7hh7pmOjRbps:
Timeout during connect (likely firewall problem)

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.

The operating system my web server runs on is (include version): It runs a Nextcloud Linux (dont know)

My hosting provider, if applicable, is: Strato

I can login to a root shell on my machine (yes or no, or I don’t know): yes i can get into the pi

1 Like

Hi,

Please check your port 443 settings and port forwarding on your router.
Your port 443 is filtered from outside perspective, which is why Let’s Encrypt get timeout error.

portqry -e 80 -n davidcloud.ddns.net

Querying target system called:

 davidcloud.ddns.net

Attempting to resolve name to IP address...


Name resolved to 93.244.23.159

querying...

TCP port 80 (http service): LISTENING

portqry -e 443 -n davidcloud.ddns.net

Querying target system called:

 davidcloud.ddns.net

Attempting to resolve name to IP address...


Name resolved to 93.244.23.159

querying...

TCP port 443 (https service): FILTERED

Thank you

2 Likes