<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HANA XSA, Error 413 request entity too large XSJS module in NodeJS? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hana-xsa-error-413-request-entity-too-large-xsjs-module-in-nodejs/m-p/763746#M37249</link>
    <description>&lt;P&gt;Did anyone find a solution for such issue&lt;/P&gt;</description>
    <pubDate>Wed, 18 Aug 2021 15:26:43 GMT</pubDate>
    <dc:creator>former_member262650</dc:creator>
    <dc:date>2021-08-18T15:26:43Z</dc:date>
    <item>
      <title>HANA XSA, Error 413 request entity too large XSJS module in NodeJS?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hana-xsa-error-413-request-entity-too-large-xsjs-module-in-nodejs/m-p/763744#M37247</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I am using nodeJS application on HANA Platform with XSJS compatibility. Everything is fine but I want to set http request body size limit. I found "express" node module to set this value. However, if I use my own express instance in server.js, I have to bind application to server also. Therefore, I need to develop same codes in XSJS node mule in node_modules. I think, should pass the related option variables to XSJS node module but I did not find it. &lt;/P&gt;
  &lt;P&gt;I debug the standard node modules, SAP has developed middleware.js in xsjs lib node module. In "middleware.js" 95. line, there is hard-coded limit which is 1mb.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;var options = {
    limit: '1mb',
    type: function() { return true; }
  };
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I think this code should be built by sap standard codes. I tried to change xsengine.ini configuration from HANA DB configurations. However, it did not work.&lt;/P&gt;
  &lt;P&gt;When I overwrite middleware.js file(I changed the file manually), it is overwritten by SAP when I started the application. It is also not worked.&lt;/P&gt;
  &lt;P&gt;So, what is the solution of the problem? It should be simple way to set this property.&lt;/P&gt;
  &lt;P&gt;When I use my custom nodeJS server without standard XSJS node module, everything is fine. However, it must be also possible to send related property with some variables or .json files.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 11:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hana-xsa-error-413-request-entity-too-large-xsjs-module-in-nodejs/m-p/763744#M37247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-02-11T11:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: HANA XSA, Error 413 request entity too large XSJS module in NodeJS?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hana-xsa-error-413-request-entity-too-large-xsjs-module-in-nodejs/m-p/763745#M37248</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;xbarslan&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Could you resolve this issue? Am having a similar problem, can you please share if there is a resolution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudarshan &lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 10:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hana-xsa-error-413-request-entity-too-large-xsjs-module-in-nodejs/m-p/763745#M37248</guid>
      <dc:creator>ssurvepalli</dc:creator>
      <dc:date>2021-05-17T10:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: HANA XSA, Error 413 request entity too large XSJS module in NodeJS?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hana-xsa-error-413-request-entity-too-large-xsjs-module-in-nodejs/m-p/763746#M37249</link>
      <description>&lt;P&gt;Did anyone find a solution for such issue&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 15:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hana-xsa-error-413-request-entity-too-large-xsjs-module-in-nodejs/m-p/763746#M37249</guid>
      <dc:creator>former_member262650</dc:creator>
      <dc:date>2021-08-18T15:26:43Z</dc:date>
    </item>
  </channel>
</rss>

