<?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[Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed.]]></title><description><![CDATA[<p>ERROR: 11/10/2022 13:37:41 UserId - ADVICON  Error in Getting Report DataException message- Error rendering report: Error: socket hang up    at connResetException (internal/errors.js:604:14)    at Socket.socketOnEnd (_http_client.js:460:23)    at Socket.emit (events.js:323:22)    at endReadableNT (_stream_readable.js:1204:12)    at processTicksAndRejections (internal/process/task_queues.js:84:21)Error:    at connResetException (internal/errors.js:604:14)    at Socket.socketOnEnd (_http_client.js:460:23)    at Socket.emit (events.js:323:22)    at endReadableNT (_stream_readable.js:1204:12)    at processTicksAndRejections (internal/process/task_queues.js:84:21) Exception Source - jsreport.Local Exception StackTrace -    at jsreport.Local.Internal.LocalUtilityReportingService.RenderAsync(String requestString, CancellationToken ct)</p>
<p>Json file -</p>
<pre><code>{
  &quot;httpPort&quot;: 3000,
  &quot;store&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
  &quot;blobStorage&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
  &quot;logger&quot;: {
    &quot;console&quot;: {
      &quot;transport&quot;: &quot;console&quot;,
      &quot;level&quot;: &quot;debug&quot;
    },
    &quot;file&quot;: {
      &quot;transport&quot;: &quot;file&quot;,
      &quot;level&quot;: &quot;info&quot;,
      &quot;filename&quot;: &quot;logs/reporter.log&quot;
    },
    &quot;error&quot;: {
      &quot;transport&quot;: &quot;file&quot;,
      &quot;level&quot;: &quot;error&quot;,
      &quot;filename&quot;: &quot;logs/error.log&quot;
    }
  },
  &quot;trustUserCode&quot;: false,
  &quot;reportTimeout&quot;: 60000,
  &quot;workers&quot;: {
    &quot;numberOfWorkers&quot;: 2
  },
  &quot;extensions&quot;: {
    &quot;authentication&quot;: {
      &quot;cookieSession&quot;: {},
      &quot;admin&quot;: {
        &quot;username&quot;: &quot;admin&quot;,
        &quot;password&quot;: &quot;password&quot;
      },
      &quot;enabled&quot;: false
    }
  }
}
</code></pre>
<p>Current error: Error rendering report: instance has been daemonized and initialized successfully (pid: 23358)rendering has finished with errors:A critical error occurred while trying to execute the render command (2). Error while executing request to remote server. socket hang up</p>
<p>need solution on this asap.</p>
]]></description><link>https://forum.jsreport.net/topic/2624/please-help-to-resolve-this-error-while-rendering-jsreport-for-bulk-data-getting-error-gateway-timeout-need-info-about-config-json-what-exactly-needed</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 03:15:56 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2624.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Nov 2022 07:56:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Mon, 14 Nov 2022 10:39:56 GMT]]></title><description><![CDATA[<p>ERROR: 11/10/2022 13:37:41 UserId - ADVICON  Error in Getting Report DataException message- Error rendering report: Error: socket hang up    at connResetException (internal/errors.js:604:14)    at Socket.socketOnEnd (_http_client.js:460:23)    at Socket.emit (events.js:323:22)    at endReadableNT (_stream_readable.js:1204:12)    at processTicksAndRejections (internal/process/task_queues.js:84:21)Error:    at connResetException (internal/errors.js:604:14)    at Socket.socketOnEnd (_http_client.js:460:23)    at Socket.emit (events.js:323:22)    at endReadableNT (_stream_readable.js:1204:12)    at processTicksAndRejections (internal/process/task_queues.js:84:21) Exception Source - jsreport.Local Exception StackTrace -    at jsreport.Local.Internal.LocalUtilityReportingService.RenderAsync(String requestString, CancellationToken ct)</p>
<p>Json file -</p>
<pre><code>{
  &quot;httpPort&quot;: 3000,
  &quot;store&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
  &quot;blobStorage&quot;: {
    &quot;provider&quot;: &quot;fs&quot;
  },
  &quot;logger&quot;: {
    &quot;console&quot;: {
      &quot;transport&quot;: &quot;console&quot;,
      &quot;level&quot;: &quot;debug&quot;
    },
    &quot;file&quot;: {
      &quot;transport&quot;: &quot;file&quot;,
      &quot;level&quot;: &quot;info&quot;,
      &quot;filename&quot;: &quot;logs/reporter.log&quot;
    },
    &quot;error&quot;: {
      &quot;transport&quot;: &quot;file&quot;,
      &quot;level&quot;: &quot;error&quot;,
      &quot;filename&quot;: &quot;logs/error.log&quot;
    }
  },
  &quot;trustUserCode&quot;: false,
  &quot;reportTimeout&quot;: 60000,
  &quot;workers&quot;: {
    &quot;numberOfWorkers&quot;: 2
  },
  &quot;extensions&quot;: {
    &quot;authentication&quot;: {
      &quot;cookieSession&quot;: {},
      &quot;admin&quot;: {
        &quot;username&quot;: &quot;admin&quot;,
        &quot;password&quot;: &quot;password&quot;
      },
      &quot;enabled&quot;: false
    }
  }
}
</code></pre>
<p>Current error: Error rendering report: instance has been daemonized and initialized successfully (pid: 23358)rendering has finished with errors:A critical error occurred while trying to execute the render command (2). Error while executing request to remote server. socket hang up</p>
<p>need solution on this asap.</p>
]]></description><link>https://forum.jsreport.net/post/11363</link><guid isPermaLink="true">https://forum.jsreport.net/post/11363</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 14 Nov 2022 10:39:56 GMT</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Invalid Date]]></title><description><![CDATA[<p>The process likely unexpectedly failed.<br />
Would you be able to replicate it for us? In a minimal sample repo?<br />
Is this failing deterministically for the same template/data? If yes, could you provide it?</p>
]]></description><link>https://forum.jsreport.net/post/11372</link><guid isPermaLink="true">https://forum.jsreport.net/post/11372</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Invalid Date]]></title><description><![CDATA[<p>Currently I am using just one template, and that is throwing this error.<br />
This error is occurring on one of my staging server (Adding the logs/details below).<br />
The application is deployed on Kubernetes.</p>
<p><strong>My Startup.cs code:</strong></p>
<p>services.AddJsReport(new LocalReporting()<br />
.UseBinary(RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ?<br />
jsreport.Binary.JsReportBinary.GetBinary() :<br />
jsreport.Binary.Linux.JsReportBinary.GetBinary())<br />
.KillRunningJsReportProcesses()<br />
.RunInDirectory(_reportPath)<br />
.TempDirectory(_tempPath)<br />
.Configure(cfg =&gt;<br />
{<br />
cfg.Chrome = new ChromeConfiguration()<br />
{<br />
Timeout = 2400000<br />
};<br />
cfg.TemplatingEngines = new TemplatingEnginesConfiguration()<br />
{<br />
Timeout = 2400000<br />
};<br />
cfg.Extensions = new ExtensionsConfiguration()<br />
{<br />
Phantom = new PhantomConfiguration()<br />
{<br />
Timeout = 2400000<br />
},<br />
Express = new ExpressConfiguration<br />
{<br />
InputRequestLimit = &quot;500mb&quot;<br />
},<br />
Scripts = new ScriptsConfiguration()<br />
{<br />
Timeout = 2400000<br />
}<br />
};<br />
cfg.Logger = new LoggerConfiguration() { Transport = new LoggerTransportConfiguration() { Transport = &quot;console&quot;, Level = &quot;debug&quot; } };<br />
cfg.AllowedLocalFilesAccess();<br />
cfg.FileSystemStore();<br />
cfg.EnableRequestReportTimeout = true;<br />
return cfg;<br />
})<br />
.AsUtility()<br />
.Create());</p>
<p><strong>Method where I am generating report:</strong><br />
Environment.SetEnvironmentVariable(&quot;chrome_strategy&quot;, &quot;chrome-pool&quot;);<br />
Environment.SetEnvironmentVariable(&quot;chrome_numberOfWorkers&quot;, &quot;2&quot;);<br />
Environment.SetEnvironmentVariable(&quot;extensions_express_renderTimeout&quot;, &quot;2400000&quot;);</p>
<p>var report = await _jsReportMVCService.RenderByNameAsync(&quot;returnTemplate&quot;, reportData);</p>
<p><strong>Error Log:</strong><br />
Error rendering report: instance has been daemonized and initialized successfully (pid: 23358)rendering has finished with errors:A critical error occurred while trying to execute the render command (2). Error while executing request to remote server. socket hang up (1). caused by error (2):-&gt; stackError: at onCriticalError (/snapshot/jsreport/node_modules/jsreport-cli/lib/commands/render.js:302:19) at /snapshot/jsreport/node_modules/jsreport-cli/lib/commands/render.js:256:14 at processTicksAndRejections (internal/process/task_queues.js:97:5)caused by error (1):-&gt; meta = {&quot;config&quot;:{&quot;url&quot;:<a href="http://localhost:3000/api/report,%22method%22:%22post%22,%22data%22:%22" rel="nofollow">http://localhost:3000/api/report,&quot;method&quot;:&quot;post&quot;,&quot;data&quot;:&quot;</a>&lt;&lt;data omitted&gt;&gt;&quot;,&quot;headers&quot;:{&quot;Accept&quot;:&quot;application/json, text/plain, <em>/</em>&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;,&quot;User-Agent&quot;:&quot;axios/0.19.2&quot;,&quot;Content-Length&quot;:9227},&quot;auth&quot;:{&quot;username&quot;:&quot;XXXXXX&quot;,&quot;password&quot;:&quot;XXXXX&quot;},&quot;transformRequest&quot;:[null],&quot;transformResponse&quot;:[null],&quot;timeout&quot;:0,&quot;responseType&quot;:&quot;stream&quot;,&quot;xsrfCookieName&quot;:&quot;XSRF-TOKEN&quot;,&quot;xsrfHeaderName&quot;:&quot;X-XSRF-TOKEN&quot;,&quot;maxContentLength&quot;:null,&quot;httpsAgent&quot;:{&quot;_events&quot;:{},&quot;_eventsCount&quot;:2,&quot;defaultPort&quot;:443,&quot;protocol&quot;:&quot;https:&quot;,&quot;options&quot;:{&quot;rejectUnauthorized&quot;:false,&quot;path&quot;:null},&quot;requests&quot;:{},&quot;sockets&quot;:{},&quot;freeSockets&quot;:{},&quot;keepAliveMsecs&quot;:1000,&quot;keepAlive&quot;:false,&quot;maxSockets&quot;:null,&quot;maxFreeSockets&quot;:256,&quot;maxCachedSessions&quot;:100,&quot;_sessionCache&quot;:{&quot;map&quot;:{},&quot;list&quot;:[]}},&quot;maxBodyLength&quot;:null},&quot;code&quot;:&quot;ECONNRESET&quot;}-&gt; stackError: Error while executing request to remote server at Client.render (/snapshot/jsreport/node_modules/jsreport-client/lib/client.js) at processTicksAndRejections (internal/process/task_queues.js:97:5)Request Error stack: Error: socket hang up at connResetException (internal/errors.js:604:14) at Socket.socketOnEnd (_http_client.js:460:23) at Socket.emit (events.js:323:22) at endReadableNT (_stream_readable.js:1204:12) at processTicksAndRejections (internal/process/task_queues.js:84:21)</p>
]]></description><link>https://forum.jsreport.net/post/11382</link><guid isPermaLink="true">https://forum.jsreport.net/post/11382</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Invalid Date]]></title><description><![CDATA[<p>Does the same fail for you on local?<br />
Are you able to share the template you are rendering?</p>
]]></description><link>https://forum.jsreport.net/post/11383</link><guid isPermaLink="true">https://forum.jsreport.net/post/11383</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Invalid Date]]></title><description><![CDATA[<p>I tried on local dev machine (IIS express, IIS and docker) it is working fine. Also checked on a windows server IIS, it worked smoothly on it as well.</p>
<p>On Kubernetes (linux containers), I have 2 identical instances with similar config (but different network/domain).<br />
It is working fine on one of it, while this error is generated on the other instance.<br />
I checked the 3000 port and it is also not blocked.</p>
<p>Unfortunately, I am not able to share the template at the moment.</p>
]]></description><link>https://forum.jsreport.net/post/11384</link><guid isPermaLink="true">https://forum.jsreport.net/post/11384</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Invalid Date]]></title><description><![CDATA[<p>It could be killed with OOM. Check on that using <code>dmesg</code> or another way you are familiar with.</p>
]]></description><link>https://forum.jsreport.net/post/11385</link><guid isPermaLink="true">https://forum.jsreport.net/post/11385</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Tue, 22 Nov 2022 05:57:25 GMT]]></title><description><![CDATA[<p>OOM is not the case here. I have already tried with double the size of memory which I was using for the other working instance. Then tried with max memory as well.</p>
]]></description><link>https://forum.jsreport.net/post/11386</link><guid isPermaLink="true">https://forum.jsreport.net/post/11386</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Tue, 22 Nov 2022 05:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Invalid Date]]></title><description><![CDATA[<p>any suggestion?</p>
]]></description><link>https://forum.jsreport.net/post/11399</link><guid isPermaLink="true">https://forum.jsreport.net/post/11399</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Invalid Date]]></title><description><![CDATA[<p>Could you try to turn off the keepAlive?<br />
<a href="https://jsreport.net/learn/dotnet-local#jsreport-background-process" rel="nofollow">https://jsreport.net/learn/dotnet-local#jsreport-background-process</a></p>
<pre><code>AsUtility().KeepAlive(false)
</code></pre>
]]></description><link>https://forum.jsreport.net/post/11400</link><guid isPermaLink="true">https://forum.jsreport.net/post/11400</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Thu, 24 Nov 2022 08:44:27 GMT]]></title><description><![CDATA[<p>New Error - Error rendering report: instance has been daemonized and initialized successfully rendering has finished with errors:A critical error occurred while trying to execute the render command .  or <strong>user doesnt have permissions to read it</strong>:</p>
]]></description><link>https://forum.jsreport.net/post/11420</link><guid isPermaLink="true">https://forum.jsreport.net/post/11420</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Thu, 24 Nov 2022 08:44:27 GMT</pubDate></item><item><title><![CDATA[Reply to Please help to resolve this error while rendering jsreport for bulk data getting error gateway timeout    (Need info about Config.json) what exactly needed. on Invalid Date]]></title><description><![CDATA[<p>Please try to clean the <code>_tempPath</code> you use and restart the app.</p>
]]></description><link>https://forum.jsreport.net/post/11422</link><guid isPermaLink="true">https://forum.jsreport.net/post/11422</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>