<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Page.printToPDF timed out. Increase the &#x27;protocolTimeout&#x27; setting in launch&#x2F;connect calls for a higher timeout if needed.]]></title><description><![CDATA[<p>I have a very large PDF using chrome-pdf that renders around 750 pages and I am getting the error after 195,965ms.</p>
<p>Here is my relevant docker variables:</p>
<pre><code>      environment:
         - trustUserCode=true
         - reportTimeout=600000
         - workers_numberOfWorkers=10
         - blobStorage_provider=aws-s3-storage
         - extensions_awsS3Storage_accessKeyId=accessKey
         - extensions_awsS3Storage_secretAccessKey=secret
         - extensions_awsS3Storage_bucket=bucket
         - extensions_fs-store_persistence_provider=aws-s3
         - extensions_fs-store-aws-s3-persistence_bucket=bucket
         - extensions_fs-store-aws-s3-persistence_accessKeyId=accessKey
         - extensions_fs-store-aws-s3-persistence_secretAccessKey=secret
</code></pre>
<p>Error in jsReport:</p>
<pre><code>Page.printToPDF timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
ProtocolError: Page.printToPDF timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
    at new Callback (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:62:35)
    at CallbackRegistry.create (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:108:26)
    at Connection._rawSend (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:224:26)
    at CDPSessionImpl.send (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:433:78)
    at CDPPage.createPDFStream (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:738:88)
    at CDPPage.pdf (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:771:37)
    at /app/node_modules/@jsreport/jsreport-chrome-pdf/lib/conversion.js:391:27
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /app/node_modules/@jsreport/jsreport-chrome-pdf/lib/conversion.js:432:22
</code></pre>
]]></description><link>https://forum.jsreport.net/topic/2894/page-printtopdf-timed-out-increase-the-protocoltimeout-setting-in-launch-connect-calls-for-a-higher-timeout-if-needed</link><generator>RSS for Node</generator><lastBuildDate>Fri, 07 Aug 2026 21:21:23 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2894.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Aug 2023 22:26:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Page.printToPDF timed out. Increase the &#x27;protocolTimeout&#x27; setting in launch&#x2F;connect calls for a higher timeout if needed. on Invalid Date]]></title><description><![CDATA[<p>I have a very large PDF using chrome-pdf that renders around 750 pages and I am getting the error after 195,965ms.</p>
<p>Here is my relevant docker variables:</p>
<pre><code>      environment:
         - trustUserCode=true
         - reportTimeout=600000
         - workers_numberOfWorkers=10
         - blobStorage_provider=aws-s3-storage
         - extensions_awsS3Storage_accessKeyId=accessKey
         - extensions_awsS3Storage_secretAccessKey=secret
         - extensions_awsS3Storage_bucket=bucket
         - extensions_fs-store_persistence_provider=aws-s3
         - extensions_fs-store-aws-s3-persistence_bucket=bucket
         - extensions_fs-store-aws-s3-persistence_accessKeyId=accessKey
         - extensions_fs-store-aws-s3-persistence_secretAccessKey=secret
</code></pre>
<p>Error in jsReport:</p>
<pre><code>Page.printToPDF timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
ProtocolError: Page.printToPDF timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
    at new Callback (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:62:35)
    at CallbackRegistry.create (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:108:26)
    at Connection._rawSend (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:224:26)
    at CDPSessionImpl.send (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:433:78)
    at CDPPage.createPDFStream (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:738:88)
    at CDPPage.pdf (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Page.js:771:37)
    at /app/node_modules/@jsreport/jsreport-chrome-pdf/lib/conversion.js:391:27
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /app/node_modules/@jsreport/jsreport-chrome-pdf/lib/conversion.js:432:22
</code></pre>
]]></description><link>https://forum.jsreport.net/post/12513</link><guid isPermaLink="true">https://forum.jsreport.net/post/12513</guid><dc:creator><![CDATA[TantumLabs]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Page.printToPDF timed out. Increase the &#x27;protocolTimeout&#x27; setting in launch&#x2F;connect calls for a higher timeout if needed. on Invalid Date]]></title><description><![CDATA[<p>Please try the following config</p>
<pre><code>chrome_launchOptions_protocolTimeout=600000
</code></pre>
]]></description><link>https://forum.jsreport.net/post/12517</link><guid isPermaLink="true">https://forum.jsreport.net/post/12517</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Page.printToPDF timed out. Increase the &#x27;protocolTimeout&#x27; setting in launch&#x2F;connect calls for a higher timeout if needed. on Invalid Date]]></title><description><![CDATA[<p>That worked thanks. It is now getting to 600000ms before timing out so I need to look at the template and see where I can optimize it.</p>
]]></description><link>https://forum.jsreport.net/post/12521</link><guid isPermaLink="true">https://forum.jsreport.net/post/12521</guid><dc:creator><![CDATA[TantumLabs]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>