Puppeteer/headless Chromium on Alpine font issues

I'm using Puppeteer in an Alpine Linux Docker container. The container inherits from node:alpine. By default, it renders English fine, however it doesn't render Japanese at all. I had a look at...

Karma Chrome Headless not working on Jenkins

When I run the below setup with Docker locally on my mac everything works fine. But same setup does not work on Jenkins running on Ubuntu 16.04 ChromiumHeadless have not captured in 60000 ms,...

Puppeteer Error: Protocol error (Page.captureScreenshot): Target closed

I have this error running [email protected] on node:8-slim container. The full error: Error: Protocol error (Page.captureScreenshot): Target closed. at Promise...

How to fix "pygame.error: No available video device" error related with pygame on docker?

I'm trying to run an image with a pygame script, but i get the error: pygame.error: No available video device The pygame script works good on my computer (Linux, Ubuntu 16.04, 32 bits, i installed...

node canvas on alpine within docker

I'm trying to install node canvas (https://github.com/Automattic/node-canvas) on Alpine within docker. These are (parts of) my Dockerfile: # Use node/alpine image for final build FROM...

Docker NodeJS [email protected] - How do fix Failed to launch chrome! issue

Without setting PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true and CHROMIUM_PATH /usr/bin/chromium-browser Without chromium package Error for printPdf() Error: Failed to launch chrome! spawn...

gitlab/codeceptjs tests were working fine yesterday now they can't even start

months ago I made some tests on gitlab using codeceptjs/puppeteer. I was having 0 issues with the tests. this morning I woke up and every single test on every single app is failing before the apps...

Cannot launch puppeteer browser instance in docker image

I am using Node.js 10 I am trying to create a PDF with puppeteer. Here is the docker file FROM node:10-alpine RUN echo "http://dl-2.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories RUN...

How can we install google-chrome-stable on node 12(alpine )image using dockerfile?

In Node 8 below is the corresponding Docker file FROM node:8-slim RUN apt-get update && apt-get install -yq libgconf-2-4 # Install latest chrome dev package and fonts to support major charsets...

Node.js + Puppeteer on Docker, No usable sandbox

i'm building a node.js LTS application. I followed puppeteer documentation, so my Dockerfile has this content: FROM node:12.18.0 WORKDIR /home/node/app ADD package*.json ./ # Install latest...

net::ERR_ADDRESS_UNREACHABLE at {URL}

i am using puppeteer v1.19.0 in nodejs , is error unreachable after build and run in docker, is js file await puppeteer.launch({ executablePath: '/usr/bin/chromium-browser', ...

codeceptjs tests 'before each' hook error fails to launch chrome. tests were working fine a week ago

I asked this question several months ago here but the solution was obviously not helpful because here I am again with the exact same problem. in that link I was told to change my image from...

Running headless Chrome with webgl and Nvidia GPU inside a container

I'm trying to run headless chrome inside a docker container with the webgl support and the hardware acceleration. I have a Nvidia graphic card and if I test of the drivers with the command...

Using puppeteer-extra with stealth mode in docker

Trying to use puppeteer-extra and puppeteer-extra-plugin-stealth in docker. When I use the recommended puppeteer Dockerfile I get the errors UnhandledPromiseRejectionWarning: Error: Failed to...

Puppeteer/Chromium proxy ERR_TUNNEL_CONNECTION_FAILED

I want to use puppeteer inside docker but got an error with the https version of any websites My dockerfile: FROM node:14.8.0-slim ENV http_proxy http://10.156.10.155:3128 ENV https_proxy...

Chromium inside docker image on Google Cloud Run

I'm trying to have a docker container running on google cloud run, which is containing a simple nodejs app and google chromium headless to create a PDF from HTML source. Unfortunately, Google...

Issue when trying to run Webdriver IO (end to end) tests in a Gitlab CI pipeline runner using a docker image

This is my first time posting in this plateform so if my request lacks informations let me know so I can provide them. I'm trying to run my end to end tests using Webdriver IO, I've been running...

How to run a Puppeteer App/Script on a docker instance?

My goal is to have a Puppeteer Application deployed onto opeNode cloud hosting platform. The puppeteer application is to run once a day, using a scheduling system which they seem to provide, my...

Dockerfile with nextjs and puppteer permission denied

I've been struggling for months on this. I don't understand why I run into this permission issues. I'm on Centos7 and it works on my local machine, but when I try and deploy to server I get this...

Failed to launch the browser process using Penthouse + Cloud Run

I'm ocassionally getting this error when using Penthouse with Cloud Run: [1031/055417.851741:ERROR:address_tracker_linux.cc(201)] Could not bind NETLINK socket: Permission denied (13)...

Running Headless Chrome Puppeteer and Xfvb in a Node.js Docker Container, trouble running image

Im trying to run a Puppeteer script in a docker container with Xfvb so that I can run headless: false on my production app, which is the only way my script will get the required output from the...

Deploying a Dockerized node app onto Heroku and using Xvfb with puppeteer, cannot launch browser

Puppeteer version: 5.5 Platform / OS version: Docker container deployed on Heroku Node.js version: latest I have set up puppeteer scripts that live in a docker container, so that they can be run...

How to install cursive fonts for matplotlib: Font family ['cursive'] not found

When trying to run a script (given below in the minimal working example) on Ubuntu 20.04 that uses the cursive fonts in matplotlib I am getting the matplotlib warnings: findfont: Font family...

How to resolve “Target closed” error using nodeJS and Puppeteer in docker container?

i am trying to generate pdf file using puppeteer which is being setup inside docker. however i keep getting error Error in pdf ::---> Error: Protocol error (Page.navigate): Target closed. at...

Puppeteer Error: error while loading shared libraries: libgobject-2.0.so.0

I have a NestJS App deployed on Google Cloud Run which is using puppeteer (V7.0.1) to generate a PDF. Locally, everything is working absolutely fine, but on my Cloud Run Service I keep getting the...

Intermittent DNS lookup failure in Docker containers

I have a Node.js app running in a docker container set up using the following (simplified) Docker Compose configuration: x-restart-policy: &restart_policy restart:...

Library wkhtmltopdf is not working inside Docker

I have a code in Python Flask where I generate pdf files using an HTML template. The code works just fine when I run it alone, but when I try to run it inside a Docker container, as soon as I call...

AWS Lambda Alpine Python Container shows IMAGE Launch error exec format error

I am writing a Lambda function to convert an excel file to PDF using unoconv with libreoffice, for this I am using alpine base image. The Dockerfile is as follows. # Define global args ARG...

docker-compose: failed to solve: rpc error: code = Unknown desc = failed to compute cache key

When I run my dockerfile with docker build and docker run, it's working great. But when I create a docker-compose.yml file to connect mongoDB I got an Error. ERROR: failed to solve: rpc error:...

Docker Error: EACCES: permission denied, mkdir

I try to install and create user for Puppeteer in my docker container. But I got an ERROR about user permission for mkdir. Here is my Dockerfile: FROM node:14-alpine AS builder WORKDIR /app COPY...