<?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[Error rendering report on Google App Engine]]></title><description><![CDATA[<p>Hello,<br />
I'm trying to publish <a href="https://github.com/jsreport/jsreport-dotnet-example-webapp" rel="nofollow">the example asp.net core web application</a> to Google App Engine.<br />
It works fine on local iis but not on GAE.</p>
<p>added Dockerfile and app.yaml:</p>
<p>Dockerfile</p>
<pre><code>FROM gcr.io/google-appengine/aspnetcore:2.0
COPY . /app
WORKDIR /app
EXPOSE 8080
ENV ASPNETCORE_URLS=http://*:8080
ENTRYPOINT [&quot;dotnet&quot;, &quot;WebApp.dll&quot;]
</code></pre>
<p>app.yaml</p>
<pre><code>runtime: custom
env: flex
</code></pre>
<p>installed jsreport.Binary.Linux package and changed Startup.cs:</p>
<pre><code>public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvc();
            services.AddJsReport(new LocalReporting().UseBinary(
                RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ?
                jsreport.Binary.Linux.JsReportBinary.GetBinary() :
                jsreport.Binary.JsReportBinary.GetBinary())
                .AsUtility().Create());
        }
</code></pre>
<p>going to the report page throws this error:<br />
jsreport.Local.JsReportBinaryException: Error rendering report: Error: An error occurred while trying to execute the command: at onCriticalError ([eval]:36106:25) at [eval]:36061:13 at tryCatcher ([eval]:9718:23) at Promise._settlePromiseFromHandler ([eval]:38241:31) at Promise._settlePromise ([eval]:38298:18) at Promise._settlePromise0 ([eval]:38343:10) at Promise._settlePromises ([eval]:38418:18) at Async._drainQueue ([eval]:4650:16) at Async._drainQueues ([eval]:4660:10) at Immediate.Async.drainQueues [as _onImmediate] ([eval]:4534:14) at processImmediate [as _immediateCallback] (timers.js:396:17) {&quot;originalError&quot;:{}}(Original) Error: An error occurred while trying to start daemonized process: An error has occurred when trying to initialize jsreport.. seems like there is already a server running in port: 8080 at null.&lt;anonymous&gt; ([eval]:37276:13) at listener ([eval]:13761:10) at EventEmitter.emit ([eval]:13849:22) at <em>onData ([eval]:85833:8) at Lazy.&lt;anonymous&gt; ([eval]:52268:13) at Lazy.&lt;anonymous&gt; ([eval]:52250:19) at emitTwo (events.js:87:13) at Lazy.emit (events.js:172:7) at Lazy.&lt;anonymous&gt; ([eval]:52251:22) at emitOne (events.js:77:13) at Lazy.emit (events.js:169:7) at yieldTo ([eval]:52358:18) at Function.&lt;anonymous&gt; ([eval]:52396:27) at Lazy.&lt;anonymous&gt; ([eval]:52364:21) at emitOne (events.js:77:13) at Lazy.emit (events.js:169:7) at Socket.&lt;anonymous&gt; ([eval]:52227:22) at emitNone (events.js:67:13) at Socket.emit (events.js:166:7) at emitReadable</em> (_stream_readable.js:419:10) at emitReadable (_stream_readable.js:413:7) at readableAddChunk (_stream_readable.js:164:13) {}<br />
at jsreport.Local.Internal.LocalUtilityReportingService.&lt;RenderAsync&gt;d__10.MoveNext</p>
<p>Please suggest me how to work it.<br />
thanks.</p>
]]></description><link>https://forum.jsreport.net/topic/406/error-rendering-report-on-google-app-engine</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 01:13:11 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/406.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Feb 2018 04:47:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error rendering report on Google App Engine on Invalid Date]]></title><description><![CDATA[<p>Hello,<br />
I'm trying to publish <a href="https://github.com/jsreport/jsreport-dotnet-example-webapp" rel="nofollow">the example asp.net core web application</a> to Google App Engine.<br />
It works fine on local iis but not on GAE.</p>
<p>added Dockerfile and app.yaml:</p>
<p>Dockerfile</p>
<pre><code>FROM gcr.io/google-appengine/aspnetcore:2.0
COPY . /app
WORKDIR /app
EXPOSE 8080
ENV ASPNETCORE_URLS=http://*:8080
ENTRYPOINT [&quot;dotnet&quot;, &quot;WebApp.dll&quot;]
</code></pre>
<p>app.yaml</p>
<pre><code>runtime: custom
env: flex
</code></pre>
<p>installed jsreport.Binary.Linux package and changed Startup.cs:</p>
<pre><code>public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvc();
            services.AddJsReport(new LocalReporting().UseBinary(
                RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ?
                jsreport.Binary.Linux.JsReportBinary.GetBinary() :
                jsreport.Binary.JsReportBinary.GetBinary())
                .AsUtility().Create());
        }
</code></pre>
<p>going to the report page throws this error:<br />
jsreport.Local.JsReportBinaryException: Error rendering report: Error: An error occurred while trying to execute the command: at onCriticalError ([eval]:36106:25) at [eval]:36061:13 at tryCatcher ([eval]:9718:23) at Promise._settlePromiseFromHandler ([eval]:38241:31) at Promise._settlePromise ([eval]:38298:18) at Promise._settlePromise0 ([eval]:38343:10) at Promise._settlePromises ([eval]:38418:18) at Async._drainQueue ([eval]:4650:16) at Async._drainQueues ([eval]:4660:10) at Immediate.Async.drainQueues [as _onImmediate] ([eval]:4534:14) at processImmediate [as _immediateCallback] (timers.js:396:17) {&quot;originalError&quot;:{}}(Original) Error: An error occurred while trying to start daemonized process: An error has occurred when trying to initialize jsreport.. seems like there is already a server running in port: 8080 at null.&lt;anonymous&gt; ([eval]:37276:13) at listener ([eval]:13761:10) at EventEmitter.emit ([eval]:13849:22) at <em>onData ([eval]:85833:8) at Lazy.&lt;anonymous&gt; ([eval]:52268:13) at Lazy.&lt;anonymous&gt; ([eval]:52250:19) at emitTwo (events.js:87:13) at Lazy.emit (events.js:172:7) at Lazy.&lt;anonymous&gt; ([eval]:52251:22) at emitOne (events.js:77:13) at Lazy.emit (events.js:169:7) at yieldTo ([eval]:52358:18) at Function.&lt;anonymous&gt; ([eval]:52396:27) at Lazy.&lt;anonymous&gt; ([eval]:52364:21) at emitOne (events.js:77:13) at Lazy.emit (events.js:169:7) at Socket.&lt;anonymous&gt; ([eval]:52227:22) at emitNone (events.js:67:13) at Socket.emit (events.js:166:7) at emitReadable</em> (_stream_readable.js:419:10) at emitReadable (_stream_readable.js:413:7) at readableAddChunk (_stream_readable.js:164:13) {}<br />
at jsreport.Local.Internal.LocalUtilityReportingService.&lt;RenderAsync&gt;d__10.MoveNext</p>
<p>Please suggest me how to work it.<br />
thanks.</p>
]]></description><link>https://forum.jsreport.net/post/1995</link><guid isPermaLink="true">https://forum.jsreport.net/post/1995</guid><dc:creator><![CDATA[sperwakako]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error rendering report on Google App Engine on Invalid Date]]></title><description><![CDATA[<p>I tried various ways, but it's still not working.<br />
In the case of running <a href="https://github.com/jsreport/jsreport-dotnet-example-webapp" rel="nofollow">it</a> with docker on linux, Is the dockerfile like this?</p>
<pre><code>FROM microsoft/aspnetcore:2.0
RUN apt-get update &amp;&amp; \   
    apt-get install -y libfontconfig1
WORKDIR /app
COPY . /app
EXPOSE 8080
ENV ASPNETCORE_URLS=http://*:8080
ENTRYPOINT [&quot;dotnet&quot;, &quot;WebApp.dll&quot;]
</code></pre>
]]></description><link>https://forum.jsreport.net/post/2091</link><guid isPermaLink="true">https://forum.jsreport.net/post/2091</guid><dc:creator><![CDATA[sperwakako]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error rendering report on Google App Engine on Mon, 26 Feb 2018 18:19:48 GMT]]></title><description><![CDATA[<p>about the error on Google App Engine we are now aware of it, thanks for reporting. the problem on Google App Engine is this <code>An error has occurred when trying to initialize jsreport.. seems like there is already a server running in port: 8080</code>, basically when running on Google App Engine somehow an env var called <code>PORT</code> is set to <code>8080</code>, jsreport has <a href="https://github.com/jsreport/jsreport-express/blob/master/lib/reporter.express.js#L35" rel="nofollow">some logic</a> that when the <code>PORT</code> env var is defined no matter what, it uses that value to bind the jsreport server on that port, so your asp .net core server and your jsreport server is trying to use the same port and that is the reason of the error. we don't have a workaround for this right now but you can keep track of the problem <a href="https://github.com/jsreport/jsreport/issues/386" rel="nofollow">here</a> and know when it is finally resolved.</p>
<blockquote>
<p>In the case of running it with docker on linux, Is the dockerfile like this?</p>
</blockquote>
<p>i don't have much experience with net core but in <a href="https://docs.docker.com/engine/examples/dotnetcore/#create-a-dockerfile-for-an-aspnet-core-application" rel="nofollow">this post</a> there are other steps involved in order to setup a good net core image for your app so maybe you can take a look at that and try to run it. after that it should work, as long as you are using the correct jsreport linux binary on your app.</p>
]]></description><link>https://forum.jsreport.net/post/2092</link><guid isPermaLink="true">https://forum.jsreport.net/post/2092</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Mon, 26 Feb 2018 18:19:48 GMT</pubDate></item><item><title><![CDATA[Reply to Error rendering report on Google App Engine on Invalid Date]]></title><description><![CDATA[<p>Thanks for the clear explanation, I understand.<br />
I hope that this problem is resolved.<br />
For now, I have confirmed that it works fine on Google Compute Engine(Linux VM) so I will use it.</p>
]]></description><link>https://forum.jsreport.net/post/2093</link><guid isPermaLink="true">https://forum.jsreport.net/post/2093</guid><dc:creator><![CDATA[sperwakako]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>