<?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[Timeout Issue When Generating Large PDFs (On-Premise, Enterprise License)]]></title><description><![CDATA[<p>Hello everyone,</p>
<p>We are experiencing a timeout issue when trying to generate a multi-page document using jsreport. No matter what configuration we set, the process fails after <strong>30 seconds</strong> with a timeout error.</p>
<p>From the logs, it appears to be a <strong>timeout related to the template rendering</strong>. Here is a screenshot of the error message:<br />
<img src="/uploads/files/1739368710566-upload-5d7d892f-4399-452d-9227-c424602a2f16-resized.png" alt="0_1739368708833_upload-5d7d892f-4399-452d-9227-c424602a2f16" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1739368732475-upload-17123355-edb6-4b02-9078-83a6a9c73375-resized.png" alt="0_1739368731429_upload-17123355-edb6-4b02-9078-83a6a9c73375" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1739368860457-upload-4122284c-6e75-48fc-aa84-d42c70e16148-resized.png" alt="0_1739368859319_upload-4122284c-6e75-48fc-aa84-d42c70e16148" class="img-responsive img-markdown" /></p>
<p>We are running an <strong>on-premise</strong> instance with an <strong>enterprise license</strong> using the following setup:</p>
<ul>
<li>Image: jsreport/jsreport:4.0.0-full</li>
<li>Configuration:</li>
</ul>
<pre><code class="language-json">{
	&quot;trustUserCode&quot;: true,
	&quot;allowLocalFilesAccess&quot;: true,
	&quot;reportTimeout&quot;: 180000,
	&quot;enableRequestReportTimeout&quot;: false,
	&quot;store&quot;: {
		&quot;provider&quot;: &quot;fs&quot;
	},
	&quot;extensions&quot;: {
		&quot;chrome-pdf&quot;: {
			&quot;timeout&quot;: 180000
		},
		&quot;scripts&quot;: {
			&quot;timeout&quot;: 180000
		},
		&quot;fs-store&quot;: {
			&quot;syncModifications&quot;: {
				&quot;updateStudio&quot;: true
			}
		}
	},
	&quot;chrome&quot;: {
		&quot;timeout&quot;: 180000
	},
	&quot;workers&quot;: {
		&quot;numberOfWorkers&quot;: 3
	}
}
</code></pre>
<p>Despite setting the timeouts to <strong>180 seconds</strong>, the process still fails at the <strong>30-second mark</strong>.</p>
<p>Has anyone encountered a similar issue? Could there be additional settings affecting the template execution timeout?</p>
<p>Thanks in advance for any help!</p>
]]></description><link>https://forum.jsreport.net/topic/3400/timeout-issue-when-generating-large-pdfs-on-premise-enterprise-license</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 00:20:41 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/3400.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Feb 2025 14:04:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Timeout Issue When Generating Large PDFs (On-Premise, Enterprise License) on Invalid Date]]></title><description><![CDATA[<p>Hello everyone,</p>
<p>We are experiencing a timeout issue when trying to generate a multi-page document using jsreport. No matter what configuration we set, the process fails after <strong>30 seconds</strong> with a timeout error.</p>
<p>From the logs, it appears to be a <strong>timeout related to the template rendering</strong>. Here is a screenshot of the error message:<br />
<img src="/uploads/files/1739368710566-upload-5d7d892f-4399-452d-9227-c424602a2f16-resized.png" alt="0_1739368708833_upload-5d7d892f-4399-452d-9227-c424602a2f16" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1739368732475-upload-17123355-edb6-4b02-9078-83a6a9c73375-resized.png" alt="0_1739368731429_upload-17123355-edb6-4b02-9078-83a6a9c73375" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1739368860457-upload-4122284c-6e75-48fc-aa84-d42c70e16148-resized.png" alt="0_1739368859319_upload-4122284c-6e75-48fc-aa84-d42c70e16148" class="img-responsive img-markdown" /></p>
<p>We are running an <strong>on-premise</strong> instance with an <strong>enterprise license</strong> using the following setup:</p>
<ul>
<li>Image: jsreport/jsreport:4.0.0-full</li>
<li>Configuration:</li>
</ul>
<pre><code class="language-json">{
	&quot;trustUserCode&quot;: true,
	&quot;allowLocalFilesAccess&quot;: true,
	&quot;reportTimeout&quot;: 180000,
	&quot;enableRequestReportTimeout&quot;: false,
	&quot;store&quot;: {
		&quot;provider&quot;: &quot;fs&quot;
	},
	&quot;extensions&quot;: {
		&quot;chrome-pdf&quot;: {
			&quot;timeout&quot;: 180000
		},
		&quot;scripts&quot;: {
			&quot;timeout&quot;: 180000
		},
		&quot;fs-store&quot;: {
			&quot;syncModifications&quot;: {
				&quot;updateStudio&quot;: true
			}
		}
	},
	&quot;chrome&quot;: {
		&quot;timeout&quot;: 180000
	},
	&quot;workers&quot;: {
		&quot;numberOfWorkers&quot;: 3
	}
}
</code></pre>
<p>Despite setting the timeouts to <strong>180 seconds</strong>, the process still fails at the <strong>30-second mark</strong>.</p>
<p>Has anyone encountered a similar issue? Could there be additional settings affecting the template execution timeout?</p>
<p>Thanks in advance for any help!</p>
]]></description><link>https://forum.jsreport.net/post/14375</link><guid isPermaLink="true">https://forum.jsreport.net/post/14375</guid><dc:creator><![CDATA[wahrheit]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Timeout Issue When Generating Large PDFs (On-Premise, Enterprise License) on Invalid Date]]></title><description><![CDATA[<p>It could be a problem with your client call. How do you make the API request? Don't you need to add a timeout config there?</p>
]]></description><link>https://forum.jsreport.net/post/14376</link><guid isPermaLink="true">https://forum.jsreport.net/post/14376</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Timeout Issue When Generating Large PDFs (On-Premise, Enterprise License) on Invalid Date]]></title><description><![CDATA[<p>Hi! Thanks for getting back to me!</p>
<p>I've checked multiple times, and we're using Axios with the default timeout set to 0, so there’s no timeout configured on our end. However, it looks like <strong>reportTimeout</strong> doesn’t seem to affect chrome-pdf's timeout.</p>
<p>Do you have any suggestions on how to fix this? I'd really appreciate any insights!</p>
]]></description><link>https://forum.jsreport.net/post/14377</link><guid isPermaLink="true">https://forum.jsreport.net/post/14377</guid><dc:creator><![CDATA[wahrheit]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Timeout Issue When Generating Large PDFs (On-Premise, Enterprise License) on Invalid Date]]></title><description><![CDATA[<p>What if you run the same request in the browser/studio? Does that timeout after 30s as well?</p>
<p>Don't you have on the way to jsreport some kind of proxy/load balancer/web server that could have the 30s timeout ?</p>
<p>Can you try the same with the latest jsreport 4.7.0?</p>
]]></description><link>https://forum.jsreport.net/post/14378</link><guid isPermaLink="true">https://forum.jsreport.net/post/14378</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Timeout Issue When Generating Large PDFs (On-Premise, Enterprise License) on Invalid Date]]></title><description><![CDATA[<p>Hi! sorry for the delay in replying.</p>
<p>Unfortunately we are still stuck with this issue...</p>
<p><strong>What if you run the same request in the browser/studio? Does that timeout after 30s as well?</strong></p>
<p>We tried and we have the same error here too; after 30 seconds the pdf generation breaks.</p>
<p><strong>Don't you have on the way to jsreport some kind of proxy/load balancer/web server that could have the 30s timeout ?</strong></p>
<p>Nope. We double checked and there is nothing that times out to 30s.</p>
<p><strong>Can you try the same with the latest jsreport 4.7.0?</strong></p>
<p>We tried with version 480 and the error remains the same.</p>
]]></description><link>https://forum.jsreport.net/post/14460</link><guid isPermaLink="true">https://forum.jsreport.net/post/14460</guid><dc:creator><![CDATA[wahrheit]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Timeout Issue When Generating Large PDFs (On-Premise, Enterprise License) on Invalid Date]]></title><description><![CDATA[<p>Hm, I still think there must be some kind of network infrastructure that interrupts the request when it doesn't send a response in 30s....</p>
<p>What if you try a template that waits 40s, like a template with this in the helpers</p>
<pre><code>await new Promise((resolve) =&gt; setTimeout(resolve, 40000)
</code></pre>
<p>Does that fail on the same error?</p>
<p>If yes, then can you try to install jsreport on your local and try to render it locally, does that fail as well?</p>
]]></description><link>https://forum.jsreport.net/post/14461</link><guid isPermaLink="true">https://forum.jsreport.net/post/14461</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>