I have the same error here on a nextcloud box : No automatic renewing of Letsencrypt certificate on Nextcloud Box
I’ve no clue why. Both port 80 and 443 are open and redirected to the right machine, and it worked for almost a year without any problem.