nginx fails to start with the error message:
nginx: nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/usr/local/psa/var/certificates/scfO1mntc"
When securing a domain with a Let's Ecnrypt certificate, the operation fails with:
Could not issue a Let's Encrypt SSL/TLS certificate for example.com
Failed to connect to the Let's Encrypt server https://acme-v01.api.letsencrypt.org.
Please try again later or report the issue to support.
Could not obtain directory:
When installing a Plesk license, the operation fails with:
cURL cannot communicate with license server https://id-00.kaid.plesk.com:443/ (): Couldn't resolve host name(6) cURL cannot communicate with license server https://id-00.kaid.plesk.com:443/ (): Couldn't resolve host name(6) (Error code: 2)
On attempt to connect to any external host using the cURL utility, the command shows:
# curl -I http://example.com
curl: (6) Could not resolve host: example.com
The DNS resolver specified in the file
/etc/resolv.conf cannot resolve domain names.
Connect to the Plesk server via SSH.
Open the file
/etc/resolv.confin a text editor. In this example, we are using the vi editor:
# vi /etc/resolv.conf
Comment the invalid resolver out by placing a # (hash) character at the beginning of the line.
Add a different DNS resolver, for example Google public DNS server:
Save the change and close the file.
/etc/resolv.confcan be overwritten on Ubuntu 18.04 and higher by
Retry the previously failed operation.
Note: If the above solution does not help, contact your service provider in order to check the network setup.