Read this if you experience chrome-pdf hanging on Windows in jsreport 4.5.0
-
The latest chrome that is embedded in jsreport 4.5.0 may require additional permissions on Chrome folder otherwise it hangs and timeout. This is happening only on Windows and only on jsreport 4.5.0.
The solution is to run the following command
icacls %USERPROFILE%/.cache/puppeteer/chrome /grant *S-1-15-2-1:(OI)(CI)(RX)
Puppeteer issue for reference
https://github.com/puppeteer/puppeteer/issues/12471It seems the google team is going to fix this so there will be no need to extra configure permissions. As soon as there is a hotfix available, we will update jsreport accordingly.
-
The jsreport 4.6.0 now includes fixed chrome/puppeteer so there should be no need for extra setting permissions on Windows now.