You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docker image as it is currently shipped fails to generate valid PDF files.
1st issue is it is missing x11 and chromium related system libraries;
running apt install chromium-chromedriver inside the instance helped.
after the workaround for the first issue, it fails with
{
"message": "PDF generation failed: Failed to launch chrome!\n[1127/144000.634343:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.\n\n\nTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md\n",
"code": "500"
}
since the docker image never downgrades from the root user which would be good practice anyway.. I placed this in this project but let me know if it is the wrong place to do so.
Thanks!
The text was updated successfully, but these errors were encountered:
The docker image as it is currently shipped fails to generate valid PDF files.
1st issue is it is missing x11 and chromium related system libraries;
running apt install chromium-chromedriver inside the instance helped.
after the workaround for the first issue, it fails with
since the docker image never downgrades from the root user which would be good practice anyway.. I placed this in this project but let me know if it is the wrong place to do so.
Thanks!
The text was updated successfully, but these errors were encountered: