[SOLVED] ALL PDF generated are without CSS

Hello everyone.

I deployed an application (which works well on scriptcase HOST) on an ubuntu server (virtualized on Proxmox). Everything seems to work except the generation of PDFs. The pdf are generated well but they seem to be generated (or at least displayed) without CSS.

(in the prod config I put in pdf server IP: “/ var / www / html”).

The generate HTML file is ok, with images and formats (css), but not the PDF file (no colors or images in the pdf file).

Does anyone have any idea how to solve this problem?
Thanks a lot for your help !!!

The problem comes from the pdf server IP: “/ var / www / html”.
Also, it doesn’t work with local IP (192.168.xx.xx)

It seems that’s necessary to put the URL : www.domain.com
But in my virtualized environment is not possible…

I resolve it by using /etc/host file for local domain traduction
/etc/host file : 192.168.xx.xx www.domain.com
pdf server IP: www.domain.com