Server merchant:hostinger
Current OS : Ubuntu 20.04 64bit
root@vps:~# sudo certbot certonly --agree-tos --email xx@gmail.com --webroot -w /var/lib/letsencrypt/ -d xxx.domain.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for xxx.domain.com
Using the webroot path /var/lib/letsencrypt for all unmatched domains.
Waiting for verification...
Challenge failed for domain xxx.domain.com
http-01 challenge for xxx.domain.com
Cleaning up challenges
Some challenges have failed. IMPORTANT NOTES:
- The following errors were reported by the server: Domain: xxx.domain.com
Type: unauthorized
Detail: 2a02:4780:e:2c5c::1: Invalid response from
http://xxx.domain.com/.well-known/acme-challenge/7BtcnPNBC2yt-duH33QGR_CUqpCtodK5bY0SsceI3oA:
404 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
tail -f /var/log/letsencrypt/letsencrypt.log
cert, chain, key, _ = self.obtain_certificate(domains)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 348, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/lib/python3/dist-packages/certbot/client.py", line 396, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 91, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 180, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
I searched a lot and tried a lot of solutions, but no solution, does anyone know how to solve it?