I am unable to generate PDFs in preview.
This is the status message I’ve received
exception in stage4 chrome preview. see meta.trace for details on all fatal errors found. errMsg=load targetUrl failed, probable cause: invalid domain. rawMsg=net::ERR_NAME_NOT_RESOLVED at http://invoice.example.com/tmp_pdf/8CeJJ3MQMucy0rmB5lROf0ZXf8zqKfRt
The domain is from a local DNS server that is assigned to Ubuntu 20.04 server from DHCP server. The server can resolve domains from local DNS server. Obviously Chrome is not using my DNS server but probably 8.8.8.8. Additionally, setting my domain in /etc/hosts does not work as well. The PDF is generated because I can access it over the link tmp_pdf link.