Wkhtmltopdf - ContactAccessDenied

Hi All,

Download PDF is not working suddenly in Prod… It throws an error when triggered, which says ContactAccessDenied… In Dev env, wkhtmltopdf is not available, yet Download PDF is working… In my local, the version available is wkhtmltopdf 0.12.6.

Kindly let me know the process to download the patched qt version of wkhtmltopdf.
If there is anything I need to know, kindly let me know that as well.

Thanks in advance!

I found this article by Karani to be helpful when trying to solve the qt update issue.

I visited the document and ran the below commands and restarted the supervisor:

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb

sudo apt install -f ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb

Now, it is throwing a different error stating that PDF generation failed because of broken image links:

Hi there Pradeep, sorry it did not work for you. I am running Ubuntu 22.04 and have successfully updated numerous VPS servers which were getting this error. Will keep a lookout if there are solutions I encounter.

I have also installed Python Virtual Environment (sudo apt install python3.11-venv)
when installing ERPNext V15.