intermittent rendering issue Page.printToPDF

  • Hello

    I have an intermittent issue with rendering reports, I'm seeing the following exception when attempting to render a PDF., However, on subsequent attempts, it renders just fine.

    I'm using the latest version of jsreport version 2.5.0 docker container + chrome engine.

    2019-08-27T01:07:27.380Z - error: Error when processing render request Protocol error (Page.printToPDF): Target closed. Error: Protocol error (Page.printToPDF): Target closed.
        at /app/node_modules/puppeteer/lib/Connection.js:183:56
        at new Promise (<anonymous>)
        at CDPSession.send (/app/node_modules/puppeteer/lib/Connection.js:182:12)
        at Page.pdf (/app/node_modules/puppeteer/lib/Page.js:926:39)
        at Page.<anonymous> (/app/node_modules/puppeteer/lib/helper.js:111:23)
        at /app/node_modules/jsreport-chrome-pdf/lib/conversion.js:164:27
        at processTicksAndRejections (internal/process/task_queues.js:89:5)
        at async /app/node_modules/jsreport-chrome-pdf/lib/conversion.js:200:22
    2019-08-27T01:07:27.381Z - error: Error during processing request at


    It looks like some kind of bug in the chromium version used in the jsreport docker image 2.5.0
    We will see how it works when we update chromium in the 2.6.0.

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.