I'm running some servers protected with Letsencrypt and I'm freaking out about how to make auto-renewal work ... if I manually launch the renewal everything works fine.
In the log letsencrypt.log I find this error "Requesting acme-v02.api.letsencrypt.org/directory: Network is unreachable. Skipping."
the server is ubuntu 20 with apache behind a proxy and had set all variables in /etc/environment as well, i also set in /etc/cron.d/certbot export http_proxy = ...... && https_proxy = ...... command, but is the same.
the only different thing from another environment where everything works properly is that the icmp (traceroute) protocol is not open on the firewall.
I honestly don't understand why with the "certbot renew --dry-run" command everything works properly while it doesn't work automatically.
what did i do wrong?