aws / aws-lambda-base-images

Apache License 2.0
669 stars 109 forks source link

Latest node18 docker lambda runtime image somehow breaks connectivity for headless browsers. #131

Open Sureshkumars opened 9 months ago

Sureshkumars commented 9 months ago

We use playwright headless browser in one of our microservices for generating pdfs from html code. Latest node18 image breaks the network connectivity for headless browsers which eventually leads to browser crash if the html has some external resources in it like fonts or images.

nakshathru commented 9 months ago

Same issue is happening with node18 lambda runtime image with puppeteer https://github.com/Sparticuz/chromium/issues/196

shorty60 commented 9 months ago

As a workaround, I use public.ecr.aws/lambda/nodejs:18.2023.11.18.01 as base image and it works.